Class StiPrimitive
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
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiGrowToHeight,IStiInteraction,IStiPrintOn,IStiSelect,IStiShift,IStiUnitConvert,IStiReportProperty,IStiInherited,IStiStateSaveRestore,Cloneable
- Direct Known Subclasses:
StiLinePrimitive,StiPointPrimitive
Describes class that realizes base component for all primitives.
-
Field Summary
Fields 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 StiPrimitive.StiPrimitive(StiRectangle rect) Creates a new StiPrimitive. -
Method Summary
Modifier and TypeMethodDescriptionbooleangets or sets a value which indicates that this object can grow.booleangets or sets value which indicates that this object can shrink.Gets or sets the client area of a component.Gets the type of processing when printing.final StiConditionsCollectiongets or sets the collection of conditions.Gets or sets a rectangle of the component which it fills.gets or sets a type of the component docking.booleangets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.Gets a localized name of the component category.intGets a component priority.booleangetShift()gets or sets a value which indicates that this component can be shifted.booleangets or sets a value which indicates that this component must use styles from parent component.voidsetCanGrow(boolean value) voidsetCanShrink(boolean value) voidsetClientRectangle(StiRectangle value) final voidvoidvoidsetDisplayRectangle(StiRectangle value) voidsetDockStyle(StiDockStyle value) voidsetGrowToHeight(boolean value) voidsetShift(boolean value) voidsetUseParentStyles(boolean value) Methods inherited from class com.stimulsoft.report.components.StiComponent
addSize, AllowPrintOn, applyConditions, canContainIn, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, clone, clone, ComponentToPage, ComponentToPage, ComponentToPage, convert, 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, getDefaultClientRectangle, getDelimiterComponent, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDoubleClickEvent, getDrillDownParameters, getEnabled, getEvents, getExpressions, getForceRedrawAll, getGetBookmarkEvent, getGetDrillDownReportEvent, getGetHyperlinkEvent, getGetTagEvent, getGetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, 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, getPointer, getPointerValue, getPrintable, getPrintOn, getQuickInfo, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShiftMode, getShowQuickButtons, getStates, getTag, getTagStrValue, getTagValue, getToolboxPosition, getToolTip, getToolTipValue, getTop, getWidth, 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, LoadFromJsonObject, 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, setComponentPlacement, setComponentStyle, setCurrentBookmark, setDelimiterComponent, setDockable, setDoubleClickEvent, setDrillDownParameters, setEnabled, setExpressions, setGetBookmarkEvent, setGetDrillDownReportEvent, setGetHyperlinkEvent, setGetTagEvent, setGetToolTipEvent, 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, setPointer, setPointerValue, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTop, setTopProp, setWidth, setWidthProp, toString, UnPrepareMethods inherited from class com.stimulsoft.report.StiBase
getLocalizedName, 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
-
StiPrimitive
public StiPrimitive()Creates a new StiPrimitive. -
StiPrimitive
Creates a new StiPrimitive.- Parameters:
rect- The rectangle describes size and position of the component.
-
-
Method Details
-
getCanShrink
public boolean getCanShrink()Description copied from class:StiComponentgets or sets value which indicates that this object can shrink.- Specified by:
getCanShrinkin interfaceIStiCanShrink- Overrides:
getCanShrinkin classStiComponent
-
setCanShrink
public void setCanShrink(boolean value) - Specified by:
setCanShrinkin interfaceIStiCanShrink- Overrides:
setCanShrinkin classStiComponent
-
getCanGrow
public boolean getCanGrow()Description copied from class:StiComponentgets or sets a value which indicates that this object can grow.- Specified by:
getCanGrowin interfaceIStiCanGrow- Overrides:
getCanGrowin classStiComponent
-
setCanGrow
public void setCanGrow(boolean value) - Specified by:
setCanGrowin interfaceIStiCanGrow- Overrides:
setCanGrowin classStiComponent
-
getShift
public boolean getShift()Description copied from class:StiComponentgets or sets a value which indicates that this component can be shifted.- Specified by:
getShiftin interfaceIStiShift- Overrides:
getShiftin classStiComponent
-
setShift
public void setShift(boolean value) - Specified by:
setShiftin interfaceIStiShift- Overrides:
setShiftin classStiComponent
-
getUseParentStyles
public boolean getUseParentStyles()Description copied from class:StiComponentgets or sets a value which indicates that this component must use styles from parent component.- Overrides:
getUseParentStylesin classStiComponent
-
setUseParentStyles
public void setUseParentStyles(boolean value) - Overrides:
setUseParentStylesin classStiComponent
-
getDockStyle
Description copied from class:StiComponentgets or sets a type of the component docking.- Overrides:
getDockStylein classStiComponent
-
setDockStyle
- Overrides:
setDockStylein classStiComponent
-
getGrowToHeight
public boolean getGrowToHeight()Description copied from class:StiComponentgets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.- Specified by:
getGrowToHeightin interfaceIStiGrowToHeight- Overrides:
getGrowToHeightin classStiComponent
-
setGrowToHeight
public void setGrowToHeight(boolean value) - Specified by:
setGrowToHeightin interfaceIStiGrowToHeight- Overrides:
setGrowToHeightin classStiComponent
-
getConditions
Description copied from class:StiComponentgets or sets the collection of conditions.- Specified by:
getConditionsin interfaceIStiConditions- Overrides:
getConditionsin classStiComponent
-
setConditions
- Specified by:
setConditionsin interfaceIStiConditions- Overrides:
setConditionsin classStiComponent
-
getLocalizedCategory
Gets a localized name of the component category.- Overrides:
getLocalizedCategoryin classStiBase
-
getComponentType
Gets the type of processing when printing.- Overrides:
getComponentTypein classStiComponent
-
getPriority
public int getPriority()Gets a component priority.- Overrides:
getPriorityin classStiComponent
-
getClientRectangle
Gets or sets the client area of a component.- Overrides:
getClientRectanglein classStiComponent
-
setClientRectangle
- Overrides:
setClientRectanglein classStiComponent
-
getDisplayRectangle
Gets or sets a rectangle of the component which it fills. Docking occurs in accordance to the area (Cross - components are docked by ClientRectangle).- Overrides:
getDisplayRectanglein classStiComponent
-
setDisplayRectangle
- Overrides:
setDisplayRectanglein classStiComponent
-
setDirectDisplayRectangle
- Overrides:
setDirectDisplayRectanglein classStiComponent
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiComponent- Throws:
JSONException
-