|
||||||||||
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 expressionMethod 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 IStiGlobalizedName
public void setGlobalizedName(java.lang.String value)
setGlobalizedName
in interface IStiGlobalizedName
public void saveState(java.lang.String stateName)
saveState
in interface IStiStateSaveRestore
saveState
in class StiComponent
stateName
- A name of the state being saved.public void RestoreState(java.lang.String stateName)
RestoreState
in interface IStiEditable
RestoreState
in class StiComponent
stateName
- A name of the state being restored.public java.lang.Object clone()
clone
in class StiComponent
public final java.lang.String GetTextWithoutZero(java.lang.String text)
public StiPenStyle getLinesOfUnderline()
getLinesOfUnderline
in interface IStiText
public void setLinesOfUnderline(StiPenStyle value)
setLinesOfUnderline
in interface IStiText
public boolean getLinesOfUnderlining()
public void setLinesOfUnderlining(boolean value)
public boolean getHideZeros()
getHideZeros
in interface IStiText
public void setHideZeros(boolean value)
setHideZeros
in interface IStiText
public StiProcessingDuplicatesType getProcessingDuplicates()
getProcessingDuplicates
in interface IStiText
public void setProcessingDuplicates(StiProcessingDuplicatesType value)
setProcessingDuplicates
in interface IStiText
public int getMaxNumberOfLines()
getMaxNumberOfLines
in interface IStiText
public void setMaxNumberOfLines(int value)
setMaxNumberOfLines
in interface IStiText
public java.lang.String ProcessText(java.lang.String text)
public boolean getOnlyText()
getOnlyText
in interface IStiOnlyText
getOnlyText
in interface IStiText
public void setOnlyText(boolean value)
setOnlyText
in interface IStiOnlyText
setOnlyText
in interface IStiText
public boolean getEditable()
getEditable
in interface IStiEditable
public void setEditable(boolean value)
setEditable
in interface IStiEditable
public boolean getProcessAtEnd()
getProcessAtEnd
in interface IStiProcessAtEnd
public void setProcessAtEnd(boolean value)
setProcessAtEnd
in interface IStiProcessAtEnd
public StiProcessAt getProcessAt()
getProcessAt
in interface IStiProcessAt
public void setProcessAt(StiProcessAt value)
setProcessAt
in interface IStiProcessAt
public void InvokeRenderTo(StiSimpleText textBox)
public java.lang.String getQuickInfo()
getQuickInfo
in class StiComponent
public StiEventsCollection getEvents()
getEvents
in class StiComponent
public StiExpression getText()
getText
in interface IStiText
public void setText(StiExpression value)
setText
in interface IStiText
public 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 IStiText
public void SetTextInternal(java.lang.String value)
public void setTextInternal(java.lang.String value)
IStiText
setTextInternal
in interface IStiText
public java.lang.String getTextValue()
getTextValue
in interface IStiText
public void setTextValue(java.lang.String value)
setTextValue
in interface IStiText
public 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 IStiJsonReportObject
SaveToJsonObject
in class StiComponent
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiComponent
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |