public class ShapeNodeSVGUI extends NodeSVGUI
element, network
Constructor and Description |
---|
ShapeNodeSVGUI(TSVGNetwork network,
ShapeNode shapeNode)
Create a shape node svg ui with the given network and the shape node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendClassName(java.lang.StringBuffer head) |
protected void |
prepareElementSVGHeader(SVGContext context,
java.lang.StringBuffer head) |
protected void |
toArrowSVG(SVGContext context,
java.lang.StringBuffer sb,
java.awt.Shape shape,
java.awt.Rectangle bounds) |
protected SVGStruct |
toCustomDrawBodySVG(SVGContext context)
Gets the svg struct when the element use custom draw body svg.
|
getImageUrl, toDefaultBodySVG
appendCustomStateOutline, appendDefaultStateOutline, getCustomDrawFillObject, getHotspot, toBodySVG
appendCustomerSVGAfterBody, appendCustomerSVGBeforeBody, appendElementBodyProperties, getBounds, getElement, getFillObject, getGradientID, getNetwork, getPaintBodyColor, getRenderAlpha, getStateOutlineColor, toAlarmAttachmentSVG, toAttachmentSVG, toAttributesSVG, toBorderSVG, toIconAttachmentSVG, toLabelAttachmentSVG, toMessageAttachmentSVG, toSVG
public ShapeNodeSVGUI(TSVGNetwork network, ShapeNode shapeNode)
protected void appendClassName(java.lang.StringBuffer head)
protected void prepareElementSVGHeader(SVGContext context, java.lang.StringBuffer head)
prepareElementSVGHeader
in class AbstractElementSVGUI
protected SVGStruct toCustomDrawBodySVG(SVGContext context)
BaseElementSVGUI
toCustomDrawBodySVG
in class BaseElementSVGUI
protected void toArrowSVG(SVGContext context, java.lang.StringBuffer sb, java.awt.Shape shape, java.awt.Rectangle bounds)
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.