- All Implemented Interfaces:
ActionListener
,FocusListener
,InputMethodListener
,KeyListener
,EventListener
,ChangeListener
,DocumentListener
public class EditingRunner
extends ScheduledTaskRunner<Object>
implements DocumentListener, KeyListener, ActionListener, FocusListener, ChangeListener, InputMethodListener
the subclass of the executor with implementing various listeners.
Note the accumulation consumer is NOT dispatched on the event thread.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.autogui.base.mapping.ScheduledTaskRunner
ScheduledTaskRunner.DepthStack, ScheduledTaskRunner.TaskWithContext<T>
-
Field Summary
Fields inherited from class org.autogui.base.mapping.ScheduledTaskRunner
accumulatedEvents, consumer, delay, depthStack, enabled, executor, executorIsShared, scheduledTask, sharedCount, sharedExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
protected boolean
void
void
void
void
void
void
void
Methods inherited from class org.autogui.base.mapping.ScheduledTaskRunner
depthRunner, depthRunner, depthRunner, getConsumer, getDelay, getExecutor, getSharedExecutor, handleException, hasScheduledTask, run, runForShared, runImmediately, schedule, schedule, setConsumer, setDelay, setEnabled, setExecutor, shutdown, withDepthInfo, withDepthInfo
-
Constructor Details
-
EditingRunner
-
-
Method Details
-
initEnabled
protected boolean initEnabled()- Overrides:
initEnabled
in classScheduledTaskRunner<Object>
-
insertUpdate
- Specified by:
insertUpdate
in interfaceDocumentListener
-
removeUpdate
- Specified by:
removeUpdate
in interfaceDocumentListener
-
changedUpdate
- Specified by:
changedUpdate
in interfaceDocumentListener
-
keyTyped
- Specified by:
keyTyped
in interfaceKeyListener
-
keyPressed
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
- Specified by:
keyReleased
in interfaceKeyListener
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-
stateChanged
- Specified by:
stateChanged
in interfaceChangeListener
-
inputMethodTextChanged
- Specified by:
inputMethodTextChanged
in interfaceInputMethodListener
-
caretPositionChanged
- Specified by:
caretPositionChanged
in interfaceInputMethodListener
-