Class DotDefaultNodeStyleUtil
- java.lang.Object
-
- org.eclipse.gef.dot.internal.ui.conversion.DotDefaultNodeStyleUtil
-
- All Implemented Interfaces:
DotNodeStyleUtil
- Direct Known Subclasses:
DotClusterStyleUtil,DotRecordBasedNodeStyleUtil
public class DotDefaultNodeStyleUtil extends java.lang.Object implements DotNodeStyleUtil
-
-
Field Summary
Fields Modifier and Type Field Description protected DotColorUtilcolorUtilprotected org.eclipse.gef.graph.Nodedot
-
Constructor Summary
Constructors Constructor Description DotDefaultNodeStyleUtil(DotColorUtil colorUtil, org.eclipse.gef.graph.Node dot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddNodeStyle(java.lang.StringBuilder zestStyle, org.eclipse.gef.dot.internal.language.style.NodeStyle style, boolean penwidthUnset)protected org.eclipse.gef.dot.internal.language.color.ColorcolorAttribute()protected java.lang.StringcolorschemeAttribute()java.lang.StringBuildercomputeZestStyle()Computes Zest node shape styleprotected org.eclipse.gef.dot.internal.language.colorlist.ColorListfillcolorAttribute()protected booleanfillCondition()protected java.lang.StringfillFxCssString()booleanhasStyle(org.eclipse.gef.dot.internal.language.style.NodeStyle nodeStyle)Checks if node has given styleprotected java.lang.DoublepenwidthAttribute()protected org.eclipse.gef.dot.internal.language.shape.ShapeshapeAttribute()protected java.lang.StringstrokeColorFxCssString()protected java.lang.StringstrokeWidthFxCssString()protected org.eclipse.gef.dot.internal.language.style.StylestyleAttribute()
-
-
-
Field Detail
-
colorUtil
protected final DotColorUtil colorUtil
-
dot
protected final org.eclipse.gef.graph.Node dot
-
-
Constructor Detail
-
DotDefaultNodeStyleUtil
public DotDefaultNodeStyleUtil(DotColorUtil colorUtil, org.eclipse.gef.graph.Node dot)
-
-
Method Detail
-
computeZestStyle
public java.lang.StringBuilder computeZestStyle()
Description copied from interface:DotNodeStyleUtilComputes Zest node shape style- Specified by:
computeZestStylein interfaceDotNodeStyleUtil- Returns:
- StringBuilder containing node shape style
-
hasStyle
public boolean hasStyle(org.eclipse.gef.dot.internal.language.style.NodeStyle nodeStyle)
Description copied from interface:DotNodeStyleUtilChecks if node has given style- Specified by:
hasStylein interfaceDotNodeStyleUtil- Returns:
- true, if node has nodeStyle
-
addNodeStyle
protected void addNodeStyle(java.lang.StringBuilder zestStyle, org.eclipse.gef.dot.internal.language.style.NodeStyle style, boolean penwidthUnset)
-
fillFxCssString
protected java.lang.String fillFxCssString()
-
strokeWidthFxCssString
protected java.lang.String strokeWidthFxCssString()
-
strokeColorFxCssString
protected java.lang.String strokeColorFxCssString()
-
shapeAttribute
protected org.eclipse.gef.dot.internal.language.shape.Shape shapeAttribute()
-
colorschemeAttribute
protected java.lang.String colorschemeAttribute()
-
colorAttribute
protected org.eclipse.gef.dot.internal.language.color.Color colorAttribute()
-
penwidthAttribute
protected java.lang.Double penwidthAttribute()
-
fillcolorAttribute
protected org.eclipse.gef.dot.internal.language.colorlist.ColorList fillcolorAttribute()
-
fillCondition
protected boolean fillCondition()
-
styleAttribute
protected org.eclipse.gef.dot.internal.language.style.Style styleAttribute()
-
-