All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.tools.widgets.TextEditable

public interface TextEditable
Editable interface


Method Index

 o addActionListener(ActionListener)
Adds the specified action listener to recieve action events from this interface.
 o getText()
Gets the text that is presented by this interface.
 o removeActionListener(ActionListener)
Removes the specified action listener so that it no longer receives action events from interface.
 o setDefault()
Sets the text at its default value
 o setText(String)
Sets the text that is presented by this interface to be the specified text.
 o updated()
Check if the current text value and the default value are different.

Methods

 o setText
 public abstract void setText(String text)
Sets the text that is presented by this interface to be the specified text.

Parameters:
text - - the new text
 o getText
 public abstract String getText()
Gets the text that is presented by this interface.

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

 o setDefault
 public abstract void setDefault()
Sets the text at its default value

 o addActionListener
 public abstract void addActionListener(ActionListener al)
Adds the specified action listener to recieve action events from this interface.

Parameters:
al - - the action listener.
 o removeActionListener
 public abstract void removeActionListener(ActionListener al)
Removes the specified action listener so that it no longer receives action events from interface.

Parameters:
al - - the action listener.

All Packages  Class Hierarchy  This Package  Previous  Next  Index