org.knime.base.node.mine.decisiontree2.view.graph
Class CollapseBranchAction<K>

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.knime.base.node.mine.decisiontree2.view.graph.CollapseBranchAction<K>
Type Parameters:
K - The type of the nodes user objects in a HierarchicalGraphView
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class CollapseBranchAction<K>
extends AbstractAction

An action to collapse the branch starting from the selected node in a HierarchicalGraphView.

Author:
Heiko Hofer
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
CollapseBranchAction(HierarchicalGraphView<K> graph)
           
 
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

CollapseBranchAction

public CollapseBranchAction(HierarchicalGraphView<K> graph)
Parameters:
graph - nodes of the graph are effected by 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.