public class DotDefaultNodeStyleUtil extends java.lang.Object implements DotNodeStyleUtil
Modifier and Type | Field and Description |
---|---|
protected DotColorUtil |
colorUtil |
protected org.eclipse.gef.graph.Node |
dot |
Constructor and Description |
---|
DotDefaultNodeStyleUtil(DotColorUtil colorUtil,
org.eclipse.gef.graph.Node dot) |
Modifier and Type | Method and Description |
---|---|
protected void |
addNodeStyle(java.lang.StringBuilder zestStyle,
org.eclipse.gef.dot.internal.language.style.NodeStyle style,
boolean penwidthUnset) |
protected org.eclipse.gef.dot.internal.language.color.Color |
colorAttribute() |
protected java.lang.String |
colorschemeAttribute() |
java.lang.StringBuilder |
computeZestStyle()
Computes Zest node shape style
|
protected org.eclipse.gef.dot.internal.language.colorlist.ColorList |
fillcolorAttribute() |
protected boolean |
fillCondition() |
protected java.lang.String |
fillFxCssString() |
boolean |
hasStyle(org.eclipse.gef.dot.internal.language.style.NodeStyle nodeStyle)
Checks if node has given style
|
protected java.lang.Double |
penwidthAttribute() |
protected org.eclipse.gef.dot.internal.language.shape.Shape |
shapeAttribute() |
protected java.lang.String |
strokeColorFxCssString() |
protected java.lang.String |
strokeWidthFxCssString() |
protected org.eclipse.gef.dot.internal.language.style.Style |
styleAttribute() |
protected final DotColorUtil colorUtil
protected final org.eclipse.gef.graph.Node dot
public DotDefaultNodeStyleUtil(DotColorUtil colorUtil, org.eclipse.gef.graph.Node dot)
public java.lang.StringBuilder computeZestStyle()
DotNodeStyleUtil
computeZestStyle
in interface DotNodeStyleUtil
public boolean hasStyle(org.eclipse.gef.dot.internal.language.style.NodeStyle nodeStyle)
DotNodeStyleUtil
hasStyle
in interface DotNodeStyleUtil
protected void addNodeStyle(java.lang.StringBuilder zestStyle, org.eclipse.gef.dot.internal.language.style.NodeStyle style, boolean penwidthUnset)
protected java.lang.String fillFxCssString()
protected java.lang.String strokeWidthFxCssString()
protected java.lang.String strokeColorFxCssString()
protected org.eclipse.gef.dot.internal.language.shape.Shape shapeAttribute()
protected java.lang.String colorschemeAttribute()
protected org.eclipse.gef.dot.internal.language.color.Color colorAttribute()
protected java.lang.Double penwidthAttribute()
protected org.eclipse.gef.dot.internal.language.colorlist.ColorList fillcolorAttribute()
protected boolean fillCondition()
protected org.eclipse.gef.dot.internal.language.style.Style styleAttribute()
Copyright (c) 2014 itemis AG and others. All rights reserved.