Interface TextFieldListener

All Superinterfaces:
BoxComponentListener, ComponentListener, FieldListener
All Known Implementing Classes:

public interface TextFieldListener
extends FieldListener

Method Summary
 void onAutoSize(Field field, int width)
          Fires when the autosize function is triggered.
Methods inherited from interface com.gwtext.client.widgets.form.event.FieldListener
onBlur, onChange, onFocus, onInvalid, onSpecialKey, onValid
Methods inherited from interface com.gwtext.client.widgets.event.BoxComponentListener
onMove, onResize
Methods inherited from interface com.gwtext.client.widgets.event.ComponentListener
doBeforeDestroy, doBeforeHide, doBeforeRender, doBeforeShow, doBeforeStateRestore, doBeforeStateSave, onDestroy, onDisable, onEnable, onHide, onRender, onShow, onStateRestore, onStateSave

Method Detail


void onAutoSize(Field field,
                int width)
Fires when the autosize function is triggered. The field may or may not have actually changed size according to the default logic, but this event provides a hook for the developer to apply additional logic at runtime to resize the field if needed.

field - this
width - the new field width