|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.infographics.gauge.StiGauge
public class StiGauge
Copyright Stimulsoft
| Field Summary | |
|---|---|
StiGaugeContextPainter |
painter
|
boolean |
shortValue
|
| Fields inherited from class com.stimulsoft.report.components.StiComponent |
|---|
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width |
| Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
|---|
REFERENCE_EMPTY, REFERENCE_REPORT |
| Constructor Summary | |
|---|---|
StiGauge()
Creates a new StiGauge. |
|
StiGauge(StiRectangle rect)
Creates a new StiGauge. |
|
| Method Summary | |
|---|---|
void |
applyStyle(IStiGaugeStyle style)
|
java.lang.Object |
clone(boolean cloneProperties)
Creates a new object that is a copy of the current instanc. |
StiComponent |
createNew()
|
void |
drawGauge(StiGaugeContextPainter context)
|
StiBorder |
getBorder()
frame of the component. |
StiBrush |
getBrush()
a brush to fill a component. |
boolean |
getCanGrow()
gets or sets a value which indicates that this object can grow. |
boolean |
getCanShrink()
gets or sets value which indicates that this object can shrink. |
StiComponentId |
getComponentId()
|
java.lang.String |
getComponentStyle()
gets or sets a style of a component. |
java.lang.String |
getCustomStyleName()
|
StiRectangle |
getDefaultClientRectangle()
gets the default client area of a component. |
boolean |
getGrowToHeight()
gets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container. |
java.awt.image.BufferedImage |
getImage(double zoom)
|
java.awt.image.BufferedImage |
getImage(double zoom,
StiExportFormat format)
|
StiInteraction |
getInteraction()
gets interaction options of this component. |
boolean |
getIsAnimation()
|
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
StiScaleCollection |
getScales()
|
IStiGaugeStyle |
getStyle()
style of the chart. |
boolean |
getUseParentStyles()
gets or sets a value which indicates that this component must use styles from parent component. |
boolean |
isExportAsImage(StiExportFormat format)
|
boolean |
isShortValue()
|
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setBorder(StiBorder border)
frame of the component. |
void |
setBrush(StiBrush brush)
a brush to fill a component. |
void |
setCustomStyleName(java.lang.String customStyleName)
|
void |
setIsAnimation(boolean value)
|
void |
setScales(StiScaleCollection scales)
|
void |
setShortValue(boolean shortValue)
|
void |
setStyle(IStiGaugeStyle value)
style of the chart. |
| Methods inherited from class com.stimulsoft.report.StiBase |
|---|
getName, getServiceName |
| Methods inherited from class com.stimulsoft.base.services.StiService |
|---|
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled |
| Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
|---|
cleanReference, getReference, setReference |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended |
|---|
getImage |
| Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage |
|---|
getImage |
| Field Detail |
|---|
public boolean shortValue
public StiGaugeContextPainter painter
| Constructor Detail |
|---|
public StiGauge()
public StiGauge(StiRectangle rect)
rect - The rectangle describes size and position of the component.| Method Detail |
|---|
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiComponentJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiComponentJSONExceptionpublic StiComponentId getComponentId()
public java.lang.Object clone(boolean cloneProperties)
StiComponent
clone in class StiComponentpublic java.awt.image.BufferedImage getImage(double zoom)
public java.awt.image.BufferedImage getImage(double zoom,
StiExportFormat format)
public boolean isExportAsImage(StiExportFormat format)
isExportAsImage in interface IStiExportImageExtendedisExportAsImage in class StiComponentpublic StiBorder getBorder()
getBorder in interface IStiBorderpublic void setBorder(StiBorder border)
setBorder in interface IStiBorderborder - the border to setpublic StiBrush getBrush()
getBrush in interface IStiBrushpublic void setBrush(StiBrush brush)
setBrush in interface IStiBrushbrush - the brush to setpublic boolean isShortValue()
public void setShortValue(boolean shortValue)
shortValue - the shortValue to setpublic java.lang.String getLocalizedCategory()
StiBase
getLocalizedCategory in class StiBasepublic java.lang.String getLocalizedName()
StiBase
getLocalizedName in class StiBasepublic StiRectangle getDefaultClientRectangle()
StiComponent
getDefaultClientRectangle in class StiComponentpublic java.lang.String getComponentStyle()
StiComponent
getComponentStyle in class StiComponentpublic boolean getUseParentStyles()
StiComponent
getUseParentStyles in class StiComponentpublic boolean getCanGrow()
StiComponent
getCanGrow in interface IStiCanGrowgetCanGrow in class StiComponentpublic boolean getCanShrink()
StiComponent
getCanShrink in interface IStiCanShrinkgetCanShrink in class StiComponentpublic boolean getGrowToHeight()
StiComponent
getGrowToHeight in interface IStiGrowToHeightgetGrowToHeight in class StiComponentpublic StiInteraction getInteraction()
StiComponent
getInteraction in interface IStiInteractiongetInteraction in class StiComponentpublic IStiGaugeStyle getStyle()
public void setStyle(IStiGaugeStyle value)
style - the style to setpublic java.lang.String getCustomStyleName()
public void setCustomStyleName(java.lang.String customStyleName)
customStyleName - the customStyleName to setpublic StiScaleCollection getScales()
public void setScales(StiScaleCollection scales)
scales - the scales to setpublic boolean getIsAnimation()
public void setIsAnimation(boolean value)
public void drawGauge(StiGaugeContextPainter context)
public StiComponent createNew()
public void applyStyle(IStiGaugeStyle style)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||