org.xith3d.ui.hud.listeners
Class TextFieldAdapter

java.lang.Object
  extended by org.xith3d.ui.hud.listeners.TextFieldAdapter
All Implemented Interfaces:
TextFieldListener

public abstract class TextFieldAdapter
extends java.lang.Object
implements TextFieldListener

This is a simple adapter class for TextFieldListener.


Constructor Summary
TextFieldAdapter()
           
 
Method Summary
 void onCharDeleted(TextField textField)
          This event is fired when a character is deleted in a TextField.
 void onCharTyped(TextField textField, char ch)
          This event is fired when the user typed a char in a TextField.
 void onEnterHit(TextField textField)
          This event is fired, if the ENTER key is hit on a TextField.
 void onEscapeHit(TextField textField)
          This event is fired, if the ESCAPE key is hit on a TextField.
 void onTabHit(TextField textField)
          This event is fired, if the TAB key is hit on a TextField.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFieldAdapter

public TextFieldAdapter()
Method Detail

onCharTyped

public void onCharTyped(TextField textField,
                        char ch)
This event is fired when the user typed a char in a TextField.

Specified by:
onCharTyped in interface TextFieldListener

onCharDeleted

public void onCharDeleted(TextField textField)
This event is fired when a character is deleted in a TextField.

Specified by:
onCharDeleted in interface TextFieldListener

onEscapeHit

public void onEscapeHit(TextField textField)
This event is fired, if the ESCAPE key is hit on a TextField.

Specified by:
onEscapeHit in interface TextFieldListener

onTabHit

public void onTabHit(TextField textField)
This event is fired, if the TAB key is hit on a TextField.

Specified by:
onTabHit in interface TextFieldListener

onEnterHit

public void onEnterHit(TextField textField)
This event is fired, if the ENTER key is hit on a TextField.

Specified by:
onEnterHit in interface TextFieldListener