net.sf.vex.ui
Class UnwrapAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--net.sf.vex.ui.BaseAction
              |
              +--net.sf.vex.ui.UnwrapAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, SelectionListener, java.io.Serializable

public class UnwrapAction
extends BaseAction
implements SelectionListener

Removes the element containing the caret. Objects of this class must be registered with a SelectionProvider such as a single VexComponent in order to function correctly.

See Also:
Serialized Form

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
UnwrapAction()
          Class constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void selectionChanged(Selection selection)
          Called by a selection provider when the current selection changes.
 
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

UnwrapAction

public UnwrapAction()
Class constructor.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)

selectionChanged

public void selectionChanged(Selection selection)
Description copied from interface: SelectionListener
Called by a selection provider when the current selection changes.

Specified by:
selectionChanged in interface SelectionListener
Parameters:
selection - the new Selection.
See Also:
net.sf.vex.SelectionChangeListener#selectionChanged(net.sf.vex.Selection)