public class FieldListenerObject extends Object implements FieldListener
Constructor and Description |
---|
FieldListenerObject() |
Modifier and Type | Method and Description |
---|---|
void |
action(FieldTransfer xfer,
Editor editor) |
protected boolean |
editorCanExit(Editor ed,
Object beingEdited,
int exitCode) |
void |
fieldChanged(FieldTransfer ft,
Editor ed)
This implements the fieldChanged() method in FieldListener.
|
void |
fieldEvent(FieldTransfer ft,
Editor ed,
Object event)
This implements the fieldEvent() method in FieldListener.
|
protected void |
setToEditor(Editor ed,
Object beingEdited) |
public void fieldChanged(FieldTransfer ft, Editor ed)
If the field is of type ewe.ui.MenuItem then the method [MenuItemAction]_action(Editor ed)
Otherwise the [FieldName]_changed(Editor ed) method is called.
fieldChanged
in interface FieldListener
ft
- The FieldTransfer object representing the changed field.ed
- The Editor from which the event came.public void fieldEvent(FieldTransfer ft, Editor ed, Object event)
fieldEvent
in interface FieldListener
public void action(FieldTransfer xfer, Editor editor)
action
in interface FieldListener