public class ComboBoxNode
extends java.lang.Object
| Constructor and Description |
|---|
ComboBoxNode(java.lang.String text,
java.lang.String id)
Constructor that sets the text and if for this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Id field getter.
|
java.lang.String |
getText()
Text field getter.
|
void |
setId(java.lang.String id)
Id field setter.
|
void |
setText(java.lang.String text)
Text field setter.
|
java.lang.String |
toString()
Returns a string representation of the combo box node.
|
public ComboBoxNode(java.lang.String text,
java.lang.String id)
text - Text value for the combo box node.id - Id value for the combo box node.public void setText(java.lang.String text)
text - The text to set.public void setId(java.lang.String id)
id - The id value to set.public java.lang.String getText()
public java.lang.String getId()
public java.lang.String toString()
toString in class java.lang.Object