|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SyntaxAction
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 | |
---|---|
void |
config(Configuration config,
java.lang.String name)
Configure the actions in this class |
Methods inherited from interface javax.swing.Action |
---|
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from interface java.awt.event.ActionListener |
---|
actionPerformed |
Method Detail |
---|
void config(Configuration config, java.lang.String name)
config
- name
- Name of the action, (prefixed by Action.)
will be obtained from the property Key as the
text following the Action.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |