Package com.formdev.flatlaf.themeeditor
Class FlatSyntaxTextAreaActions.IncrementNumberAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
org.fife.ui.rtextarea.RecordableTextAction
com.formdev.flatlaf.themeeditor.FlatSyntaxTextAreaActions.IncrementNumberAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
FlatSyntaxTextAreaActions
static class FlatSyntaxTextAreaActions.IncrementNumberAction
extends org.fife.ui.rtextarea.RecordableTextAction
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformedImpl
(ActionEvent e, org.fife.ui.rtextarea.RTextArea textArea) private void
incrementNumber
(org.fife.ui.rtextarea.RTextArea textArea) private boolean
incrementRGBColor
(org.fife.ui.rtextarea.RTextArea textArea) Methods inherited from class org.fife.ui.rtextarea.RecordableTextAction
actionPerformed, getAccelerator, getDescription, getIcon, getMnemonic, getName, getShortDescription, isRecordable, setAccelerator, setMnemonic, setMnemonic, setName, setProperties, setRecordable, setShortDescription
Methods inherited from class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponent
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
increment
private final boolean increment
-
-
Constructor Details
-
IncrementNumberAction
IncrementNumberAction(String name, boolean increment)
-
-
Method Details
-
actionPerformedImpl
- Specified by:
actionPerformedImpl
in classorg.fife.ui.rtextarea.RecordableTextAction
-
incrementNumber
private void incrementNumber(org.fife.ui.rtextarea.RTextArea textArea) -
incrementRGBColor
private boolean incrementRGBColor(org.fife.ui.rtextarea.RTextArea textArea) -
getMacroID
- Specified by:
getMacroID
in classorg.fife.ui.rtextarea.RecordableTextAction
-