public abstract class StiMarkerBase extends StiIndicatorBase implements IStiGaugeMarker
animation, scaleREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiMarkerBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance.
|
protected StiGaugeElementSkin |
getActualSkin() |
StiGaugeElementSkin |
getCustomSkin() |
StiFont |
getFont()
font of component.
|
java.lang.String |
getFormat()
the format string for the ShowValue property.
|
double |
getOffset()
offset of the scale object from the scale bar.
|
double |
getRelativeHeight()
relative height of the indicator.
|
double |
getRelativeWidth()
relative width of the indicator.
|
StiMarkerSkin |
getSkin()
the skin of the component rendering.
|
StiBrush |
getTextBrush()
a brush to draw text.
|
boolean |
isShowValue()
a value indicating whether to display a current value of the indicator.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setCustomSkin(StiGaugeElementSkin customSkin) |
void |
setFont(StiFont font)
font of component.
|
void |
setFormat(java.lang.String format)
the format string for the ShowValue property.
|
void |
setOffset(double offset)
offset of the scale object from the scale bar.
|
void |
setRelativeHeight(double relativeHeight)
relative height of the indicator.
|
void |
setRelativeWidth(double relativeWidth)
relative width of the indicator.
|
void |
setShowValue(boolean showValue)
a value indicating whether to display a current value of the indicator.
|
void |
setSkin(StiMarkerSkin skin)
the skin of the component rendering.
|
void |
setTextBrush(StiBrush textBrush)
a brush to draw text.
|
getBorderBrush, getBorderWidth, getBrush, getGetValueEvent, getPlacement, getValue, getValueObj, interactiveClick, InvokeGetValue, OnGetValue, onValueChanged, prepareGaugeElement, setBorderBrush, setBorderWidth, setBrush, setGetValueEvent, setPlacement, setValue, setValueObjcleanReference, createNew, getAnimation, getElementType, getLocalizeName, getReference, getScale, setAnimation, setReference, setScaleapplyStyle, drawElement, isAllowApplyStyle, setAllowApplyStylepublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiIndicatorBaseJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiIndicatorBaseJSONExceptionpublic java.lang.Object clone()
StiElementBaseclone in class StiIndicatorBasepublic double getOffset()
public void setOffset(double offset)
offset - the offset to setpublic double getRelativeWidth()
public void setRelativeWidth(double relativeWidth)
relativeWidth - the relativeWidth to setpublic double getRelativeHeight()
public void setRelativeHeight(double relativeHeight)
relativeHeight - the relativeHeight to setpublic StiMarkerSkin getSkin()
public void setSkin(StiMarkerSkin skin)
skin - the skin to setpublic StiGaugeElementSkin getCustomSkin()
public void setCustomSkin(StiGaugeElementSkin customSkin)
customSkin - the customSkin to setpublic java.lang.String getFormat()
getFormat in interface IStiGaugeMarkerpublic void setFormat(java.lang.String format)
setFormat in interface IStiGaugeMarkerformat - the format to setpublic boolean isShowValue()
isShowValue in interface IStiGaugeMarkerpublic void setShowValue(boolean showValue)
setShowValue in interface IStiGaugeMarkershowValue - the showValue to setpublic StiBrush getTextBrush()
getTextBrush in interface IStiGaugeMarkerpublic void setTextBrush(StiBrush textBrush)
setTextBrush in interface IStiGaugeMarkertextBrush - the textBrush to setpublic StiFont getFont()
getFont in interface IStiGaugeMarkerpublic void setFont(StiFont font)
setFont in interface IStiGaugeMarkerfont - the font to setprotected StiGaugeElementSkin getActualSkin()
Copyright © 2019 Stimulsoft. All Rights Reserved.