|
||||||||||
| 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.StiNeedle
public class StiNeedle
Copyright Stimulsoft
| Field Summary |
|---|
| Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
|---|
REFERENCE_EMPTY, REFERENCE_REPORT |
| Constructor Summary | |
|---|---|
StiNeedle()
|
|
| Method Summary | |
|---|---|
void |
applyStyle(IStiGaugeStyle style)
Apply style to component which release this interface. |
StiGaugeElement |
createNew()
|
void |
drawElement(StiGaugeContextPainter context)
|
StiBrush |
getBrush()
|
StiBrush |
getCapBorderBrush()
the border of the cap. |
double |
getCapBorderWidth()
the border thickness of the cap. |
StiBrush |
getCapBrush()
a brush to fill a cap. |
StiPoint |
getCenterPoint()
the center coordinate, around which it rotates. |
StiComponentId |
getComponentId()
|
StiGaugeElementSkin |
getCustomSkin()
|
StiGaugeElemenType |
getElementType()
|
double |
getEndWidth()
|
StiFont |
getFont()
font of component. |
java.lang.String |
getFormat()
the format string for the ShowValue property. |
java.lang.String |
getLocalizeName()
|
double |
getOffsetNeedle()
|
double |
getRelativeHeight()
the height factor relative to the height of the basic component. |
double |
getRelativeWidth()
the width ratio relative to the height of the basic component. |
StiNeedleSkin |
getSkin()
the skin of the component rendering. |
double |
getStartWidth()
|
StiBrush |
getTextBrush()
a brush to draw text. |
void |
interactiveClick(StiRectangle rect,
StiPoint p)
|
boolean |
isAutoCalculateCenterPoint()
a value indicating whether to calculate CenterPoint for the indicator automatically. |
boolean |
isShowValue()
a value indicating whether to display a current value of the indicator. |
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setAutoCalculateCenterPoint(boolean autoCalculateCenterPoint)
a value indicating whether to calculate CenterPoint for the indicator automatically. |
void |
setBrush(StiBrush brush)
|
void |
setCapBorderBrush(StiBrush capBorderBrush)
the border of the cap. |
void |
setCapBorderWidth(double capBorderWidth)
the border thickness of the cap. |
void |
setCapBrush(StiBrush capBrush)
a brush to fill a cap. |
void |
setCenterPoint(StiPoint centerPoint)
the center coordinate, around which it rotates. |
void |
setCustomSkin(StiGaugeElementSkin customSkin)
|
void |
setEndWidth(double endWidth)
|
void |
setFont(StiFont font)
font of component. |
void |
setFormat(java.lang.String format)
the format string for the ShowValue property. |
void |
setOffsetNeedle(double offsetNeedle)
|
void |
setRelativeHeight(double relativeHeight)
the height factor relative to the height of the basic component. |
void |
setRelativeWidth(double relativeWidth)
the width ratio relative to the height of the basic component. |
void |
setShowValue(boolean showValue)
a value indicating whether to display a current value of the indicator. |
void |
setSkin(StiNeedleSkin skin)
the skin of the component rendering. |
void |
setStartWidth(double startWidth)
|
void |
setTextBrush(StiBrush textBrush)
a brush to draw text. |
| Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.indicators.StiIndicatorBase |
|---|
clone, getBorderBrush, getBorderWidth, getGetValueEvent, getPlacement, getValue, getValueObj, InvokeGetValue, prepareGaugeElement, setBorderBrush, setBorderWidth, 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 |
|---|
isAllowApplyStyle, setAllowApplyStyle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StiNeedle()
| Method Detail |
|---|
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiIndicatorBaseJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiIndicatorBaseJSONExceptionpublic StiComponentId getComponentId()
public void applyStyle(IStiGaugeStyle style)
IStiApplyStyleGauge
applyStyle in interface IStiApplyStyleGaugeapplyStyle in class StiElementBasepublic java.lang.String getFormat()
public void setFormat(java.lang.String format)
format - the format to setpublic boolean isShowValue()
public void setShowValue(boolean showValue)
showValue - the showValue to setpublic StiBrush getTextBrush()
public void setTextBrush(StiBrush textBrush)
textBrush - the textBrush to setpublic StiFont getFont()
public void setFont(StiFont font)
font - the font to setpublic StiBrush getCapBrush()
public void setCapBrush(StiBrush capBrush)
capBrush - the capBrush to setpublic StiBrush getCapBorderBrush()
public void setCapBorderBrush(StiBrush capBorderBrush)
capBorderBrush - the capBorderBrush to setpublic double getCapBorderWidth()
public void setCapBorderWidth(double capBorderWidth)
capBorderWidth - the capBorderWidth to setpublic double getOffsetNeedle()
public void setOffsetNeedle(double offsetNeedle)
offsetNeedle - the offsetNeedle 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 boolean isAutoCalculateCenterPoint()
public void setAutoCalculateCenterPoint(boolean autoCalculateCenterPoint)
autoCalculateCenterPoint - the autoCalculateCenterPoint to setpublic StiPoint getCenterPoint()
public void setCenterPoint(StiPoint centerPoint)
centerPoint - the centerPoint to setpublic double getRelativeHeight()
public void setRelativeHeight(double relativeHeight)
relativeHeight - the relativeHeight to setpublic double getRelativeWidth()
public void setRelativeWidth(double relativeWidth)
relativeWidth - the relativeWidth to setpublic StiNeedleSkin getSkin()
public void setSkin(StiNeedleSkin skin)
skin - the skin to setpublic StiGaugeElementSkin getCustomSkin()
public void setCustomSkin(StiGaugeElementSkin customSkin)
customSkin - the customSkin to setpublic StiBrush getBrush()
getBrush in class StiIndicatorBasepublic void setBrush(StiBrush brush)
setBrush in class StiIndicatorBasebrush - the brush to setpublic StiGaugeElemenType getElementType()
getElementType in class StiGaugeElementpublic java.lang.String getLocalizeName()
getLocalizeName in class StiGaugeElementpublic StiGaugeElement createNew()
createNew in class StiGaugeElementpublic void drawElement(StiGaugeContextPainter context)
drawElement in class StiElementBase
public void interactiveClick(StiRectangle rect,
StiPoint p)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||