| Constructor and Description |
|---|
IconField() |
| 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.
|
boolean |
getShowName() |
java.lang.Object |
getValue()
Returns the current value for this field.
|
void |
setFixedHeight(int newHeight) |
void |
setFixedWidth(int newWidth) |
void |
setImagePath(java.lang.String imagePath) |
void |
setShowName(boolean tizit) |
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 void setImagePath(java.lang.String imagePath)
public void doAction()
GUIFieldpublic javax.swing.JComponent getGUI()
GUIFieldpublic java.lang.Object getValue()
GUIFieldpublic void setValue(java.lang.Object newValue)
GUIFieldpublic void valueChanged(java.lang.Object newValue)
GUIFieldvalueChanged in interface GUIFieldpublic boolean getShowName()
public void setShowName(boolean tizit)
public void setFixedWidth(int newWidth)
public void setFixedHeight(int newHeight)