public class DefaultRawTypedHandler extends java.lang.Object implements TypedActionHandlerEx
| Modifier and Type | Method and Description | 
|---|---|
| void | beforeExecute(Editor editor,
             char c,
             DataContext context,
             ActionPlan plan)The method is invoked before acquiring a write lock and actually executing an action. | 
| void | beginUndoablePostProcessing() | 
| void | execute(Editor editor,
       char charTyped,
       DataContext dataContext)Processes a key typed in the editor. | 
public void beforeExecute(Editor editor, char c, DataContext context, ActionPlan plan)
TypedActionHandlerExThere's no need to mirror all the oncoming changes, focus on latency-sensitive activity (like typing).
 Implementation should not modify entities besides ActionPlan (e.g. Editor, Document, CaretModel, etc.).
 Moreover, as the handlers can be chained, implementation must rely primarily on the state that is provided by the ActionPlan
 (i.e. ActionPlan.getText() must be used instead of a direct Document.getText() call).
 
The handler is responsible for delegating to the previously registered handler if needed.
beforeExecute in interface TypedActionHandlerExeditor - the editor in which the key was typed.c - the typed character.context - the current data context.plan - the current action plan draft.public void execute(Editor editor, char charTyped, DataContext dataContext)
TypedActionHandlerexecute in interface TypedActionHandlereditor - the editor in which the key was typed.charTyped - the typed character.dataContext - the current data context.public void beginUndoablePostProcessing()