Interface SyntaxAction

All Superinterfaces:
Action, ActionListener, EventListener
All Known Implementing Classes:
ComboCompletionAction, CompleteWordAction, DefaultSyntaxAction, DeleteLinesAction, DuplicateLinesAction, FindNextAction, FindReplaceAction, GotoLineAction, HTMLPreviewAction, IndentAction, JIndentAction, JumpToPairAction, JUnindentAction, MapCompletionAction, PairAction, PythonIndentAction, QuickFindAction, RedoAction, ReflectCompletionAction, ScriptAction, ScriptRunnerAction, ShowAbbsAction, SmartHomeAction, SmartHomeSelectAction, TemplateAction, ToggleCommentsAction, ToggleComponentAction, UndoAction, UnindentAction, XmlPrettifyAction, XmlTagCompleteAction

public interface SyntaxAction extends Action
All JSyntaxPane Keyboard related actions implement this class. These classes are created dynamically, and then registered to the SyntaxKit. A class may have multiple TextActions that may be related. Each EditorKit that is installed will have only one instance of each class, even if more than one action is specified. The key value pairs in the COnfiguration are of the form: [EditorKit.]Action.NAME = class, keyboard key
  • Method Details

    • config

      void config(Configuration config, String name)
      Configure the actions in this class
      Parameters:
      config -
      name - Name of the action, (prefixed by Action.) will be obtained from the property Key as the text following the Action.