public class StiLinearTickMarkCustomValue extends StiCustomValueBase
offset, placement, value| Constructor and Description |
|---|
StiLinearTickMarkCustomValue() |
StiLinearTickMarkCustomValue(double value) |
StiLinearTickMarkCustomValue(double value,
java.lang.Double offset,
java.lang.Double relativeWidth,
java.lang.Double relativeHeight,
StiPlacement placement,
StiGaugeElementSkin skin) |
| Modifier and Type | Method and Description |
|---|---|
StiCustomValueBase |
createNew() |
StiComponentId |
getComponentId() |
java.lang.String |
getLocalizedName() |
java.lang.Double |
getRelativeHeight()
the height factor relative to the height of the basic component.
|
java.lang.Double |
getRelativeWidth()
the width ratio relative to the height of the basic component.
|
StiGaugeElementSkin |
getSkin()
the skin of the component rendering.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setRelativeHeight(java.lang.Double relativeHeight)
the height factor relative to the height of the basic component.
|
void |
setRelativeWidth(java.lang.Double relativeWidth)
the width ratio relative to the height of the basic component.
|
void |
setSkin(StiGaugeElementSkin skin)
the skin of the component rendering.
|
java.lang.String |
toString() |
clone, getOffset, getPlacement, getValue, setOffset, setPlacement, setValuepublic StiLinearTickMarkCustomValue()
public StiLinearTickMarkCustomValue(double value)
public StiLinearTickMarkCustomValue(double value,
java.lang.Double offset,
java.lang.Double relativeWidth,
java.lang.Double relativeHeight,
StiPlacement placement,
StiGaugeElementSkin skin)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in class StiCustomValueBaseJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in class StiCustomValueBaseJSONExceptionpublic StiComponentId getComponentId()
getComponentId in class StiCustomValueBasepublic java.lang.Double getRelativeWidth()
public void setRelativeWidth(java.lang.Double relativeWidth)
relativeWidth - the relativeWidth to setpublic java.lang.Double getRelativeHeight()
public void setRelativeHeight(java.lang.Double relativeHeight)
relativeHeight - the relativeHeight to setpublic StiGaugeElementSkin getSkin()
public void setSkin(StiGaugeElementSkin skin)
skin - the skin to setpublic java.lang.String getLocalizedName()
getLocalizedName in class StiCustomValueBasepublic java.lang.String toString()
toString in class java.lang.Objectpublic StiCustomValueBase createNew()
createNew in class StiCustomValueBaseCopyright © 2019 Stimulsoft. All Rights Reserved.