org.fife.ui.rtextarea
public static class RTextAreaEditorKit.IncreaseFontSizeAction extends RecordableTextAction
Modifier and Type | Field and Description |
---|---|
protected float |
increaseAmount |
protected static float |
MAXIMUM_SIZE |
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
RTextAreaEditorKit.IncreaseFontSizeAction() |
RTextAreaEditorKit.IncreaseFontSizeAction(String name,
Icon icon,
String desc,
Integer mnemonic,
KeyStroke accelerator) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformedImpl(ActionEvent e,
RTextArea textArea)
The actual meat of the action.
|
String |
getMacroID()
Returns the identifier for this macro.
|
protected void |
initialize() |
actionPerformed, getAccelerator, getDescription, getIcon, getMnemonic, getName, isRecordable, setMnemonic, setRecordable
augmentList, getFocusedComponent, getTextComponent
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected float increaseAmount
protected static final float MAXIMUM_SIZE
public RTextAreaEditorKit.IncreaseFontSizeAction()
public void actionPerformedImpl(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 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 void initialize()