public abstract class StiTickBase extends StiGaugeElement
animation, scaleREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiTickBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkTickValue(double[] skipValues,
double[] skipIndices,
double key,
int value) |
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance.
|
protected java.util.TreeMap<java.lang.Double,java.lang.Double> |
getMajorCollections() |
java.lang.Double |
getMaximumValue()
the maximum value to which displaying should be.
|
java.lang.Double |
getMinimumValue()
the minimum value, with which displaying should begin.
|
protected java.util.TreeMap<java.lang.Double,java.lang.Double> |
getMinorCollections() |
double |
getOffset()
the offset from the scale based on the StiPlacement.
|
protected double |
getOffset(java.lang.Double value) |
StiPlacement |
getPlacement()
the placement of the tick relative to the scale.
|
protected StiPlacement |
getPlacement(StiPlacement value) |
protected java.util.TreeMap<java.lang.Double,java.lang.Double> |
getPointCollection() |
StiSkipIndicesExpression |
getSkipIndices()
the indexes of values that cannot be displayed.
|
double[] |
getSkipIndicesObj() |
StiSkipValuesExpression |
getSkipValues()
the values that should not be rendered.
|
double[] |
getSkipValuesObj() |
protected boolean |
isSkipMajorValues() |
void |
LoadFromJsonObject(JSONObject jObject) |
void |
prepareGaugeElement() |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setMaximumValue(java.lang.Double maximumValue)
the maximum value to which displaying should be.
|
void |
setMinimumValue(java.lang.Double minimumValue)
the minimum value, with which displaying should begin.
|
void |
setOffset(double offset)
the offset from the scale based on the StiPlacement.
|
void |
setPlacement(StiPlacement placement)
the placement of the tick relative to the scale.
|
void |
setSkipIndices(StiSkipIndicesExpression skipIndices)
the indexes of values that cannot be displayed.
|
void |
setSkipIndicesObj(double[] skipIndicesObj) |
void |
setSkipValues(StiSkipValuesExpression skipValues)
the values that should not be rendered.
|
void |
setSkipValuesObj(double[] skipValuesObj) |
cleanReference, createNew, getAnimation, getElementType, getLocalizeName, getReference, getScale, setAnimation, setReference, setScaleapplyStyle, drawElement, isAllowApplyStyle, setAllowApplyStylepublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiGaugeElementJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiGaugeElementJSONExceptionpublic java.lang.Object clone()
StiElementBaseclone in class StiElementBasepublic StiSkipValuesExpression getSkipValues()
public void setSkipValues(StiSkipValuesExpression skipValues)
skipValues - the skipValues to setpublic StiSkipIndicesExpression getSkipIndices()
public void setSkipIndices(StiSkipIndicesExpression skipIndices)
skipIndices - the skipIndices to setpublic StiPlacement getPlacement()
public void setPlacement(StiPlacement placement)
placement - the placement to setpublic double[] getSkipValuesObj()
public void setSkipValuesObj(double[] skipValuesObj)
skipValuesObj - the skipValuesObj to setpublic double[] getSkipIndicesObj()
public void setSkipIndicesObj(double[] skipIndicesObj)
skipIndicesObj - the skipIndicesObj to setpublic double getOffset()
public void setOffset(double offset)
offset - the offset to setpublic java.lang.Double getMinimumValue()
public void setMinimumValue(java.lang.Double minimumValue)
minimumValue - the minimumValue to setpublic java.lang.Double getMaximumValue()
public void setMaximumValue(java.lang.Double maximumValue)
maximumValue - the maximumValue to setprotected boolean isSkipMajorValues()
protected java.util.TreeMap<java.lang.Double,java.lang.Double> getPointCollection()
protected java.util.TreeMap<java.lang.Double,java.lang.Double> getMinorCollections()
protected java.util.TreeMap<java.lang.Double,java.lang.Double> getMajorCollections()
protected boolean checkTickValue(double[] skipValues,
double[] skipIndices,
double key,
int value)
public void prepareGaugeElement()
prepareGaugeElement in class StiGaugeElementprotected double getOffset(java.lang.Double value)
protected StiPlacement getPlacement(StiPlacement value)
Copyright © 2019 Stimulsoft. All Rights Reserved.