| 
||||||||||
| 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
public abstract class StiSimpleText
Describes the class that realizes the component - StiText.
| Field Summary | |
|---|---|
 StiExpression | 
text
 | 
 java.lang.String | 
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 | |
|---|---|
StiSimpleText()
Creates a new object of the type StiSimpleText.  | 
|
StiSimpleText(StiRectangle rect)
Creates a new component of the type StiSimpleText.  | 
|
StiSimpleText(StiRectangle rect,
              java.lang.String text)
Creates a new component of the type StiSimpleText.  | 
|
| Method Summary | |
|---|---|
 void | 
checkDuplicates(StiComponent sender,
                StiGetValueEventArgs e)
 | 
 java.lang.Object | 
clone()
Creates a new object that is a copy of the current instance.  | 
 java.lang.String | 
getComponentGuid()
Internal use only.  | 
 boolean | 
getEditable()
Gets or sets value indicates that a component can be edited in the window of viewer.  | 
 StiEventsCollection | 
getEvents()
Return events collection of this component.  | 
 StiGetValueEvent | 
getGetValueEvent()
Occurs when the text is being prepared for rendering.  | 
 java.lang.String | 
getGlobalizedName()
Gets or sets special identificator which will be used for report globalization.  | 
 boolean | 
getHideZeros()
Gets or sets value indicates that no need show zeroes.  | 
 StiPenStyle | 
getLinesOfUnderline()
Gets or sets value indicates that it is necessary to lines of underline.  | 
 boolean | 
getLinesOfUnderlining()
Gets or sets value indicates that it is necessary to lines of underlining.  | 
 int | 
getMaxNumberOfLines()
Gets or sets maximum number of lines which specify the limit of the height stretch.  | 
 boolean | 
getOnlyText()
Gets or sets value indicates that the text expression contains a text only.  | 
 StiProcessAt | 
getProcessAt()
Gets or sets value indicates that a text is processed at the end of the report execution.  | 
 boolean | 
getProcessAtEnd()
Gets or sets value indicates that a text is processed at the end of the report execution.  | 
 StiProcessingDuplicatesType | 
getProcessingDuplicates()
Gets or sets value which indicates how report engine processes duplicated values.  | 
 java.lang.String | 
getQuickInfo()
 | 
 StiExpression | 
getText()
Gets or sets text expression.  | 
 java.lang.String | 
getTextInternal()
Internal use only.  | 
 java.lang.String | 
getTextValue()
Gets or sets text value.  | 
 java.lang.String | 
GetTextWithoutZero(java.lang.String text)
 | 
 java.lang.String | 
getTotalValueHelp()
Internal use only.  | 
 void | 
InvokeGetValue(StiComponent sender,
               StiGetValueEventArgs e)
 | 
 void | 
InvokeRenderTo(StiSimpleText textBox)
 | 
 void | 
InvokeTextProcess(StiComponent sender,
                  StiValueEventArgs e)
Raises the TextProcess event.  | 
 void | 
LoadFromJsonObject(JSONObject jObject)
 | 
 java.lang.String | 
ProcessText(java.lang.String text)
 | 
 void | 
RestoreState(java.lang.String stateName)
Restores the earlier saved object state.  | 
 java.lang.String | 
SaveState()
Saves state of editable value.  | 
 void | 
saveState(java.lang.String stateName)
Saves the current state of an object.  | 
 JSONObject | 
SaveToJsonObject(StiJsonSaveMode mode)
 | 
 void | 
setComponentGuid(java.lang.String value)
 | 
 void | 
setEditable(boolean value)
 | 
 void | 
setGetValueEvent(StiGetValueEvent value)
 | 
 void | 
setGlobalizedName(java.lang.String value)
 | 
 void | 
setHideZeros(boolean value)
 | 
 void | 
setLinesOfUnderline(StiPenStyle value)
 | 
 void | 
setLinesOfUnderlining(boolean value)
 | 
 void | 
setMaxNumberOfLines(int value)
 | 
 void | 
setOnlyText(boolean value)
 | 
 void | 
setProcessAt(StiProcessAt value)
 | 
 void | 
setProcessAtEnd(boolean value)
 | 
 void | 
setProcessingDuplicates(StiProcessingDuplicatesType value)
 | 
 void | 
SetText(java.lang.Object getValue,
        java.lang.String value)
Sets the text value in all printed objects.  | 
 void | 
setText(StiExpression value)
 | 
 void | 
setText(java.lang.String value)
 | 
 void | 
setTextInternal(java.lang.String value)
Internal use only.  | 
 void | 
SetTextInternal(java.lang.String value)
Internal use only.  | 
 void | 
setTextValue(java.lang.String value)
 | 
 void | 
setTotalValueHelp(java.lang.String value)
 | 
| Methods inherited from class com.stimulsoft.report.StiBase | 
|---|
getLocalizedCategory, getLocalizedName, 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 | 
| Field Detail | 
|---|
public StiExpression text
public java.lang.String totalValueHelp
| Constructor Detail | 
|---|
public StiSimpleText()
public StiSimpleText(StiRectangle rect)
rect - The rectangle describes size and position of the component.
public StiSimpleText(StiRectangle rect,
                     java.lang.String text)
rect - The rectangle describes size and position of the component.text - Text expression| Method Detail | 
|---|
public final void InvokeTextProcess(StiComponent sender,
                                    StiValueEventArgs e)
public final void setComponentGuid(java.lang.String value)
public java.lang.String getGlobalizedName()
getGlobalizedName in interface IStiGlobalizedNamepublic void setGlobalizedName(java.lang.String value)
setGlobalizedName in interface IStiGlobalizedNamepublic void saveState(java.lang.String stateName)
saveState in interface IStiStateSaveRestoresaveState in class StiComponentstateName - A name of the state being saved.public void RestoreState(java.lang.String stateName)
RestoreState in interface IStiEditableRestoreState in class StiComponentstateName - A name of the state being restored.public java.lang.Object clone()
clone in class StiComponentpublic final java.lang.String GetTextWithoutZero(java.lang.String text)
public StiPenStyle getLinesOfUnderline()
getLinesOfUnderline in interface IStiTextpublic void setLinesOfUnderline(StiPenStyle value)
setLinesOfUnderline in interface IStiTextpublic boolean getLinesOfUnderlining()
public void setLinesOfUnderlining(boolean value)
public boolean getHideZeros()
getHideZeros in interface IStiTextpublic void setHideZeros(boolean value)
setHideZeros in interface IStiTextpublic StiProcessingDuplicatesType getProcessingDuplicates()
getProcessingDuplicates in interface IStiTextpublic void setProcessingDuplicates(StiProcessingDuplicatesType value)
setProcessingDuplicates in interface IStiTextpublic int getMaxNumberOfLines()
getMaxNumberOfLines in interface IStiTextpublic void setMaxNumberOfLines(int value)
setMaxNumberOfLines in interface IStiTextpublic java.lang.String ProcessText(java.lang.String text)
public boolean getOnlyText()
getOnlyText in interface IStiOnlyTextgetOnlyText in interface IStiTextpublic void setOnlyText(boolean value)
setOnlyText in interface IStiOnlyTextsetOnlyText in interface IStiTextpublic boolean getEditable()
getEditable in interface IStiEditablepublic void setEditable(boolean value)
setEditable in interface IStiEditablepublic boolean getProcessAtEnd()
getProcessAtEnd in interface IStiProcessAtEndpublic void setProcessAtEnd(boolean value)
setProcessAtEnd in interface IStiProcessAtEndpublic StiProcessAt getProcessAt()
getProcessAt in interface IStiProcessAtpublic void setProcessAt(StiProcessAt value)
setProcessAt in interface IStiProcessAtpublic void InvokeRenderTo(StiSimpleText textBox)
public java.lang.String getQuickInfo()
getQuickInfo in class StiComponentpublic StiEventsCollection getEvents()
getEvents in class StiComponentpublic StiExpression getText()
getText in interface IStiTextpublic void setText(StiExpression value)
setText in interface IStiTextpublic void setText(java.lang.String value)
public void SetText(java.lang.Object getValue,
                    java.lang.String value)
text - Value for setting.public java.lang.String getTextInternal()
getTextInternal in interface IStiTextpublic void SetTextInternal(java.lang.String value)
public void setTextInternal(java.lang.String value)
IStiText
setTextInternal in interface IStiTextpublic java.lang.String getTextValue()
getTextValue in interface IStiTextpublic void setTextValue(java.lang.String value)
setTextValue in interface IStiTextpublic final StiGetValueEvent getGetValueEvent()
public final void setGetValueEvent(StiGetValueEvent value)
public java.lang.String getTotalValueHelp()
public void setTotalValueHelp(java.lang.String value)
public final java.lang.String getComponentGuid()
public void InvokeGetValue(StiComponent sender,
                           StiGetValueEventArgs e)
public void checkDuplicates(StiComponent sender,
                            StiGetValueEventArgs e)
public java.lang.String SaveState()
SaveState in interface IStiEditable
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiComponentJSONException
public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiComponentJSONException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||