org.knime.core.node.config
Class ConfigEditTreeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.knime.core.node.config.ConfigEditTreeEvent
All Implemented Interfaces:
Serializable

public final class ConfigEditTreeEvent
extends EventObject

Event that is fired when the settings associated with the nodes in a ConfigEditTreeModel change.

Author:
Bernd Wiswedel, University of Konstanz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConfigEditTreeEvent(Object eventSource, String[] keyPath, String useVariable, String exposeVariableName)
          Creates new event.
 
Method Summary
 String getExposeVariableName()
           
 String[] getKeyPath()
           
 String getUseVariable()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigEditTreeEvent

ConfigEditTreeEvent(Object eventSource,
                    String[] keyPath,
                    String useVariable,
                    String exposeVariableName)
Creates new event. The source and the keyPath arguments must not be null.

Parameters:
eventSource - The source of the event (the tree model).
keyPath - The path of the node that has changed.
useVariable - The new variable used to overwrite the setting.
exposeVariableName - The newly defined variable to expose the value.
Method Detail

getExposeVariableName

public String getExposeVariableName()
Returns:
The newly defined variable to expose the value (or null).

getUseVariable

public String getUseVariable()
Returns:
The new variable used to overwrite the setting (or null).

getKeyPath

public String[] getKeyPath()
Returns:
The path of the node that has changed.


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.