org.knopflerfish.service.desktop
public interface BundleSelectionModel
| Modifier and Type | Method and Description |
|---|---|
void |
addBundleSelectionListener(BundleSelectionListener l)
Add a BundleSelectionListener to the set of listeners
that gets notified at bundle selection changes.
|
void |
clearSelection()
Clear the entire selection and notify all listeners.
|
long |
getSelected()
Get selected bundle.
|
int |
getSelectionCount()
Get the number of selected bundles.
|
boolean |
isSelected(long bid)
Get selection status of a bundle Id.
|
void |
removeBundleSelectionListener(BundleSelectionListener l)
Remove a BundleSelectionListener from the set of listeners
that gets notified at bundle selection changes.
|
void |
setSelected(java.util.List<java.lang.Long> bids,
boolean bSelected)
Set selection status of all bundle id in the given list and
notify all listeners.
|
void |
setSelected(long bid,
boolean bSelected)
Set selection status of a bundle id and notify all listeners.
|
void clearSelection()
int getSelectionCount()
long getSelected()
boolean isSelected(long bid)
bid - Bundle Id to check.void setSelected(long bid,
boolean bSelected)
bid - Bundle Id to set selection status.bSelected - new selection status of the bundle.void setSelected(java.util.List<java.lang.Long> bids,
boolean bSelected)
bids - List of bundle ids to set selection status for.bSelected - new selection status of the bundles in the list.void addBundleSelectionListener(BundleSelectionListener l)
l - listener to add.void removeBundleSelectionListener(BundleSelectionListener l)
l - listener to remove.