com.stimulsoft.report.crossTab
Class StiCrossSummary

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.StiBase
              extended by com.stimulsoft.report.components.StiComponent
                  extended by com.stimulsoft.report.components.simplecomponents.StiSimpleText
                      extended by com.stimulsoft.report.components.simplecomponents.StiText
                          extended by com.stimulsoft.report.crossTab.StiCrossField
                              extended by com.stimulsoft.report.crossTab.StiCrossCell
                                  extended by com.stimulsoft.report.crossTab.StiCrossSummary
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, java.lang.Cloneable

public class StiCrossSummary
extends StiCrossCell


Field Summary
 
Fields inherited from class com.stimulsoft.report.crossTab.StiCrossField
originalValue
 
Fields inherited from class com.stimulsoft.report.components.simplecomponents.StiText
font
 
Fields inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText
text, totalValueHelp
 
Fields inherited from class com.stimulsoft.report.components.StiComponent
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiCrossSummary()
           
 
Method Summary
 java.lang.Object clone(boolean cloneProperties)
          Creates a new object that is a copy of the current instanc.
 boolean getAspectRatio()
          Gets or sets value, indicates that the image will save its aspect ratio.
 java.lang.String getCellText()
           
 java.lang.String getCrossColumnValue()
           
 java.lang.String getCrossRowValue()
           
 boolean getHideZeros()
          Gets or sets value indicates that no need show zeroes.
 StiTextHorAlignment getHorAlignment()
          Gets or sets the text horizontal alignment.
 StiHorAlignment getImageHorAlignment()
          Gets or sets the horizontal alignment of an object.
 StiVertAlignment getImageVertAlignment()
          Gets or sets the vertical alignment of an object.
 int getIndexOfSelectValue()
          Internal use only.
 java.lang.String getLocalizedName()
          Gets a localized component name.
 boolean getShowPercents()
          Gets or sets value which indicates that value in cell must be shown as percents.
 boolean getStretch()
          Gets or sets value, indicates that this component will stretch the image till the image will get size equal in its size on the page.
 StiSummaryType getSummary()
          Gets or sets the type of values summation.
 StiSummaryValues getSummaryValues()
          Gets or sets the type of zeros and nulls values summation.
 boolean getUseStyleOfSummaryInColumnTotal()
          Gets or sets value which indicates that style of summary cell will be used in column total.
 boolean getUseStyleOfSummaryInRowTotal()
          Gets or sets value which indicates that style of summary cell will be used in row total.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAspectRatio(boolean value)
           
 void setCrossColumnValue(java.lang.String value)
           
 void setCrossRowValue(java.lang.String value)
           
 void setHideZeros(boolean value)
           
 void setHorAlignment(StiTextHorAlignment value)
           
 void setImageHorAlignment(StiHorAlignment value)
           
 void setImageVertAlignment(StiVertAlignment value)
           
 void setIndexOfSelectValue(int value)
           
 void setShowPercents(boolean value)
           
 void setStretch(boolean value)
           
 void setSummary(StiSummaryType value)
           
 void setSummaryValues(StiSummaryValues value)
           
 void setUseStyleOfSummaryInColumnTotal(boolean value)
           
 void setUseStyleOfSummaryInRowTotal(boolean value)
           
 
Methods inherited from class com.stimulsoft.report.crossTab.StiCrossCell
getGetCrossValueEvent, getValue, InvokeGetCrossValue, setGetCrossValueEvent, setText, setValue
 
Methods inherited from class com.stimulsoft.report.crossTab.StiCrossField
getAutoWidth, getBookmark, getCanBreak, getCanGrow, getCanShrink, getDockStyle, getEditable, getEnabled, getExcelValue, getExportAsImage, getFont, getgetBookmarkEvent, getGlobalizedName, getGrowToHeight, getHeight, 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, 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, toString
 
Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiText
Break, clone, convertTextBorders, convertTextMargins, getActualFont, getActualFont, getActualFont, getActualSize, getAllowHtmlTags, getAllStrings, getAngle, getBorder, getBrush, getClientRectangle, getComponentPlacement, getComponentStyle, getExcelDataValue, getFormat, getGetExcelValueEvent, getGuid, getIndicator, getMargins, getName, getNullValue, getString, getTagValue, getTextOptions, getTextQuality, getToolboxPosition, getType, getWordWrap, invokeEvents, InvokeRenderTo, isExportAsImage, measureString, packService, setAllowHtmlTags, setAngle, setBorder, setBrush, setExcelDataValue, setFormat, setGetExcelValueEvent, setIndicator, setMargins, setNullValue, setString, setTextOptions, setTextQuality, setType, setWordWrap
 
Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText
checkDuplicates, getComponentGuid, getEvents, getGetValueEvent, getLinesOfUnderlining, getQuickInfo, getText, getTextInternal, getTextValue, GetTextWithoutZero, getTotalValueHelp, InvokeGetValue, InvokeTextProcess, ProcessText, RestoreState, SaveState, saveState, setComponentGuid, setGetValueEvent, setLinesOfUnderlining, SetText, setText, setTextInternal, SetTextInternal, setTextValue, setTotalValueHelp
 
Methods inherited from class com.stimulsoft.report.components.StiComponent
addSize, applyConditions, canContainIn, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, ComponentToPage, ComponentToPage, ComponentToPage, convert, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, doPointer, fillComponentPlacement, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmarkValue, getBottom, getClickEvent, 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, getTag, getTagStrValue, getToolTip, getToolTipValue, getUseParentStyles, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, InvokeClick, InvokeDoubleClick, InvokeEndRender, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, isAutomaticDock, isDesigning, IsParentSelect, NewGuid, 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, UnPrepare
 
Methods inherited from class com.stimulsoft.report.StiBase
getServiceName
 
Methods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiBorder
getBorder, setBorder
 
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiBrush
getBrush, setBrush
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended
getImage
 
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage
getImage
 

Constructor Detail

StiCrossSummary

public StiCrossSummary()
Method Detail

clone

public java.lang.Object clone(boolean cloneProperties)
Description copied from class: StiComponent
Creates a new object that is a copy of the current instanc.

Overrides:
clone in class StiComponent
Returns:
A new object that is a copy of this instance.

getHorAlignment

public StiTextHorAlignment getHorAlignment()
Gets or sets the text horizontal alignment.

Specified by:
getHorAlignment in interface IStiTextHorAlignment
Overrides:
getHorAlignment in class StiCrossField

setHorAlignment

public void setHorAlignment(StiTextHorAlignment value)
Specified by:
setHorAlignment in interface IStiTextHorAlignment
Overrides:
setHorAlignment in class StiCrossField

getAspectRatio

public final boolean getAspectRatio()
Gets or sets value, indicates that the image will save its aspect ratio.


setAspectRatio

public final void setAspectRatio(boolean value)

getStretch

public final boolean getStretch()
Gets or sets value, indicates that this component will stretch the image till the image will get size equal in its size on the page.


setStretch

public final void setStretch(boolean value)

getImageHorAlignment

public final StiHorAlignment getImageHorAlignment()
Gets or sets the horizontal alignment of an object.


setImageHorAlignment

public final void setImageHorAlignment(StiHorAlignment value)

getImageVertAlignment

public final StiVertAlignment getImageVertAlignment()
Gets or sets the vertical alignment of an object.


setImageVertAlignment

public final void setImageVertAlignment(StiVertAlignment value)

getCrossColumnValue

public final java.lang.String getCrossColumnValue()

setCrossColumnValue

public final void setCrossColumnValue(java.lang.String value)

getCrossRowValue

public final java.lang.String getCrossRowValue()

setCrossRowValue

public final void setCrossRowValue(java.lang.String value)

getIndexOfSelectValue

public final int getIndexOfSelectValue()
Internal use only.


setIndexOfSelectValue

public final void setIndexOfSelectValue(int value)

getCellText

public java.lang.String getCellText()
Overrides:
getCellText in class StiCrossField

getHideZeros

public boolean getHideZeros()
Gets or sets value indicates that no need show zeroes.

Specified by:
getHideZeros in interface IStiText
Overrides:
getHideZeros in class StiSimpleText

setHideZeros

public void setHideZeros(boolean value)
Specified by:
setHideZeros in interface IStiText
Overrides:
setHideZeros in class StiSimpleText

getSummary

public final StiSummaryType getSummary()
Gets or sets the type of values summation.


setSummary

public final void setSummary(StiSummaryType value)

getSummaryValues

public final StiSummaryValues getSummaryValues()
Gets or sets the type of zeros and nulls values summation.


setSummaryValues

public final void setSummaryValues(StiSummaryValues value)

getUseStyleOfSummaryInRowTotal

public final boolean getUseStyleOfSummaryInRowTotal()
Gets or sets value which indicates that style of summary cell will be used in row total.


setUseStyleOfSummaryInRowTotal

public final void setUseStyleOfSummaryInRowTotal(boolean value)

getUseStyleOfSummaryInColumnTotal

public final boolean getUseStyleOfSummaryInColumnTotal()
Gets or sets value which indicates that style of summary cell will be used in column total.


setUseStyleOfSummaryInColumnTotal

public final void setUseStyleOfSummaryInColumnTotal(boolean value)

getLocalizedName

public java.lang.String getLocalizedName()
Gets a localized component name.

Overrides:
getLocalizedName in class StiText

getShowPercents

public boolean getShowPercents()
Gets or sets value which indicates that value in cell must be shown as percents.


setShowPercents

public void setShowPercents(boolean value)

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiCrossCell
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiCrossCell
Throws:
JSONException