Package com.jsql.view.swing.text.action
Class AbstractCharAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
com.jsql.view.swing.text.action.AbstractCharAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
DeleteNextCharAction,DeletePrevCharAction
Action to cancel Beep sound when deleting last character.
Used on TextPane and TextArea.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsModifierConstructorDescriptionprotectedAbstractCharAction(String deleteAction) Create this object with the appropriate identifier. -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) The operation to perform when this action is triggered.protected abstract voidMethods inherited from class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponentMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
AbstractCharAction
Create this object with the appropriate identifier.
-
-
Method Details
-
delete
- Throws:
BadLocationException
-
actionPerformed
The operation to perform when this action is triggered.
-