public class PairAction extends DefaultSyntaxAction implements javax.swing.event.DocumentListener
ACTION_PREFIX, LARGE_ICONS_LOC_PREFIX, SMALL_ICONS_LOC_PREFIX| Constructor and Description |
|---|
PairAction() |
| Modifier and Type | Method and 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.
|
void |
changedUpdate(javax.swing.event.DocumentEvent e) |
void |
deinstall(javax.swing.JEditorPane editor) |
void |
insertUpdate(javax.swing.event.DocumentEvent e) |
void |
removeUpdate(javax.swing.event.DocumentEvent e) |
actionPerformed, install, setLargeIcon, setMenuText, setSmallIcon, setToolTip, toStringaugmentList, getFocusedComponent, getTextComponentaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic void actionPerformed(javax.swing.text.JTextComponent target,
SyntaxDocument sDoc,
int dot,
java.awt.event.ActionEvent e)
DefaultSyntaxActionactionPerformed in class DefaultSyntaxActiontarget - (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 actionPerformedpublic void deinstall(javax.swing.JEditorPane editor)
deinstall in interface SyntaxActiondeinstall in class DefaultSyntaxActionpublic void insertUpdate(javax.swing.event.DocumentEvent e)
insertUpdate in interface javax.swing.event.DocumentListenerpublic void removeUpdate(javax.swing.event.DocumentEvent e)
removeUpdate in interface javax.swing.event.DocumentListenerpublic void changedUpdate(javax.swing.event.DocumentEvent e)
changedUpdate in interface javax.swing.event.DocumentListener