org.apache.pivot.wtk
Class LabelListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.LabelListener.Adapter
All Implemented Interfaces:
LabelListener
Enclosing interface:
LabelListener

public static class LabelListener.Adapter
extends Object
implements LabelListener

Label listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.LabelListener
LabelListener.Adapter
 
Constructor Summary
LabelListener.Adapter()
           
 
Method Summary
 void maximumLengthChanged(Label label, int previousMaximumLength)
          Called when a label text maximum length has changed.
 void textChanged(Label label, String previousText)
          Called when a label's text has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelListener.Adapter

public LabelListener.Adapter()
Method Detail

textChanged

public void textChanged(Label label,
                        String previousText)
Description copied from interface: LabelListener
Called when a label's text has changed.

Specified by:
textChanged in interface LabelListener

maximumLengthChanged

public void maximumLengthChanged(Label label,
                                 int previousMaximumLength)
Description copied from interface: LabelListener
Called when a label text maximum length has changed.

Specified by:
maximumLengthChanged in interface LabelListener