public final class GlassEffect extends NodeEffect
Diagram
by adding
an instance of this class to the NodeEffects
collection.Constructor and Description |
---|
GlassEffect()
Initializes a new instance of the
GlassEffect class. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
NodeEffect.clone() override. |
java.awt.Color |
getGlowColor()
Gets the color of the glow portion of the effect.
|
java.awt.Color |
getReflectionColor()
Gets the color of the reflection portion of the effect.
|
GlassEffectType |
getType()
Gets the type of the glass effect.
|
boolean |
getUsePenAsGlow()
Gets a value indicating whether the glow portion of the effect
should be painted with the Pen color of the respective node.
|
void |
readExternal(java.io.ObjectInput in)
|
void |
setGlowColor(java.awt.Color value)
Sets the color of the glow portion of the effect.
|
void |
setReflectionColor(java.awt.Color value)
Sets the color of the reflection portion of the effect.
|
void |
setType(GlassEffectType value)
Sets the type of the glass effect.
|
void |
setUsePenAsGlow(boolean value)
Sets a value indicating whether the glow portion of the effect
should be painted with the Pen color of the respective node.
|
void |
writeExternal(java.io.ObjectOutput out)
|
addPropertyChangeListener, removePropertyChangeListener
public GlassEffect()
GlassEffect
class.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class NodeEffect
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class NodeEffect
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.Object clone()
NodeEffect.clone()
override.clone
in class NodeEffect
public GlassEffectType getType()
public void setType(GlassEffectType value)
public java.awt.Color getGlowColor()
public void setGlowColor(java.awt.Color value)
public boolean getUsePenAsGlow()
public void setUsePenAsGlow(boolean value)
public java.awt.Color getReflectionColor()
public void setReflectionColor(java.awt.Color value)