Package com.stimulsoft.report.crossTab
Class StiCrossHeader
java.lang.Object
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiSerializableToAttributes,IStiName,IStiAutoWidth,IStiBorder,IStiBreakable,IStiBrush,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,IStiCrossTabField,IStiEditable,IStiExportImage,IStiExportImageExtended,IStiFont,IStiGlobalizedName,IStiGrowToHeight,IStiIndicator,IStiInteraction,IStiOnlyText,IStiPrintOn,IStiProcessAt,IStiProcessAtEnd,IStiSelect,IStiShift,IStiText,IStiTextBrush,IStiTextFormat,IStiTextHorAlignment,IStiTextOptions,IStiUnitConvert,IStiVertAlignment,IStiReportProperty,IStiGlobalizationProvider,IStiInherited,IStiStateSaveRestore,Cloneable
- Direct Known Subclasses:
StiCrossColumn,StiCrossRow
-
Field Summary
Fields inherited from class com.stimulsoft.report.crossTab.StiCrossField
needClone, originalValueFields inherited from class com.stimulsoft.report.components.simplecomponents.StiText
font, PropertyAllowHtmlTags, PropertyAutoWidth, PropertyCanBreak, PropertyExportAsImage, PropertyLineSpacing, PropertyMargins, PropertyNullValue, PropertyRenderTo, PropertyShrinkFontToFit, PropertyShrinkFontToFitMinimumSize, PropertyTextQuality, PropertyTypeFields inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText
PropertyGlobalizedName, PropertyMaxNumberOfLines, PropertyOnlyText, PropertyProcessAt, PropertyProcessingDuplicates, text, totalValueHelpFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets or sets the expression that is used for calculation of a cell value which will be output in the table.Gets or sets a script of the event GetDisplayCrossValueEvent.intbooleanGets or sets value indicates that no need show zeroes.booleanGets or sets value indicates that the component is printed on all pages.booleanGets or sets value that indicates whether it is necessary to output totals or not.final StiSortDirectionGets or sets the sorting direction.final StiSortTypeGets or sets the type of sorting.final StiCrossTotalgetTotal()final Stringfinal voidbooleanvoidLoadFromJsonObject(JSONObject jObject) protected voidRaises the GetDisplayCrossValue event for this component.voidfinal voidvoidsetHeaderLevel(int headerLevel) voidsetHeaderValue(String headerValue) voidsetHideZeros(boolean value) voidsetPrintOnAllPages(boolean value) voidsetShowTotal(boolean value) final voidsetSortDirection(StiSortDirection value) final voidsetSortType(StiSortType value) voidsetText(StiExpression value) final voidsetTotal(StiCrossTotal value) final voidsetTotalGuid(String value) voidsetValue(StiCrossValueExpression value) Methods inherited from class com.stimulsoft.report.crossTab.StiCrossCell
getGetCrossValueEvent, getValue, InvokeGetCrossValue, OnGetCrossValue, setGetCrossValueEventMethods inherited from class com.stimulsoft.report.crossTab.StiCrossField
getAutoWidth, getBookmark, getCanBreak, getCanGrow, getCanShrink, getCellText, getDockStyle, getEditable, getEnabled, getExcelValue, getExportAsImage, getFont, getGetBookmarkEvent, getGlobalizedName, getGrowToHeight, getHeight, getHorAlignment, getLeft, getLinesOfUnderline, getLinked, getLocalizedCategory, getLocked, getMaxNumberOfLines, getMergeHeaders, getOnlyText, getPrintable, getPrintOn, getProcessAt, getProcessAtEnd, getProcessCellEvent, getProcessingDuplicates, getRenderTo, getRestrictions, getShiftMode, getShrinkFontToFit, getShrinkFontToFitMinimumSize, GetTextBoxFromField, getTextBrush, getTextFormat, getTop, getVertAlignment, getWidth, getWYSIWYG, isDisabledByCondition, setAlias, setAutoWidth, setBookmark, setCanBreak, setCanGrow, setCanShrink, setDisabledByCondition, setDockStyle, setEditable, setEnabled, setExcelValue, setExportAsImage, setFont, setGetBookmarkEvent, setGlobalizedName, setGrowToHeight, setHeight, setHorAlignment, setLeft, setLinesOfUnderline, setLinked, setLocked, setMaxNumberOfLines, setMergeHeaders, setName, setOnlyText, setPrintable, setPrintOn, setProcessAt, setProcessAtEnd, setProcessCellEvent, setProcessingDuplicates, setRenderTo, setRestrictions, setShiftMode, setShrinkFontToFit, setShrinkFontToFitMinimumSize, setTextBrush, setTextFormat, setTop, setVertAlignment, setWidth, setWYSIWYG, toStringMethods inherited from class com.stimulsoft.report.components.simplecomponents.StiText
Break, checkAllowHtmlTags, clone, convertTextBorders, convertTextMargins, getActualFont, getActualFont, getActualFont, getActualSize, getAllowHtmlTags, getAllStrings, getAngle, getBorder, getBrush, getClientRectangle, getComponentPlacement, getComponentStyle, getExcelDataValue, getFormat, getGetExcelValueEvent, getGuid, getIndicator, getLineSpacing, getLocalizedName, getMargins, getName, getNullValue, getRightToLeft, getString, getTagValue, getTextOptions, getTextQuality, getToolboxPosition, getType, getWordWrap, invokeEvents, InvokeGetExcelValue, InvokeRenderTo, isExportAsImage, measureString, OnGetExcelValue, packService, setAllowHtmlTags, setAngle, setBorder, setBrush, setExcelDataValue, setFormat, setGetExcelValueEvent, setIndicator, setLineSpacing, setMargins, setNullValue, setRightToLeft, setString, setTextOptions, setTextQuality, setType, setWordWrapMethods inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText
checkDuplicates, getComponentGuid, getEvents, getGetValueEvent, getLinesOfUnderlining, getQuickInfo, getText, getTextInternal, getTextValue, GetTextWithoutZero, getTotalValueHelp, InvokeGetValue, InvokeTextProcess, OnGetValue, ProcessText, RestoreState, saveState, SaveState, setComponentGuid, setGetValueEvent, setLinesOfUnderlining, setText, SetText, setTextInternal, SetTextInternal, setTextValue, setTotalValueHelpMethods inherited from class com.stimulsoft.report.components.StiComponent
addSize, AllowPrintOn, applyConditions, canContainIn, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, clone, ComponentToPage, ComponentToPage, ComponentToPage, convert, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, doPointer, doPointer, fillComponentPlacement, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmarkValue, getBottom, getBuilder, getClickEvent, GetComponentStyle, getComponentType, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDefaultClientRectangle, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDoubleClickEvent, getDrillDownParameters, getExpressions, getForceRedrawAll, getGetDrillDownReportEvent, getGetHyperlinkEvent, getGetTagEvent, getGetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLevel, getMaxSize, getMeasureGraphics, getMinSize, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPointer, getPointerValue, getPriority, getRenderedCount, getReport, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShift, getShowQuickButtons, getStates, getTag, getTagStrValue, getToolTip, getToolTipValue, getUseParentStyles, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, invokeBlockly, InvokeClick, InvokeDoubleClick, InvokeEndRender, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, invokeScript, invokeScript, invokeScript, isAutomaticDock, isDesigning, IsParentSelect, NewGuid, OnAfterPrint, OnBeforePrint, OnClick, OnDoubleClick, OngetBookmark, OngetDrillDownReport, OngetHyperlink, OngetTag, OngetToolTip, OnMouseEnter, OnMouseLeave, OnPainted, OnPainting, OnRemoveComponent, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, select, setAfterPrintEvent, setAnchor, setBeforePrintEvent, setBookmarkValue, setClickEvent, setClientRectangle, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDoubleClickEvent, setDrillDownParameters, setExpressions, setGetDrillDownReportEvent, setGetHyperlinkEvent, setGetTagEvent, setGetToolTipEvent, setGuid, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeftProp, setMaxSize, setMinSize, setMouseEnterEvent, setMouseLeaveEvent, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPointer, setPointerValue, setRenderedCount, setReport, SetReportVariables, setSelectionTick, setSelectRectangle, setShift, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTopProp, setUseParentStyles, setWidthProp, 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.report.components.interfaces.IStiBorder
getBorder, setBorderMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiBrush
getBrush, setBrushMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage
getImageMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended
getImageMethods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
-
Constructor Details
-
StiCrossHeader
public StiCrossHeader()
-
-
Method Details
-
OnGetDisplayCrossValue
Raises the GetDisplayCrossValue event for this component. -
InvokeGetDisplayCrossValue
-
getGetDisplayCrossValueEvent
Gets or sets a script of the event GetDisplayCrossValueEvent. -
setGetDisplayCrossValueEvent
-
setText
- Specified by:
setTextin interfaceIStiText- Overrides:
setTextin classStiCrossCell
-
setValue
- Overrides:
setValuein classStiCrossCell
-
getDisplayValue
Gets or sets the expression that is used for calculation of a cell value which will be output in the table. -
setDisplayValue
-
getHideZeros
public boolean getHideZeros()Description copied from class:StiSimpleTextGets or sets value indicates that no need show zeroes.- Specified by:
getHideZerosin interfaceIStiText- Overrides:
getHideZerosin classStiSimpleText
-
setHideZeros
public void setHideZeros(boolean value) - Specified by:
setHideZerosin interfaceIStiText- Overrides:
setHideZerosin classStiSimpleText
-
getTotal
-
setTotal
-
getTotalGuid
-
setTotalGuid
-
getShowTotal
public boolean getShowTotal()Gets or sets value that indicates whether it is necessary to output totals or not. -
setShowTotal
public void setShowTotal(boolean value) -
getSortDirection
Gets or sets the sorting direction. -
setSortDirection
-
getSortType
Gets or sets the type of sorting. -
setSortType
-
getPrintOnAllPages
public boolean getPrintOnAllPages()Gets or sets value indicates that the component is printed on all pages. -
setPrintOnAllPages
public void setPrintOnAllPages(boolean value) -
isTotalVisible
public boolean isTotalVisible() -
getHeaderLevel
public int getHeaderLevel()- Returns:
- the headerLevel
-
setHeaderLevel
public void setHeaderLevel(int headerLevel) - Parameters:
headerLevel- the headerLevel to set
-
getHeaderValue
- Returns:
- the headerValue
-
setHeaderValue
- Parameters:
headerValue- the headerValue to set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiCrossCell- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiCrossCell- Throws:
JSONException
-