Ontimize 5.2072EN

com.ontimize.gui.field
Class SelectionListDataField.SelectableItem

java.lang.Object
  extended bycom.ontimize.gui.field.SelectionListDataField.SelectableItem
Direct Known Subclasses:
SelectionListDataField.DescriptionSelectableItem
Enclosing class:
SelectionListDataField

public static class SelectionListDataField.SelectableItem
extends java.lang.Object

This class manages the selection for an item.

Author:
Imatia Innovation

Constructor Summary
SelectionListDataField.SelectableItem(java.lang.Object value)
          Class constructor.
 
Method Summary
 java.lang.Object getValue()
          Gets the value.
 boolean isSelected()
          Checks wheter is selected.
 void setSelected(boolean selected)
          Sets selected an item.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectionListDataField.SelectableItem

public SelectionListDataField.SelectableItem(java.lang.Object value)
Class constructor.

Parameters:
value - the object
Method Detail

getValue

public java.lang.Object getValue()
Gets the value.

Returns:
the value

setSelected

public void setSelected(boolean selected)
Sets selected an item.

Parameters:
selected - the selected condition

isSelected

public boolean isSelected()
Checks wheter is selected.

Returns:
the selected condition

toString

public java.lang.String toString()

Ontimize