public class StiShape extends StiComponent implements IStiBrush, IStiBorderColor, IStiExportImageExtended, IStiShape
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 |
|---|
StiShape()
Creates a new component of the type StiShape.
|
StiShape(StiRectangle rect)
Creates a new component of the type StiShape.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone(boolean cloneProperties)
Creates a new object that is a copy of the current instance.
|
StiColor |
getBorderColor()
Gets or sets border color.
|
StiBrush |
getBrush()
Gets or sets 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.
|
StiRectangle |
getDefaultClientRectangle()
Gets or sets the default client area of a component.
|
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category.
|
java.lang.String |
getLocalizedName()
Gets a localized component name.
|
StiShapeTypeService |
getShapeType()
Gets or sets type of the shape.
|
double |
getSize()
Gets or sets size of the border.
|
StiPenStyle |
getStyle()
Gets or sets a pen style.
|
int |
getToolboxPosition()
Gets value to sort a position in the toolbox.
|
boolean |
isExportAsImage(StiExportFormat format) |
boolean |
IsExportAsImage(StiExportFormat format) |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setBorderColor(StiColor value) |
void |
setBrush(StiBrush value) |
void |
setCanGrow(boolean value) |
void |
setCanShrink(boolean value) |
void |
setShapeType(StiShapeTypeService value) |
void |
setSize(double value) |
void |
setStyle(StiPenStyle value) |
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, getComponentStyle, 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, getGrowToHeight, getGuid, getHeight, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, 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, getToolTip, getToolTipValue, getTop, getUseParentStyles, 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, 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 StiShape()
public StiShape(StiRectangle rect)
rect - The rectangle describes size and position of the component.public boolean getCanShrink()
StiComponentgetCanShrink in interface IStiCanShrinkgetCanShrink in class StiComponentpublic void setCanShrink(boolean value)
setCanShrink in interface IStiCanShrinksetCanShrink in class StiComponentpublic boolean getCanGrow()
StiComponentgetCanGrow in interface IStiCanGrowgetCanGrow in class StiComponentpublic void setCanGrow(boolean value)
setCanGrow in interface IStiCanGrowsetCanGrow in class StiComponentpublic java.lang.Object clone(boolean cloneProperties)
clone in class StiComponentpublic boolean isExportAsImage(StiExportFormat format)
isExportAsImage in interface IStiExportImageExtendedisExportAsImage in class StiComponentpublic StiBrush getBrush()
public final StiColor getBorderColor()
getBorderColor in interface IStiBorderColorpublic final void setBorderColor(StiColor value)
setBorderColor in interface IStiBorderColorpublic int getToolboxPosition()
getToolboxPosition in class StiComponentpublic java.lang.String getLocalizedCategory()
getLocalizedCategory in class StiBasepublic java.lang.String getLocalizedName()
getLocalizedName in class StiBasepublic StiRectangle getDefaultClientRectangle()
getDefaultClientRectangle in class StiComponentpublic final StiPenStyle getStyle()
public final void setStyle(StiPenStyle value)
public final double getSize()
public final void setSize(double value)
public final StiShapeTypeService getShapeType()
public final void setShapeType(StiShapeTypeService value)
public boolean IsExportAsImage(StiExportFormat format)
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 StiComponentJSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.