Class StiClone
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.complexcomponents.StiContainer
com.stimulsoft.report.components.complexcomponents.StiClone
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiForceSerializable,IStiSerializable,IStiSerializableRef,IStiSerializableToAttributes,IStiName,IStiBorder,IStiBreakable,IStiBrush,IStiCanGrow,IStiCanShrink,IStiClone,IStiComponentGuid,IStiConditions,IStiGrowToHeight,IStiInteraction,IStiPrintOn,IStiSelect,IStiShift,IStiUnitConvert,IStiReportProperty,IStiIgnoryStyle,IStiInherited,IStiStateSaveRestore,Cloneable
Describes class that realizes component - Clone.
-
Field Summary
FieldsFields inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer
border, brush, collapsingIndex, components, engine, ParentComponentIsBand, ParentComponentIsCrossBand, PropertyBlockedFields 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
ConstructorsConstructorDescriptionStiClone()Creates a new clone.StiClone(StiRectangle rect) Creates a new clone. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanContainIn(StiComponent component) May this container be located in the specified component.clone()Creates a new object that is a copy of the current instance.booleangets 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 a collection of components.Gets the type of processing when printing.final StiConditionsCollectiongets or sets the collection of conditions.final StiContainerGets or sets a clone container.booleanGets value, indicates that it is necessary to draw again the whole page when moving the component or changing its sizes in the designer.booleangets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.booleanGets or sets value indicates whether a component is rendered or not.Gets a localized name of the component category.Gets a localized component name.final booleanGets or sets value which indicates that contents of the container will be shrunk or grown.intGets value to sort a position in the toolbox.voidLoadFromJsonObject(JSONObject jObject) protected voidRaises the AfterPrint event.protected voidRaises the BeforePrint event.voidRestoreState(String stateName) Restores the earlier saved object state.voidSaves the current state of an object.voidsetCanGrow(boolean value) voidsetCanShrink(boolean value) final voidfinal voidsetContainer(StiContainer value) voidsetGrowToHeight(boolean value) voidsetIsRendered(boolean value) final voidsetScaleHor(boolean value) Methods inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer
AlignTo, AlignToGrid, AlignToGrid, Break, BringToFront, ChangePosition, checkBlockedException, CheckBlockedException, checkLargeHeight, ClearAllStates, clone, clone, ContainerToPage, ContainerToPage, convert, Convert, ConvertSelectedToPage, ConvertToPage, Correct, Correct, correct2, getActualSize, getActualSize, getBlocked, getBorder, GetBorder, getBrush, GetBrush, getCanBreak, getClientRectangle, getCollapsedValue, getCollapsingIndex, getCollapsingTreePath, getComponentPlacementForChildren, GetComponents, GetComponentsCount, GetComponentsList, getComponentsSelectedRectangle, getComponentStyle, GetConditions, getContainerInfoV1, getContainerInfoV2, GetContainerInRect, GetContainerInRect2, getDefaultClientRectangle, GetDockableComponent, GetDockStyle, GetFirstSelectableCompanent, GetFont, getGuid, getHasSelected, GetHorAlignment, GetIncorrect, GetIncorrect, getIncorrect2, GetMaxSize, getName, getPriority, GetRectangle, GetSelectedComponents, GetSelectedComponentsWithChilds, GetSelectedRectangleWithChilds, getTagValue, GetTextBrush, GetTextFormat, GetTextHorAlignment, GetVertAlignment, GetWordWrap, GrowFont, InvertComponentsPosition, isForceSerializeToReport, MakeHorizontalSpacingEqual, MakeSameHeight, MakeSameSize, MakeSameWidth, MakeVerticalSpacingEqual, MoveBackward, MoveComponentsToPage, MoveForward, Normalize, OffsetLocation, OnComponentAdded, OnComponentRemoved, PageToContainer, PageToContainer, RemoveAllSelected, ResetSelection, SelectAll, SelectComponent, SelectInRectangle, SelectInRectangleCheckBands, SendToBack, setBlocked, setBorder, SetBorder, setBrush, SetBrush, setCanBreak, SetCenterHorizontally, SetCenterVertically, setCollapsedValue, setCollapsingIndex, setCollapsingTreePath, setComponents, setComponentsFont, setComponentsFont, setComponentsWithSetParent, setComponentsWordWrap, SetConditions, setContainerInfoV2, SetDockStyle, setForceSerializeToReport, SetHorAlign, SetLink, setParentComponentIsBand, setParentComponentIsCrossBand, SetParentStylesToChilds, SetParentStylesToChilds, SetTextBrush, SetTextFormat, SetTextHorAlign, SetVertAlign, ShrinkFont, SortByPriorityMethods inherited from class com.stimulsoft.report.components.StiComponent
addSize, AllowPrintOn, applyConditions, CheckForParentComponent, clearAllStates, ClearContents, ComponentToPage, ComponentToPage, ComponentToPage, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, doPointer, doPointer, fillComponentPlacement, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmark, getBookmarkValue, getBottom, getBuilder, getClickEvent, getComponentPlacement, GetComponentStyle, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDockStyle, getDoubleClickEvent, getDrillDownParameters, getEnabled, getEvents, getExpressions, getGetBookmarkEvent, getGetDrillDownReportEvent, getGetHyperlinkEvent, getGetTagEvent, getGetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getHeight, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, 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, getShift, getShiftMode, getShowQuickButtons, getStates, getTag, getTagStrValue, getToolTip, getToolTipValue, getTop, getUseParentStyles, 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, NewGuid, OnClick, OnDoubleClick, OngetBookmark, OngetDrillDownReport, OngetHyperlink, OngetTag, OngetToolTip, OnMouseEnter, OnMouseLeave, OnPainted, OnPainting, OnRemoveComponent, packService, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, select, setAfterPrintEvent, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setClickEvent, setClientRectangle, setComponentPlacement, setComponentStyle, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDockStyle, setDoubleClickEvent, setDrillDownParameters, setEnabled, setExpressions, setGetBookmarkEvent, setGetDrillDownReportEvent, setGetHyperlinkEvent, setGetTagEvent, setGetToolTipEvent, setGuid, setHeight, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, 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, setShift, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTop, setTopProp, setUseParentStyles, setWidth, setWidthProp, toString, UnPrepareMethods inherited from class com.stimulsoft.report.StiBase
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, setReferenceMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
-
Field Details
-
jsonContainerValueTemp
-
-
Constructor Details
-
StiClone
public StiClone()Creates a new clone. -
StiClone
Creates a new clone.- Parameters:
rect- The rectangle describes size and position of the component.
-
-
Method Details
-
saveState
Saves the current state of an object.- Specified by:
saveStatein interfaceIStiStateSaveRestore- Overrides:
saveStatein classStiContainer- Parameters:
stateName- A name of the state being saved.
-
RestoreState
Restores the earlier saved object state.- Overrides:
RestoreStatein classStiContainer- Parameters:
stateName- A name of the state being restored.
-
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
-
getContainer
Gets or sets a clone container.- Specified by:
getContainerin interfaceIStiClone- Overrides:
getContainerin classStiComponent- Returns:
- A container or null if nothing is located.
-
setContainer
- Specified by:
setContainerin interfaceIStiClone
-
clone
Creates a new object that is a copy of the current instance.- Overrides:
clonein classStiComponent- Returns:
- A new object that is a copy of this instance.
-
getIsRendered
public boolean getIsRendered()Gets or sets value indicates whether a component is rendered or not.- Overrides:
getIsRenderedin classStiComponent
-
setIsRendered
public void setIsRendered(boolean value) - Overrides:
setIsRenderedin 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
-
getToolboxPosition
public int getToolboxPosition()Gets value to sort a position in the toolbox.- Overrides:
getToolboxPositionin classStiContainer
-
getForceRedrawAll
public boolean getForceRedrawAll()Gets value, indicates that it is necessary to draw again the whole page when moving the component or changing its sizes in the designer.- Overrides:
getForceRedrawAllin classStiComponent
-
canContainIn
May this container be located in the specified component.- Overrides:
canContainInin classStiComponent- Parameters:
component- Component for checking.- Returns:
- true, if this container may is located in the specified component.
-
getLocalizedCategory
Gets a localized name of the component category.- Overrides:
getLocalizedCategoryin classStiContainer
-
getLocalizedName
Gets a localized component name.- Overrides:
getLocalizedNamein classStiContainer
-
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
-
getComponentType
Gets the type of processing when printing.- Overrides:
getComponentTypein classStiContainer
-
getComponents
Gets or sets a collection of components.- Overrides:
getComponentsin classStiContainer
-
OnBeforePrint
Raises the BeforePrint event.- Overrides:
OnBeforePrintin classStiComponent- Parameters:
e- A parameter which contains event data.
-
OnAfterPrint
Raises the AfterPrint event.- Overrides:
OnAfterPrintin classStiComponent- Parameters:
e- A parameter which contains event data.
-
getScaleHor
public final boolean getScaleHor()Gets or sets value which indicates that contents of the container will be shrunk or grown. -
setScaleHor
public final void setScaleHor(boolean value) -
getJsonContainerValueTemp
- Returns:
- the jsonContainerValueTemp
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiContainer- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiContainer- Throws:
JSONException
-