org.knime.core.node.workflow
Class NodePropertyChangedEvent

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

public class NodePropertyChangedEvent
extends EventObject

Event fired when properties of a node change. Monitored properties are represented by the NodePropertyChangedEvent.NodeProperty enum.

Author:
Bernd Wiswedel, KNIME.com, Zurich, Switzerland
See Also:
Serialized Form

Nested Class Summary
static class NodePropertyChangedEvent.NodeProperty
          Property types that can possibly change.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NodePropertyChangedEvent(NodeID src, NodePropertyChangedEvent.NodeProperty property)
          Create new event.
 
Method Summary
 NodePropertyChangedEvent.NodeProperty getProperty()
           
 NodeID getSource()
          
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodePropertyChangedEvent

public NodePropertyChangedEvent(NodeID src,
                                NodePropertyChangedEvent.NodeProperty property)
Create new event.

Parameters:
src - the NodeID of the NodeContainer whose property has changed (not null)
property - The property that changed (not null)
Method Detail

getSource

public NodeID getSource()

Overrides:
getSource in class EventObject

getProperty

public NodePropertyChangedEvent.NodeProperty getProperty()
Returns:
the property


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.