    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface org.w3c.tools.widgets.TextEditable

public interface TextEditable

Editable interface

##

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

##

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

getText

     public abstract String getText()

  Gets the text that is presented by this interface.

updated

     public abstract boolean updated()

  Check if the current text value and the default value are different.

setDefault

     public abstract void setDefault()

  Sets the text at its default value

addActionListener

     public abstract void addActionListener(ActionListener al)

  Adds the specified action listener to recieve action events from this interface.

  Parameters:
    al - - the action listener.

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