org.knime.base.node.io.tablecreator
Class TableCreator2NodeSettings

java.lang.Object
  extended by org.knime.base.node.io.tablecreator.TableCreator2NodeSettings

public final class TableCreator2NodeSettings
extends Object

This class hold the settings for the Table Creator Node.

Author:
Heiko Hofer

Constructor Summary
TableCreator2NodeSettings()
           
 
Method Summary
 int[] getColumnIndices()
           
 SortedMap<Integer,ColProperty> getColumnProperties()
           
 boolean getHightlightOutputTable()
           
 String getRowIdPrefix()
           
 int getRowIdStartValue()
           
 String getRowIdSuffix()
           
 int[] getRowIndices()
           
 String[] getValues()
           
 void loadSettings(NodeSettingsRO settings)
          Loads the settings from the node settings object.
 void loadSettingsForDialog(NodeSettingsRO settings)
          Loads the settings from the node settings object using default values if some settings are missing.
 void saveSettings(NodeSettingsWO settings)
          Saves the settings into the node settings object.
 void setColumnIndices(int[] colIndices)
           
 void setColumnProperties(SortedMap<Integer,ColProperty> colProps)
           
 void setHightlightOutputTable(boolean hightlightOutputTable)
           
 void setRowIdPrefix(String rowIdPrefix)
           
 void setRowIdStartValue(int rowIdStartValue)
           
 void setRowIdSuffix(String rowIdSuffix)
           
 void setRowIndices(int[] rowIndices)
           
 void setValues(String[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableCreator2NodeSettings

public TableCreator2NodeSettings()
Method Detail

getRowIndices

public final int[] getRowIndices()
Returns:
the rowIndices

setRowIndices

public final void setRowIndices(int[] rowIndices)
Parameters:
rowIndices - the rowIndices to set

getColumnIndices

public final int[] getColumnIndices()
Returns:
the colIndices

setColumnIndices

public final void setColumnIndices(int[] colIndices)
Parameters:
colIndices - the colIndices to set

getValues

public final String[] getValues()
Returns:
the values

setValues

public final void setValues(String[] values)
Parameters:
values - the values to set

getColumnProperties

public final SortedMap<Integer,ColProperty> getColumnProperties()
Returns:
the colProps

setColumnProperties

public final void setColumnProperties(SortedMap<Integer,ColProperty> colProps)
Parameters:
colProps - the colProps to set

getRowIdPrefix

public final String getRowIdPrefix()
Returns:
the rowIdPrefix

setRowIdPrefix

public final void setRowIdPrefix(String rowIdPrefix)
Parameters:
rowIdPrefix - the rowIdPrefix to set

getRowIdSuffix

public final String getRowIdSuffix()
Returns:
the rowIdSuffix

setRowIdSuffix

public final void setRowIdSuffix(String rowIdSuffix)
Parameters:
rowIdSuffix - the rowIdSuffix to set

getRowIdStartValue

public final int getRowIdStartValue()
Returns:
the rowIdStartValue

setRowIdStartValue

public final void setRowIdStartValue(int rowIdStartValue)
Parameters:
rowIdStartValue - the rowIdStartValue to set

getHightlightOutputTable

public final boolean getHightlightOutputTable()
Returns:
the hightlightOutputTable

setHightlightOutputTable

public final void setHightlightOutputTable(boolean hightlightOutputTable)
Parameters:
hightlightOutputTable - the hightlightOutputTable to set

loadSettings

public void loadSettings(NodeSettingsRO settings)
                  throws InvalidSettingsException
Loads the settings from the node settings object.

Parameters:
settings - a node settings object
Throws:
InvalidSettingsException - if some settings are missing

loadSettingsForDialog

public void loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from the node settings object using default values if some settings are missing.

Parameters:
settings - a node settings object

saveSettings

public void saveSettings(NodeSettingsWO settings)
Saves the settings into the node settings object.

Parameters:
settings - a node settings object


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.