com.mindfusion.diagramming
Class AeroEffect

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

public final class AeroEffect
extends NodeEffect

Represents an effect that adds semitransparency to the node and emphasizes its outline by adding a shade and an inner stroke. This effect can be applied to the nodes in a Diagram by adding an instance of this class to the NodeEffects collection.

See Also:
Serialized Form

Constructor Summary
AeroEffect()
          Initializes a new instance of the AeroEffect class.
 
Method Summary
 java.lang.Object clone()
          NodeEffect.clone() override.
 java.awt.Color getInnerOutlineColor()
          Gets the color of the inner outline.
 float getOpacity()
          Gets the opacity to apply to the node's background.
 java.awt.Color getShadeColor()
          Gets the color of the shade.
 void readExternal(java.io.ObjectInput in)
          NodeEffect.readExternal(java.io.ObjectInput) override.
 void setInnerOutlineColor(java.awt.Color value)
          Sets the color of the inner outline.
 void setOpacity(float value)
          Sets the opacity to apply to the node's background.
 void setShadeColor(java.awt.Color value)
          Sets the color of the shade.
 void writeExternal(java.io.ObjectOutput out)
          NodeEffect.writeExternal(java.io.ObjectOutput) override.
 
Methods inherited from class com.mindfusion.diagramming.NodeEffect
addPropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AeroEffect

public AeroEffect()
Initializes a new instance of the AeroEffect class.

Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
NodeEffect.writeExternal(java.io.ObjectOutput) override.

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

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
NodeEffect.readExternal(java.io.ObjectInput) override.

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

clone

public java.lang.Object clone()
NodeEffect.clone() override.

Specified by:
clone in class NodeEffect
Returns:
A new effect that is a copy of this effect.

getOpacity

public float getOpacity()
Gets the opacity to apply to the node's background. Opacity varies in the range [0..1] where 0 indicates full transparency and 1 indicates the original transparency. Opacity has no effect on image backgrounds.


setOpacity

public void setOpacity(float value)
Sets the opacity to apply to the node's background. Opacity varies in the range [0..1] where 0 indicates full transparency and 1 indicates the original transparency. Opacity has no effect on image backgrounds.


getShadeColor

public java.awt.Color getShadeColor()
Gets the color of the shade.


setShadeColor

public void setShadeColor(java.awt.Color value)
Sets the color of the shade.


getInnerOutlineColor

public java.awt.Color getInnerOutlineColor()
Gets the color of the inner outline.


setInnerOutlineColor

public void setInnerOutlineColor(java.awt.Color value)
Sets the color of the inner outline.