| Constructor and Description |
|---|
ColorField() |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction()
This does different things depending on the field; for example in a text
field it indicates return was hit.
|
javax.swing.JComponent |
getGUI()
Returns the GUI component for this field.
|
javax.swing.JColorChooser |
getJColorChooser() |
StringField |
getStringField() |
java.lang.Object |
getValue()
Returns the current value for this field.
|
void |
openChooser() |
void |
setValue(java.lang.Object newValue)
Sets the current value for this field.
|
void |
valueChanged(java.lang.Object newValue)
When the value changes, this is run.
|
public javax.swing.JComponent getGUI()
GUIFieldpublic javax.swing.JColorChooser getJColorChooser()
public StringField getStringField()
public void openChooser()
public void doAction()
GUIFieldpublic java.lang.Object getValue()
GUIFieldpublic void setValue(java.lang.Object newValue)
GUIFieldpublic void valueChanged(java.lang.Object newValue)
GUIFieldvalueChanged in interface GUIField