public class StiRectanglePrimitive extends StiCrossLinePrimitive implements IStiHideBorderFromDesigner, IStiBorder
StoredEndPoint, StoredStartPointcanGrow, 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 |
|---|
StiRectanglePrimitive()
Creates a new StiRectanglePrimitive.
|
StiRectanglePrimitive(StiRectangle rect)
Creates a new StiRectanglePrimitive.
|
| Modifier and Type | Method and Description |
|---|---|
void |
convert(StiUnit oldUnit,
StiUnit newUnit)
Converts a component out of one unit into another.
|
StiBorder |
getBorder()
Gets or sets frame of the component.
|
boolean |
getBottomSide()
Gets os sets property which indicates to draw bottom side of the rectangle or no.
|
boolean |
getLeftSide()
Gets os sets property which indicates to draw left side of the rectangle or no.
|
java.lang.String |
getLocalizedName()
Gets a localized component name.
|
boolean |
getRightSide()
Gets os sets property which indicates to draw right side of the rectangle or no.
|
int |
getToolboxPosition()
Gets value to sort a position in the toolbox.
|
boolean |
getTopSide()
Gets os sets property which indicates to draw top side of the rectangle or no.
|
double |
getWidth()
gets or sets width of a component.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setBorder(StiBorder value) |
void |
setBottomSide(boolean value) |
void |
setLeftSide(boolean value) |
void |
setRightSide(boolean value) |
void |
setTopSide(boolean value) |
void |
setWidth(double value) |
canContainIn, getEndPoint, getEndPoint, getHeight, getLeft, getLinked, getStartPoint, getStartPoint, getTop, OnRemoveComponent, setHeight, setLeft, setLinked, setTopgetColor, getDefaultClientRectangle, getInvalidateOnMouseOver, getSize, getStyle, setColor, setSize, setStylegetCanGrow, getCanShrink, getClientRectangle, getComponentType, getConditions, getDisplayRectangle, getDockStyle, getGrowToHeight, getLocalizedCategory, getPriority, getShift, getUseParentStyles, setCanGrow, setCanShrink, setClientRectangle, setConditions, setDirectDisplayRectangle, setDisplayRectangle, setDockStyle, setGrowToHeight, setShift, setUseParentStylesaddSize, AllowPrintOn, applyConditions, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, clone, clone, ComponentToPage, ComponentToPage, ComponentToPage, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, fillComponentPlacement, getActualSize, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmark, getBookmarkValue, getBottom, getBuilder, getClickEvent, getComponentPlacement, getComponentStyle, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDoubleClickEvent, getDrillDownParameters, getEnabled, getEvents, getForceRedrawAll, getgetBookmarkEvent, getgetDrillDownReportEvent, getgetHyperlinkEvent, getgetTagEvent, getgetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getGuid, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLevel, getLocked, getMaxSize, getMeasureGraphics, getMinSize, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPrintable, getPrintOn, getQuickInfo, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShiftMode, getShowQuickButtons, getStates, getTag, getTagValue, getToolTip, getToolTipValue, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, InvokeClick, InvokeDoubleClick, InvokeEndRender, invokeEvents, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, isAutomaticDock, isDesigning, isExportAsImage, IsParentSelect, NewGuid, OnAfterPrint, OnBeforePrint, OnClick, OnDoubleClick, OngetBookmark, OngetDrillDownReport, OngetHyperlink, OngetTag, OngetToolTip, OnMouseEnter, OnMouseLeave, OnPainted, OnPainting, packService, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, RestoreState, saveState, select, setAfterPrintEvent, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setClickEvent, setComponentPlacement, setComponentStyle, setCurrentBookmark, setDelimiterComponent, setDockable, setDoubleClickEvent, setDrillDownParameters, setEnabled, setgetBookmarkEvent, setgetDrillDownReportEvent, setgetHyperlinkEvent, setgetTagEvent, setgetToolTipEvent, setGuid, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeftProp, setLocked, setMaxSize, setMinSize, setMouseEnterEvent, setMouseLeaveEvent, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTopProp, setWidthProp, toString, UnPreparegetName, getServiceNamegetProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferencepublic StiRectanglePrimitive()
public StiRectanglePrimitive(StiRectangle rect)
rect - The rectangle describes size and position of the component.public final StiBorder getBorder()
getBorder in interface IStiBorderpublic final void setBorder(StiBorder value)
setBorder in interface IStiBorderpublic void convert(StiUnit oldUnit, StiUnit newUnit)
convert in interface IStiUnitConvertconvert in class StiComponentoldUnit - Old units.newUnit - New units.public int getToolboxPosition()
getToolboxPosition in class StiComponentpublic java.lang.String getLocalizedName()
getLocalizedName in class StiBasepublic double getWidth()
StiComponentgetWidth in class StiComponentpublic void setWidth(double value)
setWidth in class StiComponentpublic boolean getTopSide()
public void setTopSide(boolean value)
public boolean getLeftSide()
public void setLeftSide(boolean value)
public boolean getBottomSide()
public void setBottomSide(boolean value)
public boolean getRightSide()
public void setRightSide(boolean value)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiLinePrimitiveJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiLinePrimitiveJSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.