Packagecom.sibirjak.jakute.styles
Interfacepublic interface JCSS_IValueFormatter
ImplementorsJCSS_AbstractFormatter, JCSS_SkinFormatter

Definition of a style value formatter.



Public Methods
 MethodDefined by
  
equals(value1:*, value2:*):Boolean
Compares two different style values.
JCSS_IValueFormatter
  
format(value:*):*
Returns a formatted style value.
JCSS_IValueFormatter
Method detail
equals()method
public function equals(value1:*, value2:*):Boolean

Compares two different style values.

Note, the given values are already formatted.

Parameters
value1:*
 
value2:*

Returns
Boolean
format()method 
public function format(value:*):*

Returns a formatted style value.

The method is meant to convert a literal style sheet declaration into the type that is expected by the component.

The method argument is either a String coming from a style sheet declaration or already a formatted value. You should therefore always test, whether the value is already formatted or not. See the different formatters included in this project.

Parameters
value:* — The value to format.

Returns
* — The formatted value.