Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

de.hunsicker.swing.util
Class PopupSupport.DeleteAction  view PopupSupport.DeleteAction download PopupSupport.DeleteAction.java

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byjavax.swing.text.TextAction
          extended byde.hunsicker.swing.util.PopupSupport.DeleteAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Enclosing class:
PopupSupport

private static final class PopupSupport.DeleteAction
extends javax.swing.text.TextAction

Action which - depending on the selection state of a text component - either deletes the selection or the whole text.


Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
PopupSupport.DeleteAction()
          Creates a new DeleteAction object.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
          This method is invoked when an action occurs.
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupSupport.DeleteAction

public PopupSupport.DeleteAction()
Creates a new DeleteAction object.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.