Packagestimulsoft.report.components.textFormats
Classpublic class StiNumberFormatService
InheritanceStiNumberFormatService Inheritance StiFormatService Inheritance StiService Inheritance StiObject Inheritance Object
Subclasses StiCurrencyFormatService



Public Properties
 PropertyDefined By
  decimalDigits : int
Gets or sets indicates the number of decimal places to use in currency values.
StiNumberFormatService
  decimalSeparator : String
Gets or sets the string to use as the decimal separator in currency values.
StiNumberFormatService
  groupSeparator : String
Gets or sets the string that separates groups of digits to the left of the decimal in currency values.
StiNumberFormatService
  groupSize : int
Gets or sets the number of digits in group to the left of the decimal in currency values.
StiNumberFormatService
 InheritedisDefault : Boolean
[read-only]
StiFormatService
 InheritedisFormatStringFromVariable : Boolean
[read-only] Internal use only.
StiFormatService
  nativeFormatString : String
[override] [read-only] Returns native format string.
StiNumberFormatService
  negativePattern : int
Gets or sets the format pattern for negative numeric values.
StiNumberFormatService
  nullDisplay : String
Gets or sets string value to show the value null.
StiNumberFormatService
  position : int
[override] [read-only]
StiNumberFormatService
 Inheritedproperties : StiRepositoryItems
StiService
 Inheritedref : int
StiFormatService
  sample : Object
[override] [read-only] Gets value to show a sample of formatting.
StiNumberFormatService
 InheritedserviceCategory : String
[read-only] Gets a service category.
StiService
 InheritedserviceInfo : String
[read-only] Gets a service description.
StiService
 InheritedserviceName : String
[read-only] Gets a service name.
StiService
 InheritedserviceType : Class
[read-only] Gets a service type.
StiService
  stringFormat : String
[override] Gets or sets string of formatting.
StiNumberFormatService
  useGroupSeparator : Boolean
Gets or sets value indicates it is necessary to use a group separator.
StiNumberFormatService
  useLocalSetting : Boolean
Gets or sets value indicates it is necessary to use local settings.
StiNumberFormatService
Public Methods
 MethodDefined By
  
StiNumberFormatService(negativePattern:int = 1, decimalPlaces:int = 0, decimalSeparator:String = ., decimalDigits:int = 2, groupSeparator:String = , groupSize:int = 3, useGroupSeparator:Boolean = true, useLocalSetting:Boolean = true, nullDisplay:String = )
StiNumberFormatService
  
clone(... args):Object
[override]
StiNumberFormatService
  
equals(object:Object):Boolean
[override]
StiNumberFormatService
 Inherited
format(arg:*):String
Formats the specified object in order of format and returns a string.
StiFormatService
  
formatStr(stringFormat:String, arg:*):String
[override]
StiNumberFormatService
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
  
[override]
StiNumberFormatService
 Inherited
StiService
Property Detail
decimalDigitsproperty
decimalDigits:int

Gets or sets indicates the number of decimal places to use in currency values.


Implementation
    public function get decimalDigits():int
    public function set decimalDigits(value:int):void
decimalSeparatorproperty 
decimalSeparator:String

Gets or sets the string to use as the decimal separator in currency values.


Implementation
    public function get decimalSeparator():String
    public function set decimalSeparator(value:String):void
groupSeparatorproperty 
groupSeparator:String

Gets or sets the string that separates groups of digits to the left of the decimal in currency values.


Implementation
    public function get groupSeparator():String
    public function set groupSeparator(value:String):void
groupSizeproperty 
groupSize:int

Gets or sets the number of digits in group to the left of the decimal in currency values.


Implementation
    public function get groupSize():int
    public function set groupSize(value:int):void
nativeFormatStringproperty 
nativeFormatString:String  [read-only] [override]

Returns native format string.


Implementation
    public function get nativeFormatString():String
negativePatternproperty 
negativePattern:int

Gets or sets the format pattern for negative numeric values.


Implementation
    public function get negativePattern():int
    public function set negativePattern(value:int):void
nullDisplayproperty 
nullDisplay:String

Gets or sets string value to show the value null.


Implementation
    public function get nullDisplay():String
    public function set nullDisplay(value:String):void
positionproperty 
position:int  [read-only] [override]


Implementation
    public function get position():int
sampleproperty 
sample:Object  [read-only] [override]

Gets value to show a sample of formatting.


Implementation
    public function get sample():Object
stringFormatproperty 
stringFormat:String[override]

Gets or sets string of formatting.


Implementation
    public function get stringFormat():String
    public function set stringFormat(value:String):void
useGroupSeparatorproperty 
useGroupSeparator:Boolean

Gets or sets value indicates it is necessary to use a group separator.


Implementation
    public function get useGroupSeparator():Boolean
    public function set useGroupSeparator(value:Boolean):void
useLocalSettingproperty 
useLocalSetting:Boolean

Gets or sets value indicates it is necessary to use local settings.


Implementation
    public function get useLocalSetting():Boolean
    public function set useLocalSetting(value:Boolean):void
Constructor Detail
StiNumberFormatService()Constructor
public function StiNumberFormatService(negativePattern:int = 1, decimalPlaces:int = 0, decimalSeparator:String = ., decimalDigits:int = 2, groupSeparator:String = , groupSize:int = 3, useGroupSeparator:Boolean = true, useLocalSetting:Boolean = true, nullDisplay:String = )



Parameters
negativePattern:int (default = 1)
 
decimalPlaces:int (default = 0)
 
decimalSeparator:String (default = .)
 
decimalDigits:int (default = 2)
 
groupSeparator:String (default = )
 
groupSize:int (default = 3)
 
useGroupSeparator:Boolean (default = true)
 
useLocalSetting:Boolean (default = true)
 
nullDisplay:String (default = )
Method Detail
clone()method
override public function clone(... args):Object

Parameters

... args

Returns
Object
equals()method 
override public function equals(object:Object):Boolean

Parameters

object:Object

Returns
Boolean
formatStr()method 
override public function formatStr(stringFormat:String, arg:*):String

Parameters

stringFormat:String
 
arg:*

Returns
String
memberwiseClone()method 
override public function memberwiseClone():Object

Returns
Object