com.mindfusion.diagramming
Class NodeEffect

java.lang.Object
  extended by com.mindfusion.diagramming.NodeEffect
All Implemented Interfaces:
NotifyPropertyChanged, java.io.Externalizable, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AeroEffect, GlassEffect

public abstract class NodeEffect
extends java.lang.Object
implements java.io.Externalizable, java.lang.Cloneable, NotifyPropertyChanged

Represents the base class of all visual effects that can be applied to the nodes in a Diagram. Effects can be applied by adding instances of the concrete effect classes to the NodeEffects collection of the Diagram.

See Also:
Serialized Form

Constructor Summary
protected NodeEffect()
          Initializes a new instance of the NodeEffect class.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
abstract  java.lang.Object clone()
          Cloneable#clone implementation.
 void readExternal(java.io.ObjectInput in)
          Externalizable.readExternal(java.io.ObjectInput) implementation.
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void writeExternal(java.io.ObjectOutput out)
          Externalizable.writeExternal(java.io.ObjectOutput) implementation.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeEffect

protected NodeEffect()
Initializes a new instance of the NodeEffect class.

Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Externalizable.writeExternal(java.io.ObjectOutput) implementation.

Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Externalizable.readExternal(java.io.ObjectInput) implementation.

Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

clone

public abstract java.lang.Object clone()
Cloneable#clone implementation.

Overrides:
clone in class java.lang.Object
Returns:
A new effect that is a copy of this effect.

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface NotifyPropertyChanged

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface NotifyPropertyChanged