| Pacchetto | org.osmf.utils |
| Classe | public class OSMFStrings |
| Ereditarietà | OSMFStrings Object |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Proprietà pubbliche
| Proprietà | Definito da | ||
|---|---|---|---|
![]() | constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | |
| resourceStringFunction : Function [statico]
Function that the getString methods uses to retrieve a user-facing string. | OSMFStrings | ||
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
[statico]
Returns the user-facing string for the given key. | OSMFStrings | ||
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
Descrizione delle proprietà
resourceStringFunction | proprietà |
resourceStringFunction:Function| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Function that the getString methods uses to retrieve a user-facing string.
This function takes a String parameter (which is expected to be one of the static consts on this class) and an optional Array of parameters which can be substituted into the String (formatted as {0}, {1}, etc.).
Clients can supply their own getString function to localize the strings. By default, the getString function returns an English-language String.
Implementazione
public static function get resourceStringFunction():Function public static function set resourceStringFunction(value:Function):voidDescrizione dei metodi
getString | () | metodo |
public static function getString(key:String, params:Array = null):String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 1.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Returns the user-facing string for the given key. All possible keys are defined as static constants on this class. The parameters are optional substitution variables, formatted as {0}, {1}, etc.
Parametri
key:String | |
params:Array (default = null) |
String |
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate