public class AutocompleteSource extends Object implements IComplexOption
Bean for the source option into the Autocomplete component
| Constructor and Description |
|---|
AutocompleteSource(ArrayItemOptions<? extends IListItemOption> array)
Constructor
|
AutocompleteSource(JsScope jsScope)
Constructor
|
AutocompleteSource(String string)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ArrayItemOptions<? extends IListItemOption> |
getArray() |
CharSequence |
getJavascriptOption()
Method retrieving the javascript representation of this complex option
|
JsScope |
getJsScope() |
String |
getString() |
void |
setArray(ArrayItemOptions<? extends IListItemOption> array)
Set the array param
|
void |
setJsScope(JsScope jsScope)
Set the scope param
|
void |
setString(String string)
Set the string param
|
public AutocompleteSource(ArrayItemOptions<? extends IListItemOption> array)
array - Array parameterpublic AutocompleteSource(JsScope jsScope)
jsScope - Scope parameterpublic AutocompleteSource(String string)
string - String parameterpublic ArrayItemOptions<? extends IListItemOption> getArray()
public CharSequence getJavascriptOption()
getJavascriptOption in interface IComplexOptionIComplexOption.getJavascriptOption()public JsScope getJsScope()
public String getString()
public void setArray(ArrayItemOptions<? extends IListItemOption> array)
array - public void setJsScope(JsScope jsScope)
jsScope - public void setString(String string)
string - Copyright © 2009-2012. All Rights Reserved.