Package com.storedobject.chart
Class Area
java.lang.Object
com.storedobject.chart.AbstractPart
com.storedobject.chart.VisiblePart
com.storedobject.chart.Area
- All Implemented Interfaces:
ComponentPart,ComponentProperty,VisibleProperty
- Direct Known Subclasses:
Axis.GridAreas
Represents an area (mostly a rectangular block). Mainly used as a building block for constructing grids-like things.
- Author:
- Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.getStyle(boolean create) Get the style.voidSet the style.Methods inherited from class com.storedobject.chart.VisiblePart
isVisible, setVisible, validateMethods inherited from class com.storedobject.chart.AbstractPart
equals, getId, getLabelTag, getName, getSerial, getZ, hashCode, hasId, setSerial, setZMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.chart.ComponentPart
className, getRenderingIndex, setName, setRenderingIndexMethods inherited from interface com.storedobject.chart.VisibleProperty
hide, show
-
Constructor Details
-
Area
public Area()Constructor.
-
-
Method Details
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Overrides:
encodeJSONin classAbstractPart- Parameters:
sb- Encoded JSON string to be appended to this.
-
getStyle
Get the style.- Parameters:
create- Whether to create if not exists or not.- Returns:
- Style.
-
setStyle
-