util.ui.customizableitems
Class SelectableItem
java.lang.Object
util.ui.customizableitems.SelectableItem
public class SelectableItem
- extends Object
A class for a selectable Item.
- Author:
- René Mach
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectableItem
public SelectableItem(Object item,
boolean selected)
- Parameters:
item - The item.selected - Item is selected.
SelectableItem
public SelectableItem(Object item,
boolean selected,
boolean isSelectable)
- Parameters:
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.- Since:
- 2.7.2
setSelected
public void setSelected(boolean selected)
- Sets the selection state of the item.
- Parameters:
selected - If the item is selected.
isSelected
public boolean isSelected()
- Returns:
- If the item is selected.
getItem
public Object getItem()
- Returns:
- The item.
isSelectable
public boolean isSelectable()
- Returns:
- If this item can be changed by the user.
- Since:
- 2.7.2
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)