org.w3c.tools.widgets
Interface TextEditable

All Known Implementing Classes:
IPTextField

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

setText

void setText(java.lang.String text)
Sets the text that is presented by this interface to be the specified text.

Parameters:
text - - the new text

getText

java.lang.String getText()
Gets the text that is presented by this interface.


updated

boolean updated()
Check if the current text value and the default value are different.


setDefault

void setDefault()
Sets the text at its default value


addActionListener

void addActionListener(java.awt.event.ActionListener al)
Adds the specified action listener to recieve action events from this interface.

Parameters:
al - - the action listener.

removeActionListener

void removeActionListener(java.awt.event.ActionListener al)
Removes the specified action listener so that it no longer receives action events from interface.

Parameters:
al - - the action listener.