| Package | com.sibirjak.jakute.styles |
| Interface | public interface JCSS_IValueFormatter |
| Implementors | JCSS_AbstractFormatter, JCSS_SkinFormatter |
| Method | Defined by | ||
|---|---|---|---|
|
equals(value1:*, value2:*):Boolean
Compares two different style values.
| JCSS_IValueFormatter | ||
|
format(value:*):*
Returns a formatted style value.
| JCSS_IValueFormatter | ||
| equals | () | method |
public function equals(value1:*, value2:*):BooleanCompares two different style values.
Note, the given values are already formatted.
Parametersvalue1:* |
|
value2:* |
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.
Parametersvalue:* — The value to format.
|
* — The formatted value.
|