|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextEditable
Editable interface
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener al)
Adds the specified action listener to recieve action events from this interface. |
java.lang.String |
getText()
Gets the text that is presented by this interface. |
void |
removeActionListener(java.awt.event.ActionListener al)
Removes the specified action listener so that it no longer receives action events from interface. |
void |
setDefault()
Sets the text at its default value |
void |
setText(java.lang.String text)
Sets the text that is presented by this interface to be the specified text. |
boolean |
updated()
Check if the current text value and the default value are different. |
Method Detail |
---|
void setText(java.lang.String text)
text
- - the new textjava.lang.String getText()
boolean updated()
void setDefault()
void addActionListener(java.awt.event.ActionListener al)
al
- - the action listener.void removeActionListener(java.awt.event.ActionListener al)
al
- - the action listener.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |