|
ElegantJ Trees Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.awt.tree.ChoiceObject
Object which is used for the passing object between the ChoiceAWTTreeCellEditor and ChoiceAWTTreeCellRenderer
| Constructor Summary | |
ChoiceObject()
Constructs the ChoiceObject |
|
ChoiceObject(java.util.Vector items,
java.lang.String selectedItem)
Constructs the ChoiceObject with specified items and selected item |
|
| Method Summary | |
java.util.Vector |
getItems()
Returns the items contain by the ChoiceObject |
java.lang.String |
getSelectedItem()
Returns the selected item of the ChoiceObject |
void |
setItems(java.util.Vector items)
Sets the items for the choice object |
void |
setSelectedItem(java.lang.String selectedItem)
Sets the selected item for the ChoiceObject |
java.lang.String |
toString()
Returns the string representation of the ChoiceObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ChoiceObject()
public ChoiceObject(java.util.Vector items,
java.lang.String selectedItem)
| Method Detail |
public void setItems(java.util.Vector items)
items - The items for the choice objectpublic java.util.Vector getItems()
public void setSelectedItem(java.lang.String selectedItem)
selectedItem - The selected item for the ChoiceObjectpublic java.lang.String getSelectedItem()
public java.lang.String toString()
|
ElegantJ Trees Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||