|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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
public class StiText
Describes the class that realizes the component - Text.
| Field Summary | |
|---|---|
StiFont |
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 | |
|---|---|
StiText()
Creates a new StiText. |
|
StiText(StiRectangle rect)
Creates a new StiText. |
|
StiText(StiRectangle rect,
java.lang.String text)
Creates a new StiText. |
|
| Method Summary | |
|---|---|
boolean |
Break(StiComponent dividedComponent,
double devideFactor,
StiRefObject<java.lang.Double> divideLine)
Occurs when the ExcelValue is calculated. |
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance. |
StiRectangle |
convertTextBorders(StiRectangle rect,
boolean convert)
|
StiRectangle |
convertTextMargins(StiRectangle rect,
boolean convert)
|
StiFont |
getActualFont(StiExpression text,
float minFontSize)
|
StiFont |
getActualFont(java.lang.String text)
|
StiFont |
getActualFont(java.lang.String text,
float minFontSize)
|
StiSize |
getActualSize()
Initializes a new instance of the StiSize class from the specified dimensi. |
boolean |
getAllowHtmlTags()
Gets or sets value that indicates that this component allow Html tags in text. |
java.lang.String[] |
getAllStrings()
Returns array of the property names which can be localized. |
float |
getAngle()
Gets or sets angle of a text rotation. |
boolean |
getAutoWidth()
Gets or sets value indicates that this object can change width automatically. |
StiBorder |
getBorder()
Gets or sets frame of the component. |
StiBrush |
getBrush()
Gets or sets a brush to fill a component. |
boolean |
getCanBreak()
Gets or sets value which indicates whether the component can or cannot break its contents on several pages. |
StiRectangle |
getClientRectangle()
gets or sets the client area of a component. |
java.lang.String |
getComponentPlacement()
gets or sets a value which indicates placement of a simple component. |
java.lang.String |
getComponentStyle()
gets or sets a style of a component. |
java.lang.String |
getExcelDataValue()
Gets or sets excel data value. |
StiExcelValueExpression |
getExcelValue()
Gets or sets an expression used for export data to Excel. |
boolean |
getExportAsImage()
Gets or sets value which indicates how content of text will be exported as image or as text. |
StiFont |
getFont()
Gets or sets font of component. |
java.lang.String |
getFormat()
|
StiGetExcelValueEvent |
getGetExcelValueEvent()
Occurs when the ExcelValue is calculated. |
java.lang.String |
getGuid()
gets or sets a guid of component. |
StiTextHorAlignment |
getHorAlignment()
Gets or sets the text horizontal alignment. |
StiIndicator |
getIndicator()
Gets or sets special indicator for text component. |
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
StiMargins |
getMargins()
Gets or sets text margins. |
java.lang.String |
getName()
Gets or sets a component name. |
java.lang.String |
getNullValue()
Gets or sets a value which shows instead null values. |
java.lang.String |
getRenderTo()
In the property specify the Text component in what the text that is out of the current Text component bound will be continued to be output. |
boolean |
getShrinkFontToFit()
Gets or sets value that indicates that this component is descrease size of font to fit content of component. |
float |
getShrinkFontToFitMinimumSize()
Gets or sets value that indicates minimum font size for ShrinkFontToFit operation. |
java.lang.String |
getString(java.lang.String propertyName)
Gets localized string from specified property name. |
java.lang.Object |
getTagValue()
gets or sets tag of a component. |
StiBrush |
getTextBrush()
Gets or sets a brush to draw text. |
StiFormatService |
getTextFormat()
Gets or sets the format of the text. |
StiTextOptions |
getTextOptions()
Gets or sets options to control of the text showing. |
StiTextQuality |
getTextQuality()
Gets or sets value that indicates quality of text. |
int |
getToolboxPosition()
Gets value to sort a position in the toolbox. |
StiSystemTextType |
getType()
|
StiVertAlignment |
getVertAlignment()
Gets or sets the vertical alignment of an object. |
boolean |
getWordWrap()
Gets or sets word wrap. |
boolean |
getWYSIWYG()
Gets or sets value that indicates that this component is to be output as WYSIWYG concept. |
void |
invokeEvents()
Invokes all events for this components. |
void |
InvokeRenderTo(StiSimpleText textFrom)
|
boolean |
isExportAsImage(StiExportFormat format)
|
void |
LoadFromJsonObject(JSONObject jObject)
|
StiSize |
measureString()
|
void |
packService()
Packs a service. |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setAllowHtmlTags(boolean value)
|
void |
setAngle(float value)
|
void |
setAutoWidth(boolean value)
|
void |
setBorder(StiBorder value)
|
void |
setBrush(StiBrush value)
|
void |
setCanBreak(boolean value)
|
void |
setExcelDataValue(java.lang.String value)
|
void |
setExcelValue(StiExcelValueExpression value)
|
void |
setExportAsImage(boolean value)
|
void |
setFont(StiFont value)
|
void |
setFormat(java.lang.String value)
|
void |
setGetExcelValueEvent(StiGetExcelValueEvent value)
|
void |
setHorAlignment(StiTextHorAlignment value)
|
void |
setIndicator(StiIndicator value)
|
void |
setMargins(StiMargins value)
|
void |
setNullValue(java.lang.String value)
|
void |
setRenderTo(java.lang.String value)
|
void |
setShrinkFontToFit(boolean value)
|
void |
setShrinkFontToFitMinimumSize(float value)
|
void |
setString(java.lang.String propertyName,
java.lang.String value)
Sets localized string to specified property name. |
void |
setTextBrush(StiBrush value)
|
void |
setTextFormat(StiFormatService value)
|
void |
setTextOptions(StiTextOptions value)
|
void |
setTextQuality(StiTextQuality value)
|
void |
setType(StiSystemTextType value)
|
void |
setVertAlignment(StiVertAlignment value)
|
void |
setWordWrap(boolean value)
|
void |
setWYSIWYG(boolean value)
|
| Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText |
|---|
checkDuplicates, getComponentGuid, getEditable, getEvents, getGetValueEvent, getGlobalizedName, getHideZeros, getLinesOfUnderline, getLinesOfUnderlining, getMaxNumberOfLines, getOnlyText, getProcessAt, getProcessAtEnd, getProcessingDuplicates, getQuickInfo, getText, getTextInternal, getTextValue, GetTextWithoutZero, getTotalValueHelp, InvokeGetValue, InvokeTextProcess, ProcessText, RestoreState, SaveState, saveState, setComponentGuid, setEditable, setGetValueEvent, setGlobalizedName, setHideZeros, setLinesOfUnderline, setLinesOfUnderlining, setMaxNumberOfLines, setOnlyText, setProcessAt, setProcessAtEnd, setProcessingDuplicates, SetText, setText, setText, setTextInternal, SetTextInternal, setTextValue, setTotalValueHelp |
| 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.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 |
| Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiPrintOn |
|---|
getPrintOn, setPrintOn |
| Field Detail |
|---|
public StiFont font
| Constructor Detail |
|---|
public StiText()
public StiText(StiRectangle rect)
rect - The rectangle describes size and position of the component.
public StiText(StiRectangle rect,
java.lang.String text)
rect - The rectangle describes sizes and position of the component.text - Text expression.| Method Detail |
|---|
public boolean Break(StiComponent dividedComponent,
double devideFactor,
StiRefObject<java.lang.Double> divideLine)
Break in interface IStiBreakabledividedComponent - Component for store part of content.
public StiIndicator getIndicator()
public void setIndicator(StiIndicator value)
public boolean isExportAsImage(StiExportFormat format)
isExportAsImage in interface IStiExportImageExtendedisExportAsImage in class StiComponent
public void setString(java.lang.String propertyName,
java.lang.String value)
setString in interface IStiGlobalizationProviderpublic java.lang.String getString(java.lang.String propertyName)
getString in interface IStiGlobalizationProviderpublic java.lang.String[] getAllStrings()
getAllStrings in interface IStiGlobalizationProviderpublic boolean getCanBreak()
getCanBreak in interface IStiBreakablepublic void setCanBreak(boolean value)
setCanBreak in interface IStiBreakablepublic boolean getAutoWidth()
getAutoWidth in interface IStiAutoWidthpublic void setAutoWidth(boolean value)
setAutoWidth in interface IStiAutoWidthpublic java.lang.String getRenderTo()
public void setRenderTo(java.lang.String value)
public void InvokeRenderTo(StiSimpleText textFrom)
InvokeRenderTo in class StiSimpleTextpublic boolean getWYSIWYG()
public void setWYSIWYG(boolean value)
public StiTextHorAlignment getHorAlignment()
getHorAlignment in interface IStiTextHorAlignmentpublic void setHorAlignment(StiTextHorAlignment value)
setHorAlignment in interface IStiTextHorAlignmentpublic StiVertAlignment getVertAlignment()
getVertAlignment in interface IStiVertAlignmentpublic void setVertAlignment(StiVertAlignment value)
setVertAlignment in interface IStiVertAlignmentpublic StiFont getFont()
getFont in interface IStiFontpublic void setFont(StiFont value)
setFont in interface IStiFontpublic final StiBorder getBorder()
getBorder in interface IStiBorderpublic final void setBorder(StiBorder value)
setBorder in interface IStiBorderpublic final StiBrush getBrush()
getBrush in interface IStiBrushpublic final void setBrush(StiBrush value)
setBrush in interface IStiBrushpublic StiBrush getTextBrush()
getTextBrush in interface IStiTextBrushpublic void setTextBrush(StiBrush value)
setTextBrush in interface IStiTextBrushpublic StiFormatService getTextFormat()
getTextFormat in interface IStiTextFormatpublic void setTextFormat(StiFormatService value)
setTextFormat in interface IStiTextFormatpublic java.lang.String getFormat()
public void setFormat(java.lang.String value)
public StiTextOptions getTextOptions()
getTextOptions in interface IStiTextOptionspublic void setTextOptions(StiTextOptions value)
setTextOptions in interface IStiTextOptions
public final StiRectangle convertTextMargins(StiRectangle rect,
boolean convert)
public final StiRectangle convertTextBorders(StiRectangle rect,
boolean convert)
public void packService()
StiComponent
packService in class StiComponentpublic int getToolboxPosition()
getToolboxPosition in class StiComponentpublic java.lang.String getLocalizedCategory()
getLocalizedCategory in class StiBasepublic java.lang.String getLocalizedName()
getLocalizedName in class StiBasepublic final java.lang.String getExcelDataValue()
public final void setExcelDataValue(java.lang.String value)
public StiExcelValueExpression getExcelValue()
public void setExcelValue(StiExcelValueExpression value)
public void invokeEvents()
invokeEvents in class StiComponentpublic final StiGetExcelValueEvent getGetExcelValueEvent()
public final void setGetExcelValueEvent(StiGetExcelValueEvent value)
public final java.lang.String getNullValue()
public final void setNullValue(java.lang.String value)
public final StiSystemTextType getType()
public final void setType(StiSystemTextType value)
public boolean getWordWrap()
public void setWordWrap(boolean value)
public float getAngle()
public void setAngle(float value)
public boolean getExportAsImage()
public void setExportAsImage(boolean value)
public StiTextQuality getTextQuality()
public void setTextQuality(StiTextQuality value)
public boolean getAllowHtmlTags()
public void setAllowHtmlTags(boolean value)
public StiMargins getMargins()
public void setMargins(StiMargins value)
public boolean getShrinkFontToFit()
public void setShrinkFontToFit(boolean value)
public float getShrinkFontToFitMinimumSize()
public void setShrinkFontToFitMinimumSize(float value)
public final StiFont getActualFont(java.lang.String text)
public final StiFont getActualFont(StiExpression text,
float minFontSize)
public final StiFont getActualFont(java.lang.String text,
float minFontSize)
public java.lang.Object clone()
StiSimpleText
clone in class StiSimpleTextpublic StiSize getActualSize()
StiComponent
getActualSize in class StiComponentpublic StiRectangle getClientRectangle()
StiComponent
getClientRectangle in class StiComponentpublic java.lang.String getName()
StiBase
getName in interface IStiNamegetName in class StiBasepublic java.lang.String getComponentPlacement()
StiComponent
getComponentPlacement in class StiComponentpublic java.lang.String getGuid()
StiComponent
getGuid in interface IStiComponentGuidgetGuid in class StiComponentpublic java.lang.Object getTagValue()
StiComponent
getTagValue in class StiComponentpublic java.lang.String getComponentStyle()
StiComponent
getComponentStyle in class StiComponentpublic StiSize measureString()
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiSimpleTextJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiSimpleTextJSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||