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

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

 class PropertyColumnsAction
extends AbstractAction

A swing action to adjust the properties of a column.

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
PropertyColumnsAction(JTable table)
          Creates a new instance.
 
Method Summary
 void actionPerformed(ActionEvent e)
          
(package private) static ColProperty createDefaultColumnProperty(SortedMap<Integer,ColProperty> props)
          Generates a ColProperty object with default settings.
 
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

PropertyColumnsAction

PropertyColumnsAction(JTable table)
Creates a new instance.

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

actionPerformed

public void actionPerformed(ActionEvent e)


createDefaultColumnProperty

static ColProperty createDefaultColumnProperty(SortedMap<Integer,ColProperty> props)
Generates a ColProperty object with default settings.

Parameters:
props - Properties of the current columns of the table
Returns:
a ColProperty object with default settings


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.