Class StiRectanglePrimitive
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.components.simplecomponents.StiPrimitive
com.stimulsoft.report.components.simplecomponents.StiLinePrimitive
com.stimulsoft.report.components.simplecomponents.StiCrossLinePrimitive
com.stimulsoft.report.components.simplecomponents.StiRectanglePrimitive
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,IStiBorder,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiGrowToHeight,IStiHideBorderFromDesigner,IStiInteraction,IStiPrintOn,IStiSelect,IStiShift,IStiUnitConvert,IStiReportProperty,IStiInherited,IStiStateSaveRestore,Cloneable
- Direct Known Subclasses:
StiRoundedRectanglePrimitive
public class StiRectanglePrimitive
extends StiCrossLinePrimitive
implements IStiHideBorderFromDesigner, IStiBorder
Describes class that realizes component - StiRectanglePrimitive.
-
Field Summary
Fields inherited from class com.stimulsoft.report.components.simplecomponents.StiCrossLinePrimitive
StoredEndPoint, StoredStartPointFields inherited from class com.stimulsoft.report.components.StiComponent
canGrow, canShrink, componentPlacement, conditions, currentPointer, eventFlags, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, PropertyComponentStyle, PropertyDelimiterComponent, PropertyDockable, PropertyInherited, PropertyLinked, PropertyLocked, PropertyMaxSize, PropertyMinSize, PropertyPlaceOnToolbox, PropertyRenderedCount, PropertyRestrictions, PropertySelectionTick, PropertyShowQuickButtons, PropertyUseParentStyles, top, widthFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new StiRectanglePrimitive.Creates a new StiRectanglePrimitive. -
Method Summary
Modifier and TypeMethodDescriptionvoidConverts a component out of one unit into another.final StiBorderGets or sets frame of the component.booleanGets os sets property which indicates to draw bottom side of the rectangle or no.booleanGets os sets property which indicates to draw left side of the rectangle or no.Gets a localized component name.booleanGets os sets property which indicates to draw right side of the rectangle or no.intGets value to sort a position in the toolbox.booleanGets os sets property which indicates to draw top side of the rectangle or no.doublegetWidth()gets or sets width of a component.voidLoadFromJsonObject(JSONObject jObject) final voidvoidsetBottomSide(boolean value) voidsetLeftSide(boolean value) voidsetRightSide(boolean value) voidsetTopSide(boolean value) voidsetWidth(double value) Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiCrossLinePrimitive
canContainIn, getEndPoint, getEndPoint, getHeight, getLeft, getLinked, getStartPoint, getStartPoint, getTop, OnRemoveComponent, setHeight, setLeft, setLinked, setTopMethods inherited from class com.stimulsoft.report.components.simplecomponents.StiLinePrimitive
getColor, getDefaultClientRectangle, getInvalidateOnMouseOver, getSize, getStyle, setColor, setSize, setStyleMethods inherited from class com.stimulsoft.report.components.simplecomponents.StiPrimitive
getCanGrow, getCanShrink, getClientRectangle, getComponentType, getConditions, getDisplayRectangle, getDockStyle, getGrowToHeight, getLocalizedCategory, getPriority, getShift, getUseParentStyles, setCanGrow, setCanShrink, setClientRectangle, setConditions, setDirectDisplayRectangle, setDisplayRectangle, setDockStyle, setGrowToHeight, setShift, setUseParentStylesMethods inherited from class com.stimulsoft.report.components.StiComponent
addSize, AllowPrintOn, applyConditions, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, clone, clone, ComponentToPage, ComponentToPage, ComponentToPage, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, doPointer, doPointer, fillComponentPlacement, getActualSize, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmark, getBookmarkValue, getBottom, getBuilder, getClickEvent, getComponentPlacement, getComponentStyle, GetComponentStyle, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDoubleClickEvent, getDrillDownParameters, getEnabled, getEvents, getExpressions, 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, getPointer, getPointerValue, getPrintable, getPrintOn, getQuickInfo, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShiftMode, getShowQuickButtons, getStates, getTag, getTagStrValue, getTagValue, getToolTip, getToolTipValue, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, invokeBlockly, InvokeClick, InvokeDoubleClick, InvokeEndRender, invokeEvents, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, invokeScript, invokeScript, invokeScript, 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, setExpressions, 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, setPointer, setPointerValue, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTopProp, setWidthProp, toString, UnPrepareMethods inherited from class com.stimulsoft.report.StiBase
getName, getServiceNameMethods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
StiRectanglePrimitive
public StiRectanglePrimitive()Creates a new StiRectanglePrimitive. -
StiRectanglePrimitive
Creates a new StiRectanglePrimitive.- Parameters:
rect- The rectangle describes size and position of the component.
-
-
Method Details
-
getBorder
Gets or sets frame of the component.- Specified by:
getBorderin interfaceIStiBorder
-
setBorder
- Specified by:
setBorderin interfaceIStiBorder
-
convert
Converts a component out of one unit into another.- Specified by:
convertin interfaceIStiUnitConvert- Overrides:
convertin classStiComponent- Parameters:
oldUnit- Old units.newUnit- New units.
-
getToolboxPosition
public int getToolboxPosition()Gets value to sort a position in the toolbox.- Overrides:
getToolboxPositionin classStiComponent
-
getLocalizedName
Gets a localized component name.- Overrides:
getLocalizedNamein classStiBase
-
getWidth
public double getWidth()Description copied from class:StiComponentgets or sets width of a component.- Overrides:
getWidthin classStiComponent
-
setWidth
public void setWidth(double value) - Overrides:
setWidthin classStiComponent
-
getTopSide
public boolean getTopSide()Gets os sets property which indicates to draw top side of the rectangle or no. -
setTopSide
public void setTopSide(boolean value) -
getLeftSide
public boolean getLeftSide()Gets os sets property which indicates to draw left side of the rectangle or no. -
setLeftSide
public void setLeftSide(boolean value) -
getBottomSide
public boolean getBottomSide()Gets os sets property which indicates to draw bottom side of the rectangle or no. -
setBottomSide
public void setBottomSide(boolean value) -
getRightSide
public boolean getRightSide()Gets os sets property which indicates to draw right side of the rectangle or no. -
setRightSide
public void setRightSide(boolean value) -
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiLinePrimitive- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiLinePrimitive- Throws:
JSONException
-