org.mt4j.components.visibleComponents.widgets.keyboard
Interface ITextInputListener

All Known Implementing Classes:
MTTextArea, MTTextField

public interface ITextInputListener

Interface for classes that can be written text to.

Author:
Christopher Ruff

Method Summary
 void appendCharByUnicode(java.lang.String unicode)
          Append char by unicode.
 void appendText(java.lang.String text)
          Append text.
 void clear()
          Clear.
 java.lang.String getText()
          Gets the text.
 void removeLastCharacter()
          Removes the last character.
 void setText(java.lang.String text)
          Sets the text.
 

Method Detail

clear

void clear()
Clear.


appendText

void appendText(java.lang.String text)
Append text.

Parameters:
text - the text

setText

void setText(java.lang.String text)
Sets the text.

Parameters:
text - the new text

getText

java.lang.String getText()
Gets the text.

Returns:
the text

appendCharByUnicode

void appendCharByUnicode(java.lang.String unicode)
Append char by unicode.

Parameters:
unicode - the unicode

removeLastCharacter

void removeLastCharacter()
Removes the last character.