fi.hut.tml.xsmiles.gui.components
Interface XText

All Superinterfaces:
XComponent
All Known Subinterfaces:
XInput, XSecret, XTextArea
All Known Implementing Classes:
AWTInput, AWTTextArea, AWTTextComponent, HaviInput, HaviTextComponent, SwingInput, SwingTextArea, SwingTextComponent

public interface XText
extends XComponent

textarea


Method Summary
 void addTextListener(java.awt.event.TextListener tl)
          Adds the specified text event listener to receive text events from this text component.
 boolean getEditable()
           
 java.lang.String getText()
           
 void removeTextListener(java.awt.event.TextListener tl)
           
 void setEditable(boolean editable)
           
 void setText(java.lang.String s)
           @param s The text is set to s
 
Methods inherited from interface fi.hut.tml.xsmiles.gui.components.XComponent
addActionListener, addFocusListener, addHelpListener, addMouseListener, getComponent, getEnabled, getHeight, getSize, getStyle, getWidth, getX, getY, removeActionListener, removeFocusListener, removeHelpListener, removeMouseListener, setBackground, setBounds, setEnabled, setFocus, setForeground, setHintText, setInputMode, setStyle, setVisible, setZoom
 

Method Detail

getText

public java.lang.String getText()
Returns:
Return the password currently typed in.

setText

public void setText(java.lang.String s)
 @param s The text is set to s


addTextListener

public void addTextListener(java.awt.event.TextListener tl)
Adds the specified text event listener to receive text events from this text component. If l is null, no exception is thrown and no action is performed.


removeTextListener

public void removeTextListener(java.awt.event.TextListener tl)

setEditable

public void setEditable(boolean editable)

getEditable

public boolean getEditable()


X-Smiles 1.2