Package com.storedobject.svg
Class Bar
java.lang.Object
com.storedobject.svg.Node
com.storedobject.svg.Element
com.storedobject.svg.Rectangle
com.storedobject.svg.Bar
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HorizontalBar,VerticalBar
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringProvides additional content specific to the node.getLabel()doublelabelGap(double labelGap) voidvoidsetLabelGap(double labelGap) thickness(double thickness) Methods inherited from class com.storedobject.svg.Rectangle
at, at, attributes, getHeight, getPosition, getWidth, height, of, of, of, setHeight, setPosition, setWidth, setX, setY, width, x, yMethods inherited from class com.storedobject.svg.Node
compute, copy, copy, createDocument, equals, escapeXml, flipHorizontally, flipHorizontallyAroundOrigin, flipVertically, flipVerticallyAroundOrigin, getCoordinates, getId, getMargin, getSvg, hashCode, id, ID, IDValue, innerContent, moveTo, moveTo, rotate, rotateAround, rotateAround, rotateAroundCenter, scale, scale, scaleHeightTo, scaleTo, scaleWidthTo, toString, toString, transform, translate, translate
-
Constructor Details
-
Bar
public Bar(double width, double height)
-
-
Method Details
-
setLabel
-
getLabel
-
label
-
setLabelGap
public void setLabelGap(double labelGap) -
getLabelGap
public double getLabelGap() -
labelGap
-
thickness
-
extraContent
Description copied from class:NodeProvides additional content specific to the node. This method is intended to be overridden by subclasses to define custom extra content specific to their implementation. By default, it returns null if no additional content is defined.Note: The extra content should be formatted as per SVG standards with appropriate tags. No validation is performed on the extra content.
- Overrides:
extraContentin classNode- Returns:
- A string representing the extra content of the node, or null if no extra content is defined.
-