org.knime.core.node.tableview
Class TableView.TableAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.knime.core.node.tableview.TableView.TableAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
TableView

public abstract static class TableView.TableAction
extends AbstractAction

Action associate with the table. There are instances for "Find...", "Find Next" and "Go to Row". This class has an additional field for the preferred accelerator key.

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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
TableView.TableAction(KeyStroke keyStroke, String name)
           
 
Method Summary
 KeyStroke getKeyStroke()
           
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

TableView.TableAction

TableView.TableAction(KeyStroke keyStroke,
                      String name)
Parameters:
keyStroke - Key stroke for this actions (needs to be registered elsewhere)
name - Name, see AbstractAction.AbstractAction(String)
Method Detail

getKeyStroke

public KeyStroke getKeyStroke()
Returns:
the keyStroke


Copyright, 2003 - 2010. 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.