Class StiAxisTicks
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.chart.view.axis.StiAxisTicks
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiAxisTicks,Cloneable
-
Field Summary
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionStiAxisTicks(boolean visible, float length, boolean minorVisible, float minorLength, int minorCount, int step) StiAxisTicks(boolean visible, float length, boolean minorVisible, float minorLength, int minorCount, int step, float lengthUnderLabels) -
Method Summary
Modifier and TypeMethodDescriptionfinal Objectclone()Creates a new object that is a copy of the current instance.final floatGets or sets length of one major tick.final floatGets or sets length of one major tick under labels.final intGets or sets count of minor ticks between two major ticks.final floatGets or sets length of one minor tick.booleanGets or sets visibility of minor ticks.final intgetStep()Gets or sets value which indicates on which steps major ticks will be displayed.booleanGets or sets visility of major ticks.voidLoadFromJsonObject(JSONObject jObject) final voidsetLength(float value) final voidsetLengthUnderLabels(float value) final voidsetMinorCount(int value) final voidsetMinorLength(float value) voidsetMinorVisible(boolean value) final voidsetStep(int value) voidsetVisible(boolean value) Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReferenceMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
-
Constructor Details
-
StiAxisTicks
public StiAxisTicks() -
StiAxisTicks
public StiAxisTicks(boolean visible, float length, boolean minorVisible, float minorLength, int minorCount, int step) -
StiAxisTicks
public StiAxisTicks(boolean visible, float length, boolean minorVisible, float minorLength, int minorCount, int step, float lengthUnderLabels)
-
-
Method Details
-
clone
Creates a new object that is a copy of the current instance.- Specified by:
clonein interfaceIStiAxisTicks- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
getLengthUnderLabels
public final float getLengthUnderLabels()Gets or sets length of one major tick under labels.- Specified by:
getLengthUnderLabelsin interfaceIStiAxisTicks
-
setLengthUnderLabels
public final void setLengthUnderLabels(float value) - Specified by:
setLengthUnderLabelsin interfaceIStiAxisTicks
-
getLength
public final float getLength()Gets or sets length of one major tick.- Specified by:
getLengthin interfaceIStiAxisTicks
-
setLength
public final void setLength(float value) - Specified by:
setLengthin interfaceIStiAxisTicks
-
getMinorLength
public final float getMinorLength()Gets or sets length of one minor tick.- Specified by:
getMinorLengthin interfaceIStiAxisTicks
-
setMinorLength
public final void setMinorLength(float value) - Specified by:
setMinorLengthin interfaceIStiAxisTicks
-
getMinorCount
public final int getMinorCount()Gets or sets count of minor ticks between two major ticks.- Specified by:
getMinorCountin interfaceIStiAxisTicks
-
setMinorCount
public final void setMinorCount(int value) - Specified by:
setMinorCountin interfaceIStiAxisTicks
-
getStep
public final int getStep()Gets or sets value which indicates on which steps major ticks will be displayed.- Specified by:
getStepin interfaceIStiAxisTicks
-
setStep
public final void setStep(int value) - Specified by:
setStepin interfaceIStiAxisTicks
-
getMinorVisible
public boolean getMinorVisible()Gets or sets visibility of minor ticks.- Specified by:
getMinorVisiblein interfaceIStiAxisTicks
-
setMinorVisible
public void setMinorVisible(boolean value) - Specified by:
setMinorVisiblein interfaceIStiAxisTicks
-
getVisible
public boolean getVisible()Gets or sets visility of major ticks.- Specified by:
getVisiblein interfaceIStiAxisTicks
-
setVisible
public void setVisible(boolean value) - Specified by:
setVisiblein interfaceIStiAxisTicks
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-