net.sf.doolin.gui.field.list.multi
Class SelectableItem<T>
java.lang.Object
net.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.field.list.multi.SelectableItem<T>
- Type Parameters:
T - Type of item
- All Implemented Interfaces:
- Serializable, IBean
public class SelectableItem<T>
- extends Bean
Item that can be selected
- Author:
- Damien Coraboeuf
- See Also:
- Serialized Form
SELECTED
public static final String SELECTED
selected property
- See Also:
- Constant Field Values
SelectableItem
public SelectableItem(T t)
- Constructor
- Parameters:
t - Associated item
SelectableItem
public SelectableItem(T t,
boolean selected)
- Constructor
- Parameters:
t - Associated itemselected - Initial selection status
getItem
public T getItem()
- Returns:
- Returns the item.
isSelected
public boolean isSelected()
- Returns:
- Returns the selected.
setSelected
public void setSelected(boolean selected)
- Parameters:
selected - The selected to set.
toString
public String toString()
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2011. All Rights Reserved.