Class StiContourText
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.components.simplecomponents.StiSimpleText
com.stimulsoft.report.components.simplecomponents.StiText
com.stimulsoft.report.components.simplecomponents.StiContourText
- All Implemented Interfaces:
IStiAppExpressionCollection,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiSerializableToAttributes,IStiName,IStiAutoWidth,IStiBorder,IStiBreakable,IStiBrush,IStiCanGrow,IStiCanShrink,IStiComponentGuid,IStiConditions,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
The class describes the Contour Text.
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionCreates a new contour text.StiContourText(StiRectangle rect) Creates a new contour text.StiContourText(StiRectangle rect, String text) Creates a new contour text. -
Method Summary
Modifier and TypeMethodDescriptionfinal ColorGets or sets a contour color.Gets or sets value indicates that it is necessary to lines of underline.Gets a localized component name.final doublegetSize()Gets or sets a contour size.intGets value to sort a position in the toolbox.voidLoadFromJsonObject(JSONObject jObject) final voidsetContourColor(Color value) voidsetLinesOfUnderline(StiPenStyle value) final voidsetSize(double value) Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiText
Break, checkAllowHtmlTags, clone, convertTextBorders, convertTextMargins, getActualFont, getActualFont, getActualFont, getActualSize, getAllowHtmlTags, getAllStrings, getAngle, getAutoWidth, getBorder, getBrush, getCanBreak, getClientRectangle, getComponentPlacement, getComponentStyle, getExcelDataValue, getExcelValue, getExportAsImage, getFont, getFormat, getGetExcelValueEvent, getGuid, getHorAlignment, getIndicator, getLineSpacing, getLocalizedCategory, getMargins, getName, getNullValue, getRenderTo, getRightToLeft, getShrinkFontToFit, getShrinkFontToFitMinimumSize, getString, getTagValue, getTextBrush, getTextFormat, getTextOptions, getTextQuality, getType, getVertAlignment, getWordWrap, getWYSIWYG, invokeEvents, InvokeGetExcelValue, InvokeRenderTo, isExportAsImage, measureString, OnGetExcelValue, packService, setAllowHtmlTags, setAngle, setAutoWidth, setBorder, setBrush, setCanBreak, setExcelDataValue, setExcelValue, setExportAsImage, setFont, setFormat, setGetExcelValueEvent, setHorAlignment, setIndicator, setLineSpacing, setMargins, setNullValue, setRenderTo, setRightToLeft, setShrinkFontToFit, setShrinkFontToFitMinimumSize, setString, setTextBrush, setTextFormat, setTextOptions, setTextQuality, setType, setVertAlignment, setWordWrap, setWYSIWYGMethods inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText
checkDuplicates, getComponentGuid, getEditable, getEvents, getGetValueEvent, getGlobalizedName, getHideZeros, getLinesOfUnderlining, getMaxNumberOfLines, getOnlyText, getProcessAt, getProcessAtEnd, getProcessingDuplicates, getQuickInfo, getText, getTextInternal, getTextValue, GetTextWithoutZero, getTotalValueHelp, InvokeGetValue, InvokeTextProcess, OnGetValue, ProcessText, RestoreState, saveState, SaveState, setComponentGuid, setEditable, setGetValueEvent, setGlobalizedName, setHideZeros, setLinesOfUnderlining, setMaxNumberOfLines, setOnlyText, setProcessAt, setProcessAtEnd, setProcessingDuplicates, setText, 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, getBookmark, getBookmarkValue, getBottom, getBuilder, getCanGrow, getCanShrink, getClickEvent, GetComponentStyle, getComponentType, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDefaultClientRectangle, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDockStyle, getDoubleClickEvent, getDrillDownParameters, getEnabled, getExpressions, getForceRedrawAll, getGetBookmarkEvent, getGetDrillDownReportEvent, getGetHyperlinkEvent, getGetTagEvent, getGetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getGrowToHeight, getHeight, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLeft, getLevel, getLinked, getLocked, getMaxSize, getMeasureGraphics, getMinSize, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPointer, getPointerValue, getPrintable, getPrintOn, getPriority, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShift, getShiftMode, getShowQuickButtons, getStates, getTag, getTagStrValue, getToolTip, getToolTipValue, getTop, getUseParentStyles, getWidth, 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, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setCanGrow, setCanShrink, setClickEvent, setClientRectangle, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDockStyle, setDoubleClickEvent, setDrillDownParameters, setEnabled, setExpressions, setGetBookmarkEvent, setGetDrillDownReportEvent, setGetHyperlinkEvent, setGetTagEvent, setGetToolTipEvent, setGrowToHeight, setGuid, setHeight, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeft, setLeftProp, setLinked, setLocked, setMaxSize, setMinSize, setMouseEnterEvent, setMouseLeaveEvent, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPointer, setPointerValue, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShift, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTop, setTopProp, setUseParentStyles, setWidth, 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.report.components.interfaces.IStiExportImage
getImageMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended
getImageMethods inherited from interface com.stimulsoft.report.components.interfaces.IStiPrintOn
getPrintOn, setPrintOnMethods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
-
Constructor Details
-
StiContourText
public StiContourText()Creates a new contour text. -
StiContourText
Creates a new contour text.- Parameters:
rect- Rectangle describes size and position of the component.
-
StiContourText
Creates a new contour text.- Parameters:
rect- Rectangle describes size and position of the component.text- Text.
-
-
Method Details
-
getLinesOfUnderline
Description copied from class:StiSimpleTextGets or sets value indicates that it is necessary to lines of underline.- Specified by:
getLinesOfUnderlinein interfaceIStiText- Overrides:
getLinesOfUnderlinein classStiSimpleText
-
setLinesOfUnderline
- Specified by:
setLinesOfUnderlinein interfaceIStiText- Overrides:
setLinesOfUnderlinein classStiSimpleText
-
getToolboxPosition
public int getToolboxPosition()Gets value to sort a position in the toolbox.- Overrides:
getToolboxPositionin classStiText
-
getLocalizedName
Gets a localized component name.- Overrides:
getLocalizedNamein classStiText
-
getContourColor
Gets or sets a contour color. -
setContourColor
-
getSize
public final double getSize()Gets or sets a contour size. -
setSize
public final void setSize(double value) -
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiText- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiText- Throws:
JSONException
-