|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.CheckboxField
public class CheckboxField
A wrapper for JCheckBox.
| Constructor Summary | |
|---|---|
CheckboxField()
|
|
CheckboxField(java.lang.String text)
|
|
| Method Summary | |
|---|---|
void |
doAction()
This does different things depending on the field; for example in a text field it indicates return was hit. |
javax.swing.JCheckBox |
getCheckBox()
|
javax.swing.JComponent |
getGUI()
Returns the GUI component for this field. |
java.lang.String |
getText()
|
java.lang.Object |
getValue()
Returns the current value for this field. |
void |
setText(java.lang.String newText)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckboxField()
public CheckboxField(java.lang.String text)
| Method Detail |
|---|
public java.lang.Object getValue()
GUIField
getValue in interface GUIFieldpublic void setValue(java.lang.Object newValue)
GUIField
setValue in interface GUIFieldpublic javax.swing.JComponent getGUI()
GUIField
getGUI in interface GUIFieldpublic void valueChanged(java.lang.Object newValue)
GUIField
valueChanged in interface GUIFieldpublic void doAction()
GUIField
doAction in interface GUIFieldpublic java.lang.String getText()
public void setText(java.lang.String newText)
public javax.swing.JCheckBox getCheckBox()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||