|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.widgets.event.ComponentListenerAdapter
com.gwtext.client.widgets.event.BoxComponentListenerAdapter
com.gwtext.client.widgets.form.event.FieldListenerAdapter
public class FieldListenerAdapter
| Constructor Summary | |
|---|---|
FieldListenerAdapter()
|
|
| Method Summary | |
|---|---|
void |
onBlur(Field field)
Fires when this field loses input focus. |
void |
onChange(Field field,
java.lang.Object newVal,
java.lang.Object oldVal)
Fires just before the field blurs if the field value has changed. |
void |
onChange(Field field,
java.lang.String newVal,
java.lang.String oldVal)
|
void |
onFocus(Field field)
Fires when this field receives input focus. |
void |
onInvalid(Field field,
java.lang.String msg)
Fires after the field has been marked as invalid. |
void |
onSpecialKey(Field field,
EventObject e)
Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. |
void |
onValid(Field field)
Fires after the field has been validated with no errors. |
| Methods inherited from class com.gwtext.client.widgets.event.BoxComponentListenerAdapter |
|---|
onMove, onResize |
| Methods inherited from class com.gwtext.client.widgets.event.ComponentListenerAdapter |
|---|
doBeforeDestroy, doBeforeHide, doBeforeRender, doBeforeShow, doBeforeStateRestore, doBeforeStateSave, onDestroy, onDisable, onEnable, onHide, onRender, onShow, onStateRestore, onStateSave |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public FieldListenerAdapter()
| Method Detail |
|---|
public void onBlur(Field field)
FieldListener
onBlur in interface FieldListenerfield - this
public final void onChange(Field field,
java.lang.String newVal,
java.lang.String oldVal)
public void onChange(Field field,
java.lang.Object newVal,
java.lang.Object oldVal)
FieldListener
onChange in interface FieldListenerfield - thisnewVal - the new valueoldVal - the old valuepublic void onFocus(Field field)
FieldListener
onFocus in interface FieldListenerfield - this
public void onInvalid(Field field,
java.lang.String msg)
FieldListener
onInvalid in interface FieldListenerfield - thismsg - the validation message
public void onSpecialKey(Field field,
EventObject e)
FieldListenerEventObject.getKey() to determine which key was pressed.
onSpecialKey in interface FieldListenerfield - thise - the event objectpublic void onValid(Field field)
FieldListener
onValid in interface FieldListenerfield - this
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||