com.partnersoft.gui
Class StringEditControl
java.lang.Object
com.partnersoft.gui.StringEditControl
- All Implemented Interfaces:
- GUIControl
public class StringEditControl
- extends java.lang.Object
- implements GUIControl
A convenience wrapper for JTextField.
- Author:
- Paul Reavis
Copyright 2004 Partner Software, Inc.
|
Method Summary |
void |
doAction()
Subclasses should override this to take action whenever an
action should occur (generally when the user hits return in the
field). |
java.lang.Object |
getEdited()
|
java.lang.String |
getEditedString()
|
javax.swing.JComponent |
getGUI()
|
javax.swing.JTextField |
getJTextField()
|
void |
setEdited(java.lang.Object newEdited)
|
void |
setEditedString(java.lang.String newEdited)
|
void |
valueModified()
Subclasses should override this to take action whenever the
value of the field changes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringEditControl
public StringEditControl()
setEdited
public void setEdited(java.lang.Object newEdited)
getEdited
public java.lang.Object getEdited()
setEditedString
public void setEditedString(java.lang.String newEdited)
getEditedString
public java.lang.String getEditedString()
getJTextField
public javax.swing.JTextField getJTextField()
valueModified
public void valueModified()
- Subclasses should override this to take action whenever the
value of the field changes.
doAction
public void doAction()
- Subclasses should override this to take action whenever an
action should occur (generally when the user hits return in the
field).
getGUI
public javax.swing.JComponent getGUI()
- Specified by:
getGUI in interface GUIControl