public abstract class StiCustomValueBase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
offset |
protected StiPlacement |
placement |
double |
value |
| Constructor and Description |
|---|
StiCustomValueBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance.
|
StiCustomValueBase |
createNew() |
abstract StiComponentId |
getComponentId() |
abstract java.lang.String |
getLocalizedName() |
java.lang.Double |
getOffset()
the offset ratio of an item.
|
StiPlacement |
getPlacement()
the placement of the component.
|
double |
getValue()
value corresponds to this tick element.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setOffset(java.lang.Double offset)
the offset ratio of an item.
|
void |
setPlacement(StiPlacement placement)
the placement of the component.
|
void |
setValue(double value)
value corresponds to this tick element.
|
public double value
protected StiPlacement placement
protected java.lang.Double offset
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
JSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
JSONExceptionpublic abstract StiComponentId getComponentId()
public java.lang.Object clone()
clone in class java.lang.Objectpublic double getValue()
public void setValue(double value)
value - the value to setpublic StiPlacement getPlacement()
public void setPlacement(StiPlacement placement)
placement - the placement to setpublic java.lang.Double getOffset()
public void setOffset(java.lang.Double offset)
offset - the offset to setpublic abstract java.lang.String getLocalizedName()
public StiCustomValueBase createNew()
Copyright © 2019 Stimulsoft. All Rights Reserved.