| Modifier and Type | Method and Description |
|---|---|
static ArrayString |
fromOrEmpty(IsColor... items)
Creates a java script array of strings starting from array of colors.
|
static ArrayString |
fromOrEmpty(Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
fromOrEmpty(List<String> items)
Creates a java script array of strings starting from list of strings.
|
static ArrayString |
fromOrEmpty(String... items)
This method creates new array instance with a variable number of
string arguments. |
static ArrayString |
fromOrNull(IsColor... items)
Creates a java script array of strings starting from array of colors.
|
static ArrayString |
fromOrNull(Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
fromOrNull(List<String> items)
Creates a java script array of strings starting from list of strings.
|
static ArrayString |
fromOrNull(String... items)
This method creates new array instance with a variable number of
string arguments. |
String |
get(int index)
Gets the value at a given index.
|
@JsOverlay public static ArrayString fromOrNull(String... items)
string arguments.items - string items to create new arraynull if argument is null or length to 0@JsOverlay public static ArrayString fromOrEmpty(String... items)
string arguments.items - string items to create new arraynull or length to 0@JsOverlay public static ArrayString fromOrNull(List<String> items)
items - list of strings to load into new java script array.null if argument is null or empty@JsOverlay public static ArrayString fromOrEmpty(List<String> items)
items - list of strings to load into new java script array.null or empty@JsOverlay public static ArrayString fromOrNull(IsColor... items)
items - array of colors to load into new java script array.null if argument is null or length to 0@JsOverlay public static ArrayString fromOrEmpty(IsColor... items)
items - array of colors to load into new java script array.null or length to 0@JsOverlay public static ArrayString fromOrNull(Key... items)
items - array of keys to load into new java script array.null if argument is null or length to 0@JsOverlay public static ArrayString fromOrEmpty(Key... items)
items - array of keys to load into new java script array.null or length to 0@JsOverlay public String get(int index)
index - the index to be retrieved