public class BaseElementSVGUI extends AbstractElementSVGUI
element, network
Constructor and Description |
---|
BaseElementSVGUI(TSVGNetwork network,
BaseElement element) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendCustomStateOutline(java.lang.StringBuffer sb,
SVGContext context,
java.awt.Rectangle bounds,
java.lang.String id) |
protected void |
appendDefaultStateOutline(java.lang.StringBuffer sb,
SVGContext context,
java.awt.Rectangle bounds) |
protected java.lang.Object |
getCustomDrawFillObject(SVGContext context)
Gets the custom draw fill object.
|
java.awt.Point |
getHotspot(SVGContext context)
Gets the hotspot point of the svgui.
|
protected SVGStruct |
toBodySVG(SVGContext context)
Gets the svg struct of elements's body.
|
protected SVGStruct |
toCustomDrawBodySVG(SVGContext context)
Gets the svg struct when the element use custom draw body svg.
|
protected SVGStruct |
toDefaultBodySVG(SVGContext context)
Gets the svg struct when the element use default body svg.
|
appendCustomerSVGAfterBody, appendCustomerSVGBeforeBody, appendElementBodyProperties, getBounds, getElement, getFillObject, getGradientID, getNetwork, getPaintBodyColor, getRenderAlpha, getStateOutlineColor, prepareElementSVGHeader, toAlarmAttachmentSVG, toAttachmentSVG, toAttributesSVG, toBorderSVG, toIconAttachmentSVG, toLabelAttachmentSVG, toMessageAttachmentSVG, toSVG
public BaseElementSVGUI(TSVGNetwork network, BaseElement element)
protected SVGStruct toBodySVG(SVGContext context)
toBodySVG
in class AbstractElementSVGUI
context
- protected SVGStruct toDefaultBodySVG(SVGContext context)
context
- public java.awt.Point getHotspot(SVGContext context)
context
- protected java.lang.Object getCustomDrawFillObject(SVGContext context)
context
- protected SVGStruct toCustomDrawBodySVG(SVGContext context)
context
- protected void appendDefaultStateOutline(java.lang.StringBuffer sb, SVGContext context, java.awt.Rectangle bounds)
protected void appendCustomStateOutline(java.lang.StringBuffer sb, SVGContext context, java.awt.Rectangle bounds, java.lang.String id)
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.