Packagede.popforge.utils
Classpublic class Formatter



Protected Properties
 PropertyDefined by
  args : Array
Formatter
  changedCallbacks : Array
Formatter
  format : String
Formatter
  value : String
Formatter
Public Methods
 MethodDefined by
  
Formatter(format:String, ... args)
Formatter
  
addChangedCallbacks(callback:Function):void
Formatter
  
getValue():String
Formatter
  
removeChangedCallbacks(callback:Function):void
Formatter
  
toString():String
Formatter
Protected Methods
 MethodDefined by
  
onFormatterChanged(formatter:Formatter, oldValue:String, newValue:String):void
Formatter
  
onParameterChanged(parameter:Parameter, oldValue:*, newValue:*):void
Formatter
  
updateValue():void
Formatter
Property detail
argsproperty
protected var args:Array
changedCallbacksproperty 
protected var changedCallbacks:Array
formatproperty 
protected var format:String
valueproperty 
protected var value:String
Constructor detail
Formatter()constructor
public function Formatter(format:String, ... args)Parameters
format:String
 
... args
Method detail
addChangedCallbacks()method
public function addChangedCallbacks(callback:Function):voidParameters
callback:Function
getValue()method 
public function getValue():String

Returns
String
onFormatterChanged()method 
protected function onFormatterChanged(formatter:Formatter, oldValue:String, newValue:String):voidParameters
formatter:Formatter
 
oldValue:String
 
newValue:String
onParameterChanged()method 
protected function onParameterChanged(parameter:Parameter, oldValue:*, newValue:*):voidParameters
parameter:Parameter
 
oldValue:*
 
newValue:*
removeChangedCallbacks()method 
public function removeChangedCallbacks(callback:Function):voidParameters
callback:Function
toString()method 
public function toString():String

Returns
String
updateValue()method 
protected function updateValue():void