Class StiGeneralFormatService
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.components.textFormats.StiFormatService
com.stimulsoft.report.components.textFormats.StiGeneralFormatService
- All Implemented Interfaces:
IStiDefault,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiSerializableToDocument,Cloneable
Describes a service for the text formatting by default.
-
Field Summary
FieldsFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFormats the specified object in order of format and returns a string.intGets value to show a sample of formatting.Gets a service name.Gets or sets string of formatting.inthashCode()voidsetStringFormat(String value) Methods inherited from class com.stimulsoft.report.components.textFormats.StiFormatService
deserialize, format, getIsFormatStringFromVariable, getNativeFormatString, getServiceCategory, getServiceType, getState, isDefault, LoadFromJsonObject, LoadFromJsonObjectInternal, serialize, setState, toStringMethods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
Default
-
-
Constructor Details
-
StiGeneralFormatService
public StiGeneralFormatService()Creates format by default.
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
Format
Description copied from class:StiFormatServiceFormats the specified object in order of format and returns a string.- Overrides:
Formatin classStiFormatService- Parameters:
arg- Object for formatting.- Returns:
- Formatted string.
-
getPosition
public int getPosition()- Specified by:
getPositionin classStiFormatService
-
getSample
Gets value to show a sample of formatting.- Specified by:
getSamplein classStiFormatService
-
getStringFormat
Gets or sets string of formatting.- Overrides:
getStringFormatin classStiFormatService
-
setStringFormat
- Overrides:
setStringFormatin classStiFormatService
-
equals
- Overrides:
equalsin classStiFormatService
-
hashCode
public int hashCode()- Overrides:
hashCodein classStiFormatService
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiFormatService- Throws:
JSONException
-