|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.FilenameField
public class FilenameField
A GUIField for entering a file name. Includes a file chooser button.
| Constructor Summary | |
|---|---|
FilenameField()
|
|
| Method Summary | |
|---|---|
void |
choose()
|
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.JFileChooser |
getJFileChooser()
|
javax.swing.JTextField |
getJTextField()
|
java.lang.Object |
getValue()
Returns the current value for this field. |
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 FilenameField()
| Method Detail |
|---|
public javax.swing.JComponent getGUI()
GUIField
getGUI in interface GUIFieldpublic java.lang.Object getValue()
getValue in interface GUIFieldpublic void setValue(java.lang.Object newValue)
setValue in interface GUIFieldpublic void valueChanged(java.lang.Object newValue)
valueChanged in interface GUIFieldpublic void doAction()
GUIField
doAction in interface GUIFieldpublic void choose()
public javax.swing.JTextField getJTextField()
public javax.swing.JFileChooser getJFileChooser()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||