public abstract class StiRangeBase extends java.lang.Object implements IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiRangeBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanReference() |
java.lang.Object |
clone() |
StiRangeBase |
createNew() |
protected abstract void |
drawRange(StiGaugeContextPainter context,
StiScaleBase scale) |
StiBrush |
getBorderBrush()
the border of the component.
|
double |
getBorderWidth()
the border thickness of the component.
|
StiBrush |
getBrush()
a brush to fill a component.
|
double |
getEndValue()
end value of the range.
|
double |
getEndWidth()
end width of the range bar.
|
abstract java.lang.String |
getLocalizeName() |
double |
getOffset()
the offset ratio of an item.
|
StiPlacement |
getPlacement()
the placement of the component.
|
StiScaleRangeList |
getRangeList() |
int |
getReference() |
double |
getStartValue()
start value of the range.
|
double |
getStartWidth()
start width of the range bar.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setBorderBrush(StiBrush borderBrush)
the border of the component.
|
void |
setBorderWidth(double borderWidth)
the border thickness of the component.
|
void |
setBrush(StiBrush brush)
a brush to fill a component.
|
void |
setEndValue(double endValue)
end value of the range.
|
void |
setEndWidth(double endWidth)
end width of the range bar.
|
void |
setOffset(double offset)
the offset ratio of an item.
|
void |
setPlacement(StiPlacement placement)
the placement of the component.
|
void |
setRangeList(StiScaleRangeList rangeList) |
void |
setReference(int reference) |
void |
setStartValue(double startValue)
start value of the range.
|
void |
setStartWidth(double startWidth)
start width of the range bar.
|
public void setReference(int reference)
setReference in interface IStiSerializableRefpublic int getReference()
getReference in interface IStiSerializableRefpublic void cleanReference()
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
JSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
JSONExceptionpublic java.lang.Object clone()
clone in class java.lang.Objectpublic StiBrush getBrush()
public void setBrush(StiBrush brush)
brush - the brush to setpublic StiBrush getBorderBrush()
public void setBorderBrush(StiBrush borderBrush)
borderBrush - the borderBrush to setpublic double getBorderWidth()
public void setBorderWidth(double borderWidth)
borderWidth - the borderWidth to setpublic double getStartValue()
public void setStartValue(double startValue)
startValue - the startValue to setpublic double getEndValue()
public void setEndValue(double endValue)
endValue - the endValue to setpublic double getStartWidth()
public void setStartWidth(double startWidth)
startWidth - the startWidth to setpublic double getEndWidth()
public void setEndWidth(double endWidth)
endWidth - the endWidth to setpublic StiPlacement getPlacement()
public void setPlacement(StiPlacement placement)
placement - the placement to setpublic double getOffset()
public void setOffset(double offset)
offset - the offset to setpublic StiScaleRangeList getRangeList()
public void setRangeList(StiScaleRangeList rangeList)
rangeList - the rangeList to setpublic abstract java.lang.String getLocalizeName()
protected abstract void drawRange(StiGaugeContextPainter context, StiScaleBase scale)
public StiRangeBase createNew()
Copyright © 2019 Stimulsoft. All Rights Reserved.