|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.flexmarkup.ShinyPlateNodeStyle
A yFiles FLEX client shiny plate node style data object.
| Constructor Summary | |
ShinyPlateNodeStyle()
Creates a new instance using the default settings. |
|
ShinyPlateNodeStyle(IFill fill,
IStroke stroke,
double radius,
Insets insets,
boolean dropShadow)
Creates a new instance using the given parameters. |
|
| Method Summary | |
IFill |
getFill()
Gets the background fill. |
Insets |
getInsets()
Gets the insets. |
double |
getRadius()
Gets the corner radius. |
java.util.Collection |
getSharedInstances()
Returns an Collection for objects that shall be shared. |
IStroke |
getStroke()
Gets the border stroke. |
boolean |
isDropShadow()
Whether to draw a drop shadow. |
void |
setDropShadow(boolean dropShadow)
Whether to draw a drop shadow. |
void |
setFill(IFill fill)
Sets the background fill. |
void |
setInsets(Insets insets)
Sets the insets. |
void |
setRadius(double radius)
Sets the corner radius. |
void |
setStroke(IStroke stroke)
Sets the border stroke. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShinyPlateNodeStyle(IFill fill,
IStroke stroke,
double radius,
Insets insets,
boolean dropShadow)
fill - The background fill.stroke - The border stroke.radius - The corner radius.insets - The style's insets.dropShadow - Whether to draw a drop shadow.public ShinyPlateNodeStyle()
Default: Orange background, no border, radius 5, Insets 5,5,5,5, drop shadow enabled.
| Method Detail |
public IFill getFill()
public void setFill(IFill fill)
fill - The background fill to set.public IStroke getStroke()
public void setStroke(IStroke stroke)
stroke - The border stroke to set.public double getRadius()
public void setRadius(double radius)
radius - The corner radius to set.public Insets getInsets()
public void setInsets(Insets insets)
insets - The insets to set.public boolean isDropShadow()
true if a drop shadow should be drawn.public void setDropShadow(boolean dropShadow)
Default: true.
dropShadow - If set to true a drop shadow will be drawn.public java.util.Collection getSharedInstances()
ISharedInstanceProviderCollection for objects that shall be shared.
getSharedInstances in interface ISharedInstanceProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||