| com.gwtext.client.widgets.event.EditorListener
All known Subclasses: com.gwtext.client.widgets.event.EditorListenerAdapter,
Method Summary | |
boolean | doBeforeComplete(Editor source, Object value, Object startValue) Fires after a change has been made to the field, but before the change is reflected in the underlying field.
Saving the change to the field can be canceled by returning false from the handler of this event. | boolean | doBeforeStartEdit(Editor source, ExtElement boundEl, Object value) Fires when editing is initiated, but before the value changes. | void | onComplete(Editor source, Object value, Object startValue) Fires after editing is complete and any changed value has been written to the underlying field. | void | onSpeciakKey(Field field, EventObject e) Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. |
doBeforeComplete | boolean doBeforeComplete(Editor source, Object value, Object startValue)(Code) | | Fires after a change has been made to the field, but before the change is reflected in the underlying field.
Saving the change to the field can be canceled by returning false from the handler of this event. Note that
if the value has not changed and ignoreNoChange = true, the editing will still end but this event will not fire since no edit actually occurred.
Parameters: source - this Parameters: value - the current field value Parameters: startValue - the original field value false to cancel the field edit |
doBeforeStartEdit | boolean doBeforeStartEdit(Editor source, ExtElement boundEl, Object value)(Code) | | Fires when editing is initiated, but before the value changes. Editing can be canceled by returning false from
the handler of this event.
Parameters: source - this Parameters: boundEl - the underlying element bound to this editor Parameters: value - the field value beign set fale to cancel the editing |
onComplete | void onComplete(Editor source, Object value, Object startValue)(Code) | | Fires after editing is complete and any changed value has been written to the underlying field.
Parameters: source - this Parameters: value - the current field value Parameters: startValue - the original field value |
onSpeciakKey | void onSpeciakKey(Field field, EventObject e)(Code) | | Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check
EventObject.getKey to determine which key was pressed.
Parameters: field - this Parameters: e - the event object |
|
|