|
||||||||||
| 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.components.textFormats.StiFormatService
public abstract class StiFormatService
Describes a base service for formatting of the text.
| Field Summary |
|---|
| Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
|---|
REFERENCE_EMPTY, REFERENCE_REPORT |
| Constructor Summary | |
|---|---|
StiFormatService()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
Format(java.lang.Object arg,
java.util.Locale locale)
Formats the specified object in order of format and returns a string. |
java.lang.String |
format(java.lang.String format,
java.lang.Object arg,
java.util.Locale locale)
Formats the specified object in order of format and returns a string. |
boolean |
getIsFormatStringFromVariable()
Internal use only. |
java.lang.String |
getNativeFormatString()
Returns native format string. |
abstract int |
getPosition()
|
abstract java.lang.Object |
getSample()
Gets value to show a sample of formatting. |
java.lang.String |
getServiceCategory()
Gets a service category. |
java.lang.Class<?> |
getServiceType()
Gets a service type. |
StiEnumSet<StiTextFormatState> |
getState()
|
java.lang.String |
getStringFormat()
Gets or sets string of formatting. |
int |
hashCode()
|
boolean |
isDefault()
|
void |
LoadFromJsonObject(JSONObject jObject)
|
static StiFormatService |
LoadFromJsonObjectInternal(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setState(StiEnumSet<StiTextFormatState> state)
|
void |
setStringFormat(java.lang.String value)
|
java.lang.String |
toString()
|
| Methods inherited from class com.stimulsoft.base.services.StiService |
|---|
clone, getProperties, getServiceEnabled, getServiceInfo, getServiceName, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled |
| Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
|---|
cleanReference, getReference, setReference |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StiFormatService()
| Method Detail |
|---|
public final boolean isDefault()
isDefault in interface IStiDefaultpublic final java.lang.String getServiceCategory()
getServiceCategory in class StiServicepublic final java.lang.Class<?> getServiceType()
getServiceType in class StiServicepublic abstract int getPosition()
public abstract java.lang.Object getSample()
public java.lang.String getNativeFormatString()
public final boolean getIsFormatStringFromVariable()
public java.lang.String getStringFormat()
public void setStringFormat(java.lang.String value)
public java.lang.String Format(java.lang.Object arg,
java.util.Locale locale)
arg - Object for formatting.
public java.lang.String format(java.lang.String format,
java.lang.Object arg,
java.util.Locale locale)
format - String of formatting.arg - Object for formatting.
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic StiEnumSet<StiTextFormatState> getState()
public void setState(StiEnumSet<StiTextFormatState> state)
state - the state to set
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectJSONException
public static StiFormatService LoadFromJsonObjectInternal(JSONObject jObject)
throws JSONException
JSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||