public class SelectableItem extends Object
Constructor and Description |
---|
SelectableItem(Object item,
boolean selected) |
SelectableItem(Object item,
boolean selected,
boolean isSelectable) |
Modifier and Type | Method and Description |
---|---|
Object |
getItem() |
boolean |
isSelectable() |
boolean |
isSelected() |
void |
setSelected(boolean selected)
Sets the selection state of the item.
|
public SelectableItem(Object item, boolean selected)
item
- The item.selected
- Item is selected.public SelectableItem(Object item, boolean selected, boolean isSelectable)
item
- The item.selected
- Item is selected.isSelectable
- If the item is slectable. Note the item still can be selected
but cannot be changed by the user.public void setSelected(boolean selected)
selected
- If the item is selected.public boolean isSelected()
public Object getItem()
public boolean isSelectable()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)