Package jsyntaxpane.actions
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
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
-
Field Summary
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Method Summary
Modifier and TypeMethodDescriptionvoid
config
(Configuration config, String name) Configure the actions in this classMethods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Method Details
-
config
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.
-