Packagestimulsoft.report.components.textFormats
Classpublic class StiPercentageFormatService
InheritanceStiPercentageFormatService Inheritance StiCurrencyFormatService Inheritance StiNumberFormatService Inheritance StiFormatService Inheritance StiService Inheritance StiObject Inheritance Object



Public Properties
 PropertyDefined By
 InheriteddecimalDigits : int
Gets or sets indicates the number of decimal places to use in currency values.
StiNumberFormatService
 InheriteddecimalSeparator : String
Gets or sets the string to use as the decimal separator in currency values.
StiNumberFormatService
 InheritedgroupSeparator : String
Gets or sets the string that separates groups of digits to the left of the decimal in currency values.
StiNumberFormatService
 InheritedgroupSize : 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.
StiPercentageFormatService
 InheritednegativePattern : int
Gets or sets the format pattern for negative numeric values.
StiNumberFormatService
 InheritednullDisplay : String
Gets or sets string value to show the value null.
StiNumberFormatService
  position : int
[override] [read-only]
StiPercentageFormatService
 InheritedpositivePattern : int
Gets or sets the format pattern for positive currency values.
StiCurrencyFormatService
 Inheritedproperties : StiRepositoryItems
StiService
 Inheritedref : int
StiFormatService
  sample : Object
[override] [read-only] Gets value to show a sample of formatting.
StiPercentageFormatService
 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.
StiPercentageFormatService
 Inheritedsymbol : String
Gets or sets a currency symbol.
StiCurrencyFormatService
 InheriteduseGroupSeparator : Boolean
Gets or sets value indicates it is necessary to use a group separator.
StiNumberFormatService
 InheriteduseLocalSetting : Boolean
Gets or sets value indicates it is necessary to use local settings.
StiNumberFormatService
Public Methods
 MethodDefined By
  
StiPercentageFormatService(positivePattern:int = 1, negativePattern:int = 1, decimalPlaces:int = 0, decimalSeparator:String = ., decimalDigits:int = 2, groupSeparator:String = , groupSize:int = 3, symbol:String = %, useGroupSeparator:Boolean = true, useLocalSetting:Boolean = true, nullDisplay:String = )
StiPercentageFormatService
 Inherited
clone(... args):Object
[override]
StiNumberFormatService
 Inherited
equals(object:Object):Boolean
[override]
StiCurrencyFormatService
 Inherited
format(arg:*):String
Formats the specified object in order of format and returns a string.
StiFormatService
  
formatStr(stringFormat:String, arg:*):String
[override]
StiPercentageFormatService
 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
 Inherited
[override]
StiCurrencyFormatService
 Inherited
StiService
Property Detail
nativeFormatStringproperty
nativeFormatString:String  [read-only] [override]

Returns native format string.


Implementation
    public function get nativeFormatString():String
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
Constructor Detail
StiPercentageFormatService()Constructor
public function StiPercentageFormatService(positivePattern:int = 1, negativePattern:int = 1, decimalPlaces:int = 0, decimalSeparator:String = ., decimalDigits:int = 2, groupSeparator:String = , groupSize:int = 3, symbol:String = %, useGroupSeparator:Boolean = true, useLocalSetting:Boolean = true, nullDisplay:String = )



Parameters
positivePattern:int (default = 1)
 
negativePattern:int (default = 1)
 
decimalPlaces:int (default = 0)
 
decimalSeparator:String (default = .)
 
decimalDigits:int (default = 2)
 
groupSeparator:String (default = )
 
groupSize:int (default = 3)
 
symbol:String (default = %)
 
useGroupSeparator:Boolean (default = true)
 
useLocalSetting:Boolean (default = true)
 
nullDisplay:String (default = )
Method Detail
formatStr()method
override public function formatStr(stringFormat:String, arg:*):String

Parameters

stringFormat:String
 
arg:*

Returns
String