Class StiSubReport
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.StiSubReport
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiForceSerializable,IStiSerializable,IStiSerializableRef,IStiSerializableToAttributes,IStiName,IStiBorder,IStiBreakable,IStiBrush,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiGrowToHeight,IStiInteraction,IStiPrintOn,IStiSelect,IStiShift,IStiUnitConvert,IStiReportProperty,IStiIgnoryStyle,IStiInherited,IStiStateSaveRestore,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanFields 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
ConstructorsConstructorDescriptionCreates a new component of the type StiSubReport.StiSubReport(StiRectangle rect) Creates a new component of the type StiSubReport. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanContainIn(StiComponent component) May this container be located in the specified component.voidConverts a component out of one unit into another.booleangets or sets a value which indicates that this object can grow.booleangets or sets value which indicates that this object can shrink.Gets the type of processing when printing.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 which indicates that the SubReport must to be kept together with DataBand on what it is placed.Gets a localized name of the component category.Gets a localized component name.a parameter collectionintGets a component priority.gets or sets a value which indicates the shift mode of a component.static StiSubReportGetSubReportForPage(StiPage page) protected StiReportgetSubReportFromFile(String file) protected StiReportfinal StiPageGets or sets a page that contains SubReport.final StringGets or sets a guid of page that contains Subreport.intGets value to sort a position in the toolbox.final booleanDeprecated.doublegetWidth()gets or sets width of a component.voidvoidLoadFromJsonObject(JSONObject jObject) voidsetCanGrow(boolean value) voidsetCanShrink(boolean value) voidsetClientRectangle(StiRectangle value) voidvoidsetGrowToHeight(boolean value) voidsetKeepSubReportTogether(boolean value) voidsetParameters(StiParametersCollection parameters) a parameter collectionvoidsetShiftMode(StiEnumSet<StiShiftMode> value) final voidsetSubReportPage(StiPage value) final voidsetSubReportPageGuid(String value) voidsetSubReportUrl(String subReportUrl) final voidsetUseExternalReport(boolean value) Deprecated.voidsetWidth(double 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, ConvertSelectedToPage, ConvertToPage, Correct, Correct, correct2, getActualSize, getActualSize, getBlocked, getBorder, GetBorder, getBrush, GetBrush, getCanBreak, getClientRectangle, getCollapsedValue, getCollapsingIndex, getCollapsingTreePath, getComponentPlacementForChildren, getComponents, GetComponents, GetComponentsCount, GetComponentsList, getComponentsSelectedRectangle, getComponentStyle, GetConditions, getContainerInfoV1, getContainerInfoV2, GetContainerInRect, GetContainerInRect2, getDefaultClientRectangle, GetDockableComponent, GetDockStyle, GetFirstSelectableCompanent, GetFont, getGuid, getHasSelected, GetHorAlignment, GetIncorrect, GetIncorrect, getIncorrect2, GetMaxSize, getName, 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, RestoreState, saveState, 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, clone, 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, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDockStyle, getDoubleClickEvent, getDrillDownParameters, getEnabled, getEvents, getExpressions, getForceRedrawAll, getGetBookmarkEvent, getGetDrillDownReportEvent, getGetHyperlinkEvent, getGetTagEvent, getGetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, 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, getShift, getShowQuickButtons, getStates, getTag, getTagStrValue, getToolTip, getToolTipValue, getTop, getUseParentStyles, 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, OnRemoveComponent, packService, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, select, setAfterPrintEvent, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setClickEvent, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDockStyle, 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, setShift, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTop, setTopProp, setUseParentStyles, 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
-
keepSubReportTogether
public boolean keepSubReportTogether -
subReportPageGuid
-
handlerBeforeRenderSubReport
-
-
Constructor Details
-
StiSubReport
public StiSubReport()Creates a new component of the type StiSubReport. -
StiSubReport
Creates a new component of the type StiSubReport.- 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
-
getFillParametersEvent
-
setFillParametersEvent
-
getShiftMode
Description copied from class:StiComponentgets or sets a value which indicates the shift mode of a component.- Specified by:
getShiftModein interfaceIStiShift- Overrides:
getShiftModein classStiComponent
-
setShiftMode
- Specified by:
setShiftModein interfaceIStiShift- Overrides:
setShiftModein classStiComponent
-
getToolboxPosition
public int getToolboxPosition()Gets value to sort a position in the toolbox.- Overrides:
getToolboxPositionin classStiContainer
-
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.
-
getComponentType
Gets the type of processing when printing.- Overrides:
getComponentTypein classStiContainer
-
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
-
getPriority
public int getPriority()Gets a component priority.- Overrides:
getPriorityin classStiContainer
-
convert
Converts a component out of one unit into another.- Specified by:
convertin interfaceIStiUnitConvert- Overrides:
convertin classStiContainer- Parameters:
oldUnit- Old units.newUnit- New units.
-
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
-
setClientRectangle
- Overrides:
setClientRectanglein classStiComponent
-
getUseExternalReport
Deprecated.Gets or sets value which indicates that this subreport requires the external report. -
setUseExternalReport
Deprecated. -
getKeepSubReportTogether
public boolean getKeepSubReportTogether()Gets or sets value which indicates that the SubReport must to be kept together with DataBand on what it is placed. -
setKeepSubReportTogether
public void setKeepSubReportTogether(boolean value) -
GetSubReportForPage
-
getSubReportPage
Gets or sets a page that contains SubReport. -
setSubReportPage
-
getSubReportPageGuid
Gets or sets a guid of page that contains Subreport. -
setSubReportPageGuid
-
getSubReportUrl
- Returns:
- the subReportUrl
-
setSubReportUrl
- Parameters:
subReportUrl- the subReportUrl to set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiContainer- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiContainer- Throws:
JSONException
-
invokeFillParameters
-
getParameters
a parameter collection- Returns:
- the parameters
-
setParameters
a parameter collection- Parameters:
parameters- the parameters to set
-
getSubReportFromUrl
-
getSubReportFromFile
-
getExternalSubReport
-