Package com.storedobject.chart
Class Axis.MinorTicks
java.lang.Object
com.storedobject.chart.AbstractPart
com.storedobject.chart.VisiblePart
com.storedobject.chart.Axis.Line
com.storedobject.chart.Axis.AbstractTicks
com.storedobject.chart.Axis.MinorTicks
- All Implemented Interfaces:
ComponentPart,ComponentProperty,VisibleProperty
- Enclosing class:
Axis
Represents the minor tick on the axis line.
- Author:
- Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.final intGet a number of divisions.voidsetDivisions(int divisions) Set the number of divisions.Methods inherited from class com.storedobject.chart.Axis.AbstractTicks
getWidth, setWidthMethods 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
-
MinorTicks
public MinorTicks()Constructor.
-
-
Method Details
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Overrides:
encodeJSONin classAxis.AbstractTicks- Parameters:
sb- Encoded JSON string to be appended to this.
-
getDivisions
public final int getDivisions()Get a number of divisions.- Returns:
- Number of divisions.
-
setDivisions
public void setDivisions(int divisions) Set the number of divisions.- Parameters:
divisions- Number of divisions.
-