Class LookupChoiceField
Object
|
+--Field
|
+--ComponentField
|
+--LookupChoiceField
- class
LookupChoiceField
- extends ComponentField
Defined in form/lookupchoicefield.js
|
Constructor Summary |
LookupChoiceField
(<String> id)
The LookupChoiceField class is a component composed by
a select input and a text input, which can be used to
filter the select options
|
|
Method Summary |
void
|
clear()
Unselect all selected options in the list
|
Object
|
getValue()
Returns the selected option's value
|
void
|
initializeList()
Read all list options to an internal class member
|
void
|
rebuildList()
Rebuilds the list using its original options
|
void
|
setDisabled(<Boolean> b)
Disables/enables the component
|
void
|
setup()
Initializes the component's properties and event listeners
|
void
|
setValue(<String> val)
Define the list selected option
|
void
|
updateList()
Updates the list contents based on the current filter value.
|
filter
Object filter
options
Array options
Used to update and rebuild the options list
stringOptions
String stringOptions
Holds the original options list
LookupChoiceField
LookupChoiceField(<String> id)
The LookupChoiceField class is a component composed by
a select input and a text input, which can be used to
filter the select options
clear
void clear()
Unselect all selected options in the list
getValue
Object getValue()
Returns the selected option's value
initializeList
void initializeList()
Read all list options to an internal class member
rebuildList
void rebuildList()
Rebuilds the list using its original options
setDisabled
void setDisabled(<Boolean> b)
Disables/enables the component
setup
void setup()
Initializes the component's properties and event listeners
setValue
void setValue(<String> val)
Define the list selected option
Parameters:
val - Option to be selected
updateList
void updateList()
Updates the list contents based on the current filter value.
If the filter is empty, the original list will be restored
Copyright © 2002-2006 by Marcos Pont
Documentation generated by
JSDoc on Sun Oct 7 19:52:10 2007