public class StiGauge extends StiComponent implements IStiExportImageExtended, IStiBorder, IStiBrush
| Modifier and Type | Field and Description |
|---|---|
StiGaugeContextPainter |
painter |
boolean |
shortValue |
canGrow, canShrink, componentPlacement, conditions, interaction, isRendered, page, parent, parentBookmark, PropertyComponentStyle, PropertyDelimiterComponent, PropertyDockable, PropertyInherited, PropertyLinked, PropertyLocked, PropertyMaxSize, PropertyMinSize, PropertyPlaceOnToolbox, PropertyRenderedCount, PropertyRestrictions, PropertySelectionTick, PropertyShowQuickButtons, PropertyUseParentStyles, top, widthpropertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiGauge()
Creates a new StiGauge.
|
StiGauge(StiRectangle rect)
Creates a new StiGauge.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addSize, AllowPrintOn, applyConditions, canContainIn, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, clone, ComponentToPage, ComponentToPage, ComponentToPage, convert, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, fillComponentPlacement, getActualSize, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmark, getBookmarkValue, getBottom, getBuilder, getClickEvent, getClientRectangle, getComponentPlacement, getComponentType, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDockStyle, getDoubleClickEvent, getDrillDownParameters, getEnabled, getEvents, getForceRedrawAll, getgetBookmarkEvent, getgetDrillDownReportEvent, getgetHyperlinkEvent, getgetTagEvent, getgetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getGuid, getHeight, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLeft, getLevel, getLinked, getLocked, getMaxSize, getMeasureGraphics, getMinSize, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPrintable, getPrintOn, getPriority, getQuickInfo, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShift, getShiftMode, getShowQuickButtons, getStates, getTag, getTagValue, getToolboxPosition, getToolTip, getToolTipValue, getTop, getWidth, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, InvokeClick, InvokeDoubleClick, InvokeEndRender, invokeEvents, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, isAutomaticDock, isDesigning, IsParentSelect, NewGuid, OnAfterPrint, OnBeforePrint, OnClick, OnDoubleClick, OngetBookmark, OngetDrillDownReport, OngetHyperlink, OngetTag, OngetToolTip, OnMouseEnter, OnMouseLeave, OnPainted, OnPainting, OnRemoveComponent, packService, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, RestoreState, saveState, select, setAfterPrintEvent, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setCanGrow, setCanShrink, setClickEvent, setClientRectangle, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDockStyle, setDoubleClickEvent, setDrillDownParameters, setEnabled, setgetBookmarkEvent, setgetDrillDownReportEvent, setgetHyperlinkEvent, setgetTagEvent, setgetToolTipEvent, setGrowToHeight, setGuid, setHeight, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeft, setLeftProp, setLinked, setLocked, setMaxSize, setMinSize, setMouseEnterEvent, setMouseLeaveEvent, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShift, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTop, setTopProp, setUseParentStyles, setWidth, setWidthProp, toString, UnPreparegetName, getServiceNamegetProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferenceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImagegetImagepublic boolean shortValue
public StiGaugeContextPainter painter
public StiGauge()
public StiGauge(StiRectangle rect)
rect - The rectangle describes size and position of the component.public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiComponentJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiComponentJSONExceptionpublic StiComponentId getComponentId()
public java.lang.Object clone(boolean cloneProperties)
StiComponentclone 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()
public void setBrush(StiBrush brush)
public boolean isShortValue()
public void setShortValue(boolean shortValue)
shortValue - the shortValue to setpublic java.lang.String getLocalizedCategory()
StiBasegetLocalizedCategory in class StiBasepublic java.lang.String getLocalizedName()
StiBasegetLocalizedName in class StiBasepublic StiRectangle getDefaultClientRectangle()
StiComponentgetDefaultClientRectangle in class StiComponentpublic java.lang.String getComponentStyle()
StiComponentgetComponentStyle in class StiComponentpublic boolean getUseParentStyles()
StiComponentgetUseParentStyles in class StiComponentpublic boolean getCanGrow()
StiComponentgetCanGrow in interface IStiCanGrowgetCanGrow in class StiComponentpublic boolean getCanShrink()
StiComponentgetCanShrink in interface IStiCanShrinkgetCanShrink in class StiComponentpublic boolean getGrowToHeight()
StiComponentgetGrowToHeight in interface IStiGrowToHeightgetGrowToHeight in class StiComponentpublic StiInteraction getInteraction()
StiComponentgetInteraction 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)
Copyright © 2019 Stimulsoft. All Rights Reserved.