Ontimize 5.2072EN

com.ontimize.gui.field
Class SelectionListDataField.DescriptionSelectableItem

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

public static class SelectionListDataField.DescriptionSelectableItem
extends SelectionListDataField.SelectableItem

This class manages the description for a selectable item.

Author:
Imatia Innovation

Field Summary
protected  java.lang.Object description
          A reference to a description.
 
Constructor Summary
SelectionListDataField.DescriptionSelectableItem(java.lang.Object value, java.lang.Object description)
          The class constructor.
 
Method Summary
 java.lang.Object getDescription()
          Gets description.
 void setDescription(java.lang.Object description)
          Sets the description for object.
 java.lang.String toString()
           
 
Methods inherited from class com.ontimize.gui.field.SelectionListDataField.SelectableItem
getValue, isSelected, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

description

protected java.lang.Object description
A reference to a description. By default, null.

Constructor Detail

SelectionListDataField.DescriptionSelectableItem

public SelectionListDataField.DescriptionSelectableItem(java.lang.Object value,
                                                        java.lang.Object description)
The class constructor.

Parameters:
value - the object to fix description
description - the description to set
Method Detail

getDescription

public java.lang.Object getDescription()
Gets description.

Returns:
the description

setDescription

public void setDescription(java.lang.Object description)
Sets the description for object.

Parameters:
description - the description to set

toString

public java.lang.String toString()
Overrides:
toString in class SelectionListDataField.SelectableItem

Ontimize