public static class RSyntaxTextAreaEditorKit.ExpandAllFoldsAction extends RecordableTextAction
Constructor and Description |
---|
ExpandAllFoldsAction() |
ExpandAllFoldsAction(boolean localizedName) |
ExpandAllFoldsAction(java.lang.String name,
javax.swing.Icon icon,
java.lang.String desc,
java.lang.Integer mnemonic,
javax.swing.KeyStroke accelerator) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformedImpl(java.awt.event.ActionEvent e,
RTextArea textArea)
The actual meat of the action.
|
protected Fold |
getClosestFold(RSyntaxTextArea textArea) |
java.lang.String |
getMacroID()
Returns the identifier for this macro.
|
protected void |
possiblyRepaintGutter(RTextArea textArea)
Repaints the gutter in a text area's scroll pane, if necessary.
|
actionPerformed, getAccelerator, getDescription, getIcon, getMnemonic, getName, isRecordable, setAccelerator, setMnemonic, setMnemonic, setName, setProperties, setRecordable, setShortDescription
augmentList, getFocusedComponent, getTextComponent
public ExpandAllFoldsAction()
public ExpandAllFoldsAction(boolean localizedName)
public ExpandAllFoldsAction(java.lang.String name, javax.swing.Icon icon, java.lang.String desc, java.lang.Integer mnemonic, javax.swing.KeyStroke accelerator)
public void actionPerformedImpl(java.awt.event.ActionEvent e, RTextArea textArea)
RecordableTextAction
actionPerformedImpl
in class RecordableTextAction
e
- The action being performed.textArea
- The text area "receiving" the action.RecordableTextAction.actionPerformed(java.awt.event.ActionEvent)
public final java.lang.String getMacroID()
RecordableTextAction
RTextAreaEditorKit.CutAction
action, for example, rename it to "Remove", and it will still be
recorded as a "cut" action. Subclasses should return a unique string
from this method; preferably the name of the action.
If you subclass a RecordableTextAction
, you should NOT
override this method; if you do, the action may not be properly
recorded in a macro.
getMacroID
in class RecordableTextAction
protected Fold getClosestFold(RSyntaxTextArea textArea)
protected void possiblyRepaintGutter(RTextArea textArea)
textArea
- The text area.