Class StiCustomFormatService
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.components.textFormats.StiFormatService
com.stimulsoft.report.components.textFormats.StiCustomFormatService
- All Implemented Interfaces:
IStiDefault,IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiSerializableToDocument,Cloneable
Describes a service for the text formatting done as customized.
-
Field Summary
Fields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new format of the type StiCustomFormatService.StiCustomFormatService(String stringFormat) Creates a new format of the type StiCustomFormatService. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGets 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, Format, getIsFormatStringFromVariable, getNativeFormatString, getServiceCategory, getServiceType, getState, isDefault, LoadFromJsonObject, LoadFromJsonObjectInternal, SaveToJsonObject, 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
-
Constructor Details
-
StiCustomFormatService
public StiCustomFormatService()Creates a new format of the type StiCustomFormatService. -
StiCustomFormatService
Creates a new format of the type StiCustomFormatService.- Parameters:
stringFormat- String of formatting
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
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
-