Class StiBand
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiForceSerializable,IStiSerializable,IStiSerializableRef,IStiSerializableToAttributes,IStiName,IStiBorder,IStiBreakable,IStiBrush,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiGrowToHeight,IStiInteraction,IStiPrintOn,IStiResetPageNumber,IStiSelect,IStiShift,IStiUnitConvert,IStiReportProperty,IStiIgnoryStyle,IStiInherited,IStiStateSaveRestore,Cloneable
- Direct Known Subclasses:
StiDynamicBand,StiEmptyBand,StiStaticBand
Describes the base class for bands.
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionStiBand()Creates a new band.StiBand(StiRectangle rect) Creates a new band. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanContainIn(StiComponent component) May this container be located : the specified component.clone(boolean cloneProperties, boolean cloneComponents) Creates a new object that instanceof a copy of the current instance.final StiBandInfoV2booleanGets or sets value indicates that this object can grow.Gets the type of processing when printing.Gets or sets the default client area of a component.Gets or sets a rectangle of the component which it fills.Gets or sets a type of the component docking.doubleGets the footer height.booleangets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.abstract StiColorGets header end color.doubleGets the header height.abstract StiColorGets header start color.Returns the band header text.doublegetLeft()gets or sets left position of a component.Gets a localized name of the component category.doubleGets or sets maximal height of band.gets or sets maximal size.doubleGets or sets minimal height of band.gets or sets minimal size.intGets nested level of this band.booleangets or sets a value which indicates whether a component is printable or not.final StiRectanglebooleanAllows to reset page number on this band.Gets or sets a rectangle of the component selection.gets or sets a value which indicates the shift mode of a component.doublegetTop()gets or sets top position of a component.doublegetWidth()gets or sets width of a component.booleanGets value indicates that this instanceof an automatic docking.voidLoadFromJsonObject(JSONObject jObject) voidsetCanGrow(boolean value) voidvoidsetDisplayRectangle(StiRectangle value) voidsetDockStyle(StiDockStyle value) voidsetGrowToHeight(boolean value) voidsetLeft(double value) voidsetMaxHeight(double value) voidsetMaxSize(StiSize value) voidsetMinHeight(double value) voidsetMinSize(StiSize value) voidsetPrintable(boolean value) final voidvoidsetResetPageNumber(boolean value) voidsetSelectRectangle(StiRectangle value) Returns the GroupHeaderBand in which the component is loc * null, if nothing is located.voidsetShiftMode(StiEnumSet<StiShiftMode> value) voidsetTop(double value) voidsetWidth(double value) Methods inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer
AlignTo, AlignToGrid, AlignToGrid, Break, BringToFront, ChangePosition, checkBlockedException, CheckBlockedException, checkLargeHeight, ClearAllStates, clone, ContainerToPage, ContainerToPage, convert, 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, GetDockableComponent, GetDockStyle, GetFirstSelectableCompanent, GetFont, getGuid, getHasSelected, GetHorAlignment, GetIncorrect, GetIncorrect, getIncorrect2, getLocalizedName, GetMaxSize, getName, getPriority, GetRectangle, GetSelectedComponents, GetSelectedComponentsWithChilds, GetSelectedRectangleWithChilds, getTagValue, GetTextBrush, GetTextFormat, GetTextHorAlignment, getToolboxPosition, 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, getCanShrink, getClickEvent, getComponentPlacement, GetComponentStyle, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, 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, getLevel, getLinked, getLocked, getMeasureGraphics, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPointer, getPointerValue, getPrintOn, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getServiceCategory, getServiceType, getShift, getShowQuickButtons, getStates, getTag, getTagStrValue, getToolTip, getToolTipValue, getUseParentStyles, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, invokeBlockly, InvokeClick, InvokeDoubleClick, InvokeEndRender, invokeEvents, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, invokeScript, invokeScript, invokeScript, 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, setCanShrink, setClickEvent, setClientRectangle, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDockable, setDoubleClickEvent, setDrillDownParameters, setEnabled, setExpressions, setGetBookmarkEvent, setGetDrillDownReportEvent, setGetHyperlinkEvent, setGetTagEvent, setGetToolTipEvent, setGuid, setHeight, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeftProp, setLinked, setLocked, setMouseEnterEvent, setMouseLeaveEvent, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPointer, setPointerValue, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setShift, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, 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
-
Constructor Details
-
StiBand
public StiBand()Creates a new band. -
StiBand
Creates a new band.- Parameters:
rect- The rectangle describes size and position of the component.
-
-
Method Details
-
getResetPageNumber
public boolean getResetPageNumber()Allows to reset page number on this band.- Specified by:
getResetPageNumberin interfaceIStiResetPageNumber
-
setResetPageNumber
public void setResetPageNumber(boolean value) - Specified by:
setResetPageNumberin interfaceIStiResetPageNumber
-
getCanGrow
public boolean getCanGrow()Gets or sets value 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
-
getQuickInfo
- Overrides:
getQuickInfoin 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
-
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
-
canContainIn
May this container be located : the specified component.- Overrides:
canContainInin classStiComponent- Parameters:
component- Component for checking.- Returns:
- true, if this container may instanceof located : the specified component.
-
getLocalizedCategory
Gets a localized name of the component category.- Overrides:
getLocalizedCategoryin classStiContainer
-
getComponentType
Gets the type of processing when printing.- Overrides:
getComponentTypein classStiContainer
-
getBandInfoV2
-
getPrintable
public boolean getPrintable()Description copied from class:StiComponentgets or sets a value which indicates whether a component is printable or not.- Overrides:
getPrintablein classStiComponent
-
setPrintable
public void setPrintable(boolean value) - Overrides:
setPrintablein classStiComponent
-
getDockStyle
Gets or sets a type of the component docking.- Overrides:
getDockStylein classStiComponent
-
setDockStyle
- Overrides:
setDockStylein classStiComponent
-
isAutomaticDock
public boolean isAutomaticDock()Gets value indicates that this instanceof an automatic docking.- Overrides:
isAutomaticDockin classStiComponent
-
getMinSize
Description copied from class:StiComponentgets or sets minimal size.- Overrides:
getMinSizein classStiComponent
-
setMinSize
- Overrides:
setMinSizein classStiComponent
-
getMaxSize
Description copied from class:StiComponentgets or sets maximal size.- Overrides:
getMaxSizein classStiComponent
-
setMaxSize
- Overrides:
setMaxSizein classStiComponent
-
getMinHeight
public double getMinHeight()Gets or sets minimal height of band. -
setMinHeight
public void setMinHeight(double value) -
getMaxHeight
public double getMaxHeight()Gets or sets maximal height of band. -
setMaxHeight
public void setMaxHeight(double value) -
getLeft
public double getLeft()Description copied from class:StiComponentgets or sets left position of a component.- Overrides:
getLeftin classStiComponent
-
setLeft
public void setLeft(double value) - Overrides:
setLeftin classStiComponent
-
getTop
public double getTop()Description copied from class:StiComponentgets or sets top position of a component.- Overrides:
getTopin classStiComponent
-
setTop
public void setTop(double value) - Overrides:
setTopin classStiComponent
-
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
-
getDefaultClientRectangle
Gets or sets the default client area of a component.- Overrides:
getDefaultClientRectanglein classStiContainer
-
getDisplayRectangle
Gets or sets a rectangle of the component which it fills. Docking occurs : accordance to the area (Cross - components are docked by ClientRectangle).- Overrides:
getDisplayRectanglein classStiComponent
-
setDisplayRectangle
- Overrides:
setDisplayRectanglein classStiComponent
-
setDirectDisplayRectangle
- Overrides:
setDirectDisplayRectanglein classStiComponent
-
getSelectRectangle
Gets or sets a rectangle of the component selection.- Overrides:
getSelectRectanglein classStiComponent
-
setSelectRectangle
Description copied from class:StiComponentReturns the GroupHeaderBand in which the component is loc * null, if nothing is located.- Overrides:
setSelectRectanglein classStiComponent
-
getRectangleMoveComponent
-
setRectangleMoveComponent
-
GetHeaderText
Returns the band header text.- Returns:
- Band header text.
-
getHeaderStartColor
Gets header start color. -
getHeaderEndColor
Gets header end color. -
getHeaderSize
public double getHeaderSize()Gets the header height. -
getNestedLevel
public int getNestedLevel()Gets nested level of this band.- Returns:
-
clone
Description copied from class:StiContainerCreates a new object that instanceof a copy of the current instance.- Overrides:
clonein classStiContainer- Returns:
- A new object that instanceof a copy of this instance.
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiContainer- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiContainer- Throws:
JSONException
-