java.awt.event.ActionListener
, java.io.Serializable
, java.lang.Cloneable
, java.util.EventListener
, javax.swing.Action
, SyntaxAction
public class JIndentAction 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 |
---|---|
JIndentAction() |
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)
actionPerformed
in class DefaultSyntaxAction
e
- target
- (non-null JTextComponent from Action.getSourcesDoc
- (SyntaxDOcument of the text component, could be null)dot
- (position of caret at text document)