Package com.jsql.view.swing.text.action
Class DeleteNextCharAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
com.jsql.view.swing.text.action.AbstractCharAction
com.jsql.view.swing.text.action.DeleteNextCharAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
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, 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
-
Method Summary
Methods inherited from class com.jsql.view.swing.text.action.AbstractCharAction
actionPerformed
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
-
Constructor Details
-
DeleteNextCharAction
public DeleteNextCharAction()Create this object with the appropriate identifier.
-
-
Method Details
-
delete
- Specified by:
delete
in classAbstractCharAction
- Throws:
BadLocationException
-