java.awt.event.ActionListener
, java.io.Serializable
, java.lang.Cloneable
, java.util.EventListener
, javax.swing.Action
, SyntaxAction
public class JumpToPairAction extends DefaultSyntaxAction
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
ACTION_PREFIX, LARGE_ICONS_LOC_PREFIX, SMALL_ICONS_LOC_PREFIX
Constructor | Description |
---|---|
JumpToPairAction() |
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(javax.swing.text.JTextComponent target,
SyntaxDocument sdoc,
int dot,
java.awt.event.ActionEvent e) |
Convenience method that will be called if the Action is performed on a
JTextComponent.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
actionPerformed, config, setLargeIcon, setMenuText, setSmallIcon, setToolTip, toString
public void actionPerformed(javax.swing.text.JTextComponent target, SyntaxDocument sdoc, int dot, java.awt.event.ActionEvent e)
DefaultSyntaxAction
actionPerformed
in class DefaultSyntaxAction
target
- (non-null JTextComponent from Action.getSourcesdoc
- (SyntaxDOcument of the text component, could be null)dot
- (position of caret at text document)e
- actual ActionEvent passed to actionPerformed