Interface EditorListener
-
- All Known Subinterfaces:
EditorHelper.LanguageAwareEditorListener
public interface EditorListenerReceives updates when aneditor's value has changed in some way. The general purpose is to hide editor specific implementation details from the user e.g. which events are relevant etc.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCANCEL_CLICKEDstatic java.lang.StringENTER_PRESSEDstatic java.lang.StringESCAPE_PRESSEDstatic java.lang.StringFORCE_SAVE_CLICKEDstatic java.lang.StringOPEN_EXTERNAL_CLICKED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactionPerformed(java.lang.String actionCode)Called when a special action is performedvoidvalueChanged(java.lang.Object value)Called when aneditor's value has changed.
-
-
-
Field Detail
-
ENTER_PRESSED
static final java.lang.String ENTER_PRESSED
- See Also:
- Constant Field Values
-
ESCAPE_PRESSED
static final java.lang.String ESCAPE_PRESSED
- See Also:
- Constant Field Values
-
OPEN_EXTERNAL_CLICKED
static final java.lang.String OPEN_EXTERNAL_CLICKED
- See Also:
- Constant Field Values
-
CANCEL_CLICKED
static final java.lang.String CANCEL_CLICKED
- See Also:
- Constant Field Values
-
FORCE_SAVE_CLICKED
static final java.lang.String FORCE_SAVE_CLICKED
- See Also:
- Constant Field Values
-
-
Method Detail
-
valueChanged
void valueChanged(java.lang.Object value)
Called when aneditor's value has changed.- Parameters:
value- the new value
-
actionPerformed
void actionPerformed(java.lang.String actionCode)
Called when a special action is performed- Parameters:
actionCode- the unique action code
-
-