com.stimulsoft.report.components.table
Class StiTableCellRichText

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.StiRichText
                          extended by com.stimulsoft.report.components.table.StiTableCellRichText
All Implemented Interfaces:
IStiAppExpressionCollection, IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, IStiBackColor, IStiBorder, IStiBreakable, IStiCanGrow, IStiCanShrink, IStiComponentGuid, IStiConditions, IStiEditable, IStiExportImage, IStiExportImageExtended, IStiGlobalizedName, IStiGrowToHeight, IStiInteraction, IStiOnlyText, IStiPrintOn, IStiProcessAt, IStiProcessAtEnd, IStiSelect, IStiShift, IStiText, IStiUnitConvert, IStiTableCell, IStiTableComponent, IStiReportProperty, IStiGlobalizationProvider, IStiInherited, IStiStateSaveRestore, java.lang.Cloneable

public class StiTableCellRichText
extends StiRichText
implements IStiTableCell, IStiTableComponent


Field Summary
 boolean join
           
 java.util.ArrayList<java.lang.Integer> joinCells
           
 int parentJoin
           
 
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
StiTableCellRichText()
           
 
Method Summary
 java.lang.Object clone(boolean cloneProperties)
          Creates a new object that is a copy of the current instanc.
 boolean ContainsGuid(int id)
           
 boolean getCanGrow()
          gets or sets a value which indicates that this object can grow.
 boolean getCanShrink()
          gets or sets value which indicates that this object can shrink.
 StiDockStyle getCellDockStyle()
           
 StiTablceCellType getCellType()
          Get or sets cell contents.
 boolean getChangeLeftPosition()
           
 boolean getChangeRightPosition()
           
 boolean getChangeTopPosition()
           
 int getColumn()
           
 StiDockStyle getDockStyle()
          gets or sets a type of the component docking.
 boolean getFixedWidth()
           
 boolean getGrowToHeight()
          gets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.
 double getHeight()
           
 int getID()
           
 boolean getJoin()
           
 java.util.ArrayList<java.lang.Integer> getJoinCells()
           
 StiComponent GetJoinComponentByGuid(int id)
           
 StiComponent GetJoinComponentByIndex(int index)
           
 int getJoinHeight()
           
 int getJoinWidth()
           
 double getLeft()
          gets or sets left position of a component.
 boolean getLinked()
          gets or sets a value which indicates whether the object snap to the container is turned on.
 boolean getLocked()
          gets or sets a value which indicates that moving is locked.
 StiSize getMaxSize()
          gets or sets maximal size.
 boolean getMerged()
           
 StiSize getMinSize()
          gets or sets minimal size.
 int getParentJoin()
           
 StiComponent getParentJoinCell()
           
 double GetRealHeight()
           
 double GetRealHeightAfterInsertRows()
           
 double GetRealLeft()
           
 double GetRealTop()
           
 double GetRealWidth()
           
 StiEnumSet<StiRestrictions> getRestrictions()
          gets or sets value which indicates the restrictions of a component.
 java.lang.Object getTableTag()
           
 double getTop()
          gets or sets top position of a component.
 double getWidth()
          gets or sets width of a component.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCanGrow(boolean value)
           
 void setCanShrink(boolean value)
           
 void setCellDockStyle(StiDockStyle value)
           
 void setCellType(StiTablceCellType value)
           
 void setColumn(int value)
           
 void setDockStyle(StiDockStyle value)
           
 void setFixedWidth(boolean value)
           
 void setGrowToHeight(boolean value)
           
 void setHeight(double value)
           
 void setID(int value)
           
 void setJoin(boolean value)
           
 void setJoinCells(java.util.ArrayList<java.lang.Integer> value)
           
 void setJoinHeight(int value)
           
 void SetJoinSize()
           
 void setJoinWidth(int value)
           
 void setLeft(double value)
           
 void setLinked(boolean value)
           
 void setLocked(boolean value)
           
 void setMaxSize(StiSize value)
           
 void setMinSize(StiSize value)
           
 void setParentJoin(int value)
           
 void setParentJoinCell(StiComponent value)
           
 void setRestrictions(StiEnumSet<StiRestrictions> value)
           
 void setTableTag(java.lang.Object value)
           
 void setTop(double value)
           
 void setWidth(double value)
           
 
Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiRichText
Break, clone, convertTextMargins, fixCyrillic, getActualSize, getAllStrings, getBackColor, getBorder, getCanBreak, getDataColumn, getDataUrl, getDecodeText, getDefaultColor, getDefaultFont, getDetectUrls, getFullConvertExpression, getGlobalizedName, getHideZeros, getImage, getLinesOfUnderline, getLocalizedCategory, getLocalizedName, getMargins, getMaxNumberOfLines, getProcessingDuplicates, getRtfFromSource, getRtfText, getString, getToolboxPosition, getWordWrap, getWysiwyg, InvokeGetValue, isExportAsImage, PackRtf, SaveState, setBackColor, setBorder, setCanBreak, setDataColumn, setDataUrl, setDefaultColor, setDefaultFont, setDetectUrls, setFullConvertExpression, setGlobalizedName, setHideZeros, setImage, setLinesOfUnderline, setMargins, setMaxNumberOfLines, setProcessingDuplicates, setString, setTextInternal, setWordWrap, setWysiwyg, unpackRTF
 
Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText
checkDuplicates, getComponentGuid, getEditable, getEvents, getGetValueEvent, getLinesOfUnderlining, getOnlyText, getProcessAt, getProcessAtEnd, getQuickInfo, getText, getTextInternal, getTextValue, GetTextWithoutZero, getTotalValueHelp, InvokeRenderTo, InvokeTextProcess, ProcessText, RestoreState, saveState, setComponentGuid, setEditable, setGetValueEvent, setLinesOfUnderlining, setOnlyText, setProcessAt, setProcessAtEnd, SetText, setText, setText, 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, getBookmark, getBookmarkValue, getBottom, getClickEvent, getClientRectangle, getComponentPlacement, getComponentStyle, getComponentType, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDefaultClientRectangle, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDoubleClickEvent, getDrillDownParameters, getEnabled, getExpressions, getForceRedrawAll, getgetBookmarkEvent, getgetDrillDownReportEvent, getgetHyperlinkEvent, getgetTagEvent, getgetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getGuid, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLevel, getMeasureGraphics, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPointer, getPointerValue, getPrintable, getPrintOn, getPriority, getRenderedCount, getReport, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShift, getShiftMode, getShowQuickButtons, getTag, getTagStrValue, getTagValue, getToolTip, getToolTipValue, getUseParentStyles, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, InvokeClick, InvokeDoubleClick, InvokeEndRender, invokeEvents, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, isAutomaticDock, isDesigning, IsParentSelect, NewGuid, OnRemoveComponent, packService, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, select, setAfterPrintEvent, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setClickEvent, setClientRectangle, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDoubleClickEvent, setDrillDownParameters, setEnabled, setExpressions, setgetBookmarkEvent, setgetDrillDownReportEvent, setgetHyperlinkEvent, setgetTagEvent, setgetToolTipEvent, setGuid, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeftProp, setMouseEnterEvent, setMouseLeaveEvent, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPointer, setPointerValue, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setSelectionTick, setSelectRectangle, setShift, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTopProp, setUseParentStyles, setWidthProp, toString, UnPrepare
 
Methods inherited from class com.stimulsoft.report.StiBase
getName, 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.IStiExportImageExtended
getImage
 
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage
getImage
 

Field Detail

joinCells

public java.util.ArrayList<java.lang.Integer> joinCells

parentJoin

public int parentJoin

join

public boolean join
Constructor Detail

StiTableCellRichText

public StiTableCellRichText()
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.

getDockStyle

public StiDockStyle getDockStyle()
Description copied from class: StiComponent
gets or sets a type of the component docking.

Overrides:
getDockStyle in class StiComponent

setDockStyle

public void setDockStyle(StiDockStyle value)
Overrides:
setDockStyle in class StiComponent

getRestrictions

public StiEnumSet<StiRestrictions> getRestrictions()
Description copied from class: StiComponent
gets or sets value which indicates the restrictions of a component.

Overrides:
getRestrictions in class StiComponent

setRestrictions

public void setRestrictions(StiEnumSet<StiRestrictions> value)
Overrides:
setRestrictions in class StiComponent

getLeft

public double getLeft()
Description copied from class: StiComponent
gets or sets left position of a component.

Overrides:
getLeft in class StiComponent

setLeft

public void setLeft(double value)
Overrides:
setLeft in class StiComponent

getTop

public double getTop()
Description copied from class: StiComponent
gets or sets top position of a component.

Overrides:
getTop in class StiComponent

setTop

public void setTop(double value)
Overrides:
setTop in class StiComponent

getWidth

public double getWidth()
Description copied from class: StiComponent
gets or sets width of a component.

Overrides:
getWidth in class StiComponent

setWidth

public void setWidth(double value)
Overrides:
setWidth in class StiComponent

getHeight

public double getHeight()
Overrides:
getHeight in class StiComponent

setHeight

public void setHeight(double value)
Overrides:
setHeight in class StiComponent

getMinSize

public StiSize getMinSize()
Description copied from class: StiComponent
gets or sets minimal size.

Overrides:
getMinSize in class StiComponent

setMinSize

public void setMinSize(StiSize value)
Overrides:
setMinSize in class StiComponent

getMaxSize

public StiSize getMaxSize()
Description copied from class: StiComponent
gets or sets maximal size.

Overrides:
getMaxSize in class StiComponent

setMaxSize

public void setMaxSize(StiSize value)
Overrides:
setMaxSize in class StiComponent

getLocked

public boolean getLocked()
Description copied from class: StiComponent
gets or sets a value which indicates that moving is locked.

Overrides:
getLocked in class StiComponent

setLocked

public void setLocked(boolean value)
Overrides:
setLocked in class StiComponent

getLinked

public boolean getLinked()
Description copied from class: StiComponent
gets or sets a value which indicates whether the object snap to the container is turned on.

Overrides:
getLinked in class StiComponent

setLinked

public void setLinked(boolean value)
Overrides:
setLinked in class StiComponent

getCanShrink

public boolean getCanShrink()
Description copied from class: StiComponent
gets or sets value which indicates that this object can shrink.

Specified by:
getCanShrink in interface IStiCanShrink
Overrides:
getCanShrink in class StiComponent

setCanShrink

public void setCanShrink(boolean value)
Specified by:
setCanShrink in interface IStiCanShrink
Overrides:
setCanShrink in class StiComponent

getCanGrow

public boolean getCanGrow()
Description copied from class: StiComponent
gets or sets a value which indicates that this object can grow.

Specified by:
getCanGrow in interface IStiCanGrow
Overrides:
getCanGrow in class StiComponent

setCanGrow

public void setCanGrow(boolean value)
Specified by:
setCanGrow in interface IStiCanGrow
Overrides:
setCanGrow in class StiComponent

getGrowToHeight

public boolean getGrowToHeight()
Description copied from class: StiComponent
gets or sets a value which indicates that the height of this component increases/decreases to the bottom of a container.

Specified by:
getGrowToHeight in interface IStiGrowToHeight
Overrides:
getGrowToHeight in class StiComponent

setGrowToHeight

public void setGrowToHeight(boolean value)
Specified by:
setGrowToHeight in interface IStiGrowToHeight
Overrides:
setGrowToHeight in class StiComponent

getCellDockStyle

public final StiDockStyle getCellDockStyle()
Specified by:
getCellDockStyle in interface IStiTableCell

setCellDockStyle

public final void setCellDockStyle(StiDockStyle value)
Specified by:
setCellDockStyle in interface IStiTableCell

getParentJoinCell

public final StiComponent getParentJoinCell()
Specified by:
getParentJoinCell in interface IStiTableCell

setParentJoinCell

public final void setParentJoinCell(StiComponent value)
Specified by:
setParentJoinCell in interface IStiTableCell

getJoinCells

public final java.util.ArrayList<java.lang.Integer> getJoinCells()
Specified by:
getJoinCells in interface IStiTableCell

setJoinCells

public final void setJoinCells(java.util.ArrayList<java.lang.Integer> value)
Specified by:
setJoinCells in interface IStiTableCell

getParentJoin

public final int getParentJoin()
Specified by:
getParentJoin in interface IStiTableCell

setParentJoin

public final void setParentJoin(int value)
Specified by:
setParentJoin in interface IStiTableCell

getJoin

public final boolean getJoin()
Specified by:
getJoin in interface IStiTableCell

setJoin

public final void setJoin(boolean value)
Specified by:
setJoin in interface IStiTableCell

getID

public final int getID()
Specified by:
getID in interface IStiTableCell

setID

public final void setID(int value)
Specified by:
setID in interface IStiTableCell

getJoinWidth

public final int getJoinWidth()
Specified by:
getJoinWidth in interface IStiTableCell

setJoinWidth

public final void setJoinWidth(int value)
Specified by:
setJoinWidth in interface IStiTableCell

getJoinHeight

public final int getJoinHeight()
Specified by:
getJoinHeight in interface IStiTableCell

setJoinHeight

public final void setJoinHeight(int value)
Specified by:
setJoinHeight in interface IStiTableCell

getMerged

public final boolean getMerged()
Specified by:
getMerged in interface IStiTableCell

getChangeTopPosition

public final boolean getChangeTopPosition()
Specified by:
getChangeTopPosition in interface IStiTableCell

getChangeLeftPosition

public final boolean getChangeLeftPosition()
Specified by:
getChangeLeftPosition in interface IStiTableCell

getChangeRightPosition

public final boolean getChangeRightPosition()
Specified by:
getChangeRightPosition in interface IStiTableCell

getTableTag

public final java.lang.Object getTableTag()
Specified by:
getTableTag in interface IStiTableCell

setTableTag

public final void setTableTag(java.lang.Object value)
Specified by:
setTableTag in interface IStiTableCell

getCellType

public final StiTablceCellType getCellType()
Get or sets cell contents.

Specified by:
getCellType in interface IStiTableCell

setCellType

public final void setCellType(StiTablceCellType value)
Specified by:
setCellType in interface IStiTableCell

getFixedWidth

public final boolean getFixedWidth()
Specified by:
getFixedWidth in interface IStiTableCell

setFixedWidth

public final void setFixedWidth(boolean value)
Specified by:
setFixedWidth in interface IStiTableCell

getColumn

public final int getColumn()
Specified by:
getColumn in interface IStiTableCell

setColumn

public final void setColumn(int value)
Specified by:
setColumn in interface IStiTableCell

GetJoinComponentByGuid

public final StiComponent GetJoinComponentByGuid(int id)
Specified by:
GetJoinComponentByGuid in interface IStiTableCell

GetJoinComponentByIndex

public final StiComponent GetJoinComponentByIndex(int index)
Specified by:
GetJoinComponentByIndex in interface IStiTableCell

ContainsGuid

public final boolean ContainsGuid(int id)
Specified by:
ContainsGuid in interface IStiTableCell

SetJoinSize

public final void SetJoinSize()
Specified by:
SetJoinSize in interface IStiTableCell

GetRealHeightAfterInsertRows

public final double GetRealHeightAfterInsertRows()
Specified by:
GetRealHeightAfterInsertRows in interface IStiTableCell

GetRealHeight

public final double GetRealHeight()
Specified by:
GetRealHeight in interface IStiTableCell

GetRealTop

public final double GetRealTop()
Specified by:
GetRealTop in interface IStiTableCell

GetRealWidth

public final double GetRealWidth()
Specified by:
GetRealWidth in interface IStiTableCell

GetRealLeft

public final double GetRealLeft()
Specified by:
GetRealLeft in interface IStiTableCell

SaveToJsonObject

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

LoadFromJsonObject

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