Class StiFooterBand
java.lang.Object
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiForceSerializable,IStiSerializable,IStiSerializableRef,IStiSerializableToAttributes,IStiName,IStiBorder,IStiBreakable,IStiBrush,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiGrowToHeight,IStiInteraction,IStiKeepFooterTogether,IStiPageBreak,IStiPrintAtBottom,IStiPrintIfEmpty,IStiPrintOn,IStiPrintOnAllPages,IStiPrintOnEvenOddPages,IStiResetPageNumber,IStiSelect,IStiShift,IStiStartNewPage,IStiUnitConvert,IStiReportProperty,IStiIgnoryStyle,IStiInherited,IStiStateSaveRestore,Cloneable
- Direct Known Subclasses:
StiColumnFooterBand,StiCrossFooterBand
public class StiFooterBand
extends StiDynamicBand
implements IStiPrintOnAllPages, IStiPrintIfEmpty, IStiStartNewPage, IStiKeepFooterTogether, IStiPrintOnEvenOddPages
-
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
ConstructorsConstructorDescriptionCreates a new component of the type StiFooterBand.StiFooterBand(StiRectangle rect) Creates a new component of the type StiFooterBand with specified location. -
Method Summary
Modifier and TypeMethodDescriptionclone(boolean cloneProperties, boolean cloneComponents) Creates a new object that is a copy of the current instance.booleanGets or sets value which indicates whether the component can or cannot break its contents on several pages.Gets the type of processing when printing.final StiFooterBandInfoV2Gets header end color.Gets header start color.booleanGets or sets value indicates that the footer is printed with data.Gets a localized component name.booleanGets or sets value indicates that the footer is printed if data not present.booleanGets or sets value indicates that the component is printed on all pages.Gets or sets value indicates that the component is printed on even-odd pages.intGets a component priority.booleanGets or sets value indicates that it is necessary to print every new string on a new page.floatGets or sets value which indicates how much free space on a page (in percentage terms) should be reserved for formation of a new page.intGets value to sort a position in the toolbox.voidLoadFromJsonObject(JSONObject jObject) protected voidRaises the MoveFooterToBottom event for this component.voidsetCanBreak(boolean value) Gets or sets value which indicates whether the component can or cannot break its contents on several pages.voidsetKeepFooterTogether(boolean value) voidsetPrintIfEmpty(boolean value) voidsetPrintOnAllPages(boolean value) voidvoidsetStartNewPage(boolean value) voidsetStartNewPageIfLessThan(float value) Methods inherited from class com.stimulsoft.report.components.bands.StiDynamicBand
Break, getBreakIfLessThan, getNewColumnAfter, getNewColumnBefore, getNewPageAfter, getNewPageBefore, getPrintAtBottom, getSkipFirst, setBreakIfLessThan, setNewColumnAfter, setNewColumnBefore, setNewPageAfter, setNewPageBefore, setPrintAtBottom, setSkipFirstMethods inherited from class com.stimulsoft.report.components.bands.StiBand
canContainIn, getBandInfoV2, getCanGrow, getDefaultClientRectangle, getDisplayRectangle, getDockStyle, getFooterSize, getGrowToHeight, getHeaderSize, GetHeaderText, getLeft, getLocalizedCategory, getMaxHeight, getMaxSize, getMinHeight, getMinSize, getNestedLevel, getPrintable, getQuickInfo, getRectangleMoveComponent, getResetPageNumber, getSelectRectangle, getShiftMode, getTop, getWidth, isAutomaticDock, setCanGrow, setDirectDisplayRectangle, setDisplayRectangle, setDockStyle, setGrowToHeight, setLeft, setMaxHeight, setMaxSize, setMinHeight, setMinSize, setPrintable, setRectangleMoveComponent, setResetPageNumber, setSelectRectangle, setShiftMode, setTop, setWidthMethods inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer
AlignTo, AlignToGrid, AlignToGrid, BringToFront, ChangePosition, checkBlockedException, CheckBlockedException, checkLargeHeight, ClearAllStates, clone, ContainerToPage, ContainerToPage, convert, Convert, ConvertSelectedToPage, ConvertToPage, Correct, Correct, correct2, getActualSize, getActualSize, getBlocked, getBorder, GetBorder, getBrush, GetBrush, 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, 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, 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
-
StiFooterBand
public StiFooterBand()Creates a new component of the type StiFooterBand. -
StiFooterBand
Creates a new component of the type StiFooterBand with specified location.- Parameters:
rect- The rectangle describes size and position of the component.
-
-
Method Details
-
clone
Creates a new object that is a copy of the current instance. -
getCanBreak
public boolean getCanBreak()Gets or sets value which indicates whether the component can or cannot break its contents on several pages.- Specified by:
getCanBreakin interfaceIStiBreakable- Overrides:
getCanBreakin classStiContainer
-
setCanBreak
public void setCanBreak(boolean value) Description copied from class:StiDynamicBandGets or sets value which indicates whether the component can or cannot break its contents on several pages.- Specified by:
setCanBreakin interfaceIStiBreakable- Overrides:
setCanBreakin classStiDynamicBand
-
getStartNewPage
public boolean getStartNewPage()Gets or sets value indicates that it is necessary to print every new string on a new page.- Specified by:
getStartNewPagein interfaceIStiStartNewPage
-
setStartNewPage
public void setStartNewPage(boolean value) - Specified by:
setStartNewPagein interfaceIStiStartNewPage
-
getStartNewPageIfLessThan
public float getStartNewPageIfLessThan()Gets or sets value which indicates how much free space on a page (in percentage terms) should be reserved for formation of a new page. The value should be set in the range from 0 to 100. If the value is 100 then, in any case, a new page will be formed. This property is used together with the StartNewPage property.- Specified by:
getStartNewPageIfLessThanin interfaceIStiStartNewPage
-
setStartNewPageIfLessThan
public void setStartNewPageIfLessThan(float value) - Specified by:
setStartNewPageIfLessThanin interfaceIStiStartNewPage
-
getPrintIfEmpty
public boolean getPrintIfEmpty()Gets or sets value indicates that the footer is printed if data not present.- Specified by:
getPrintIfEmptyin interfaceIStiPrintIfEmpty
-
setPrintIfEmpty
public void setPrintIfEmpty(boolean value) - Specified by:
setPrintIfEmptyin interfaceIStiPrintIfEmpty
-
getPrintOnEvenOddPages
Gets or sets value indicates that the component is printed on even-odd pages.- Specified by:
getPrintOnEvenOddPagesin interfaceIStiPrintOnEvenOddPages
-
setPrintOnEvenOddPages
- Specified by:
setPrintOnEvenOddPagesin interfaceIStiPrintOnEvenOddPages
-
getPrintOnAllPages
public boolean getPrintOnAllPages()Gets or sets value indicates that the component is printed on all pages.- Specified by:
getPrintOnAllPagesin interfaceIStiPrintOnAllPages
-
setPrintOnAllPages
public void setPrintOnAllPages(boolean value) - Specified by:
setPrintOnAllPagesin interfaceIStiPrintOnAllPages
-
getHeaderStartColor
Gets header start color.- Specified by:
getHeaderStartColorin classStiBand
-
getHeaderEndColor
Gets header end color.- Specified by:
getHeaderEndColorin classStiBand
-
getToolboxPosition
public int getToolboxPosition()Gets value to sort a position in the toolbox.- Overrides:
getToolboxPositionin classStiContainer
-
getPriority
public int getPriority()Gets a component priority.- Overrides:
getPriorityin classStiContainer
-
getComponentType
Gets the type of processing when printing.- Overrides:
getComponentTypein classStiBand
-
getLocalizedName
Gets a localized component name.- Overrides:
getLocalizedNamein classStiContainer
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiDynamicBand- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiDynamicBand- Throws:
JSONException
-