org.knime.base.node.io.tablecreator.table
Class CutAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.knime.base.node.io.tablecreator.table.CutAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

 class CutAction
extends AbstractAction

The swing action for the combination to copy selected cells to the system clipboard and delete those cells afterwards.

Author:
Heiko Hofer

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
CutAction(JTable table)
          Creates a new instance.
 
Method Summary
 void actionPerformed(ActionEvent e)
          
 
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

CutAction

CutAction(JTable table)
Creates a new instance.

Parameters:
table - the 'model' for this action
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)



Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.