|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
com.stimulsoft.report.infographics.gauge.primitives.indicators.StiIndicatorBase
com.stimulsoft.report.infographics.gauge.indicators.StiStateIndicator
public class StiStateIndicator
Copyright Stimulsoft
Field Summary |
---|
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiStateIndicator()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance. |
StiGaugeElement |
createNew()
|
void |
drawElement(StiGaugeContextPainter context)
|
StiComponentId |
getComponentId()
|
StiGaugeElementSkin |
getCustomSkin()
|
StiGaugeElemenType |
getElementType()
|
StiFilterCollection |
getFilters()
|
StiFont |
getFont()
font of component. |
java.lang.String |
getFormat()
the format string for the ShowValue property. |
double |
getLeft()
X coordinate of the indicator relative to the scale dimension. |
java.lang.String |
getLocalizeName()
|
double |
getRelativeHeight()
relative height of the indicator. |
double |
getRelativeWidth()
relative width of the indicator. |
StiStateSkin |
getSkin()
the skin of the component rendering. |
StiBrush |
getTextBrush()
a brush to draw text. |
double |
getTop()
Y coordinate of the indicator relative to the scale dimension. |
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 |
setFilters(StiFilterCollection filters)
|
void |
setFont(StiFont font)
font of component. |
void |
setFormat(java.lang.String format)
the format string for the ShowValue property. |
void |
setLeft(double left)
X coordinate of the indicator relative to the scale dimension. |
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(StiStateSkin skin)
the skin of the component rendering. |
void |
setTextBrush(StiBrush textBrush)
a brush to draw text. |
void |
setTop(double top)
Y coordinate of the indicator relative to the scale dimension. |
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.indicators.StiIndicatorBase |
---|
getBorderBrush, getBorderWidth, getBrush, getGetValueEvent, getPlacement, getValue, getValueObj, InvokeGetValue, prepareGaugeElement, setBorderBrush, setBorderWidth, setBrush, setGetValueEvent, setPlacement, setValue, setValueObj |
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement |
---|
cleanReference, getAnimation, getReference, getScale, setAnimation, setReference, setScale |
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase |
---|
applyStyle, isAllowApplyStyle, setAllowApplyStyle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StiStateIndicator()
Method Detail |
---|
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiIndicatorBase
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiIndicatorBase
JSONException
public java.lang.Object clone()
StiElementBase
clone
in class StiIndicatorBase
public StiComponentId getComponentId()
public java.lang.String getFormat()
getFormat
in interface IStiGaugeMarker
public void setFormat(java.lang.String format)
setFormat
in interface IStiGaugeMarker
format
- the format to setpublic boolean isShowValue()
isShowValue
in interface IStiGaugeMarker
public void setShowValue(boolean showValue)
setShowValue
in interface IStiGaugeMarker
showValue
- the showValue to setpublic StiBrush getTextBrush()
getTextBrush
in interface IStiGaugeMarker
public void setTextBrush(StiBrush textBrush)
setTextBrush
in interface IStiGaugeMarker
textBrush
- the textBrush to setpublic StiFont getFont()
getFont
in interface IStiGaugeMarker
public void setFont(StiFont font)
setFont
in interface IStiGaugeMarker
font
- the font to setpublic StiGaugeElemenType getElementType()
getElementType
in class StiGaugeElement
public java.lang.String getLocalizeName()
getLocalizeName
in class StiGaugeElement
public StiFilterCollection getFilters()
public void setFilters(StiFilterCollection filters)
filters
- the filters to setpublic double getLeft()
public void setLeft(double left)
left
- the left to setpublic double getTop()
public void setTop(double top)
top
- the top 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 StiStateSkin getSkin()
public void setSkin(StiStateSkin skin)
skin
- the skin to setpublic StiGaugeElementSkin getCustomSkin()
public void setCustomSkin(StiGaugeElementSkin customSkin)
customSkin
- the customSkin to setpublic StiGaugeElement createNew()
createNew
in class StiGaugeElement
public void drawElement(StiGaugeContextPainter context)
drawElement
in class StiElementBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |