com.gwtext.client.widgets.form.event
Interface TextFieldListener

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

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

onAutoSize

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.

Parameters:
field - this
width - the new field width