public abstract class RequestArguments.MultipleSelect<T> extends RequestArguments.Argument<T>
_displayName, _field, _gridable, _hideInQuery, _mustExist, _name, _prerequisites, _readOnly, _requestHelp, _required, _validator
Constructor and Description |
---|
RequestArguments.MultipleSelect(java.lang.String name)
Constructor just calls super.
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
isSelected(java.lang.String value)
Returns true if the given option (by its value) is selected.
|
protected java.lang.String |
jsRefresh(java.lang.String callbackName)
Refresh is supported using standard jQuery change event.
|
protected java.lang.String |
jsValue()
Get value is supported by a JS function that enumerates over the
possibilities.
|
protected java.lang.String |
queryElement()
Displays the query element.
|
protected java.lang.String[] |
selectNames()
Override this method to determine the value names, that is the names
displayed in the browser.
|
protected abstract java.lang.String[] |
selectValues()
Override this method to provide the values for the options.
|
addPrerequisite, check, defaultValue, disable, disable, disabled, errors, getDisplayName, getName, jsAddons, originalValue, parse, query, queryAddons, queryComment, queryDescription, record, refreshOnChange, requestHelp, reset, run, setRefreshOnChange, specified, valid, value
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public RequestArguments.MultipleSelect(java.lang.String name)
protected abstract java.lang.String[] selectValues()
protected abstract boolean isSelected(java.lang.String value)
protected java.lang.String[] selectNames()
protected java.lang.String queryElement()
queryElement
in class RequestArguments.Argument<T>
protected java.lang.String jsRefresh(java.lang.String callbackName)
jsRefresh
in class RequestArguments.Argument<T>
protected java.lang.String jsValue()
jsValue
in class RequestArguments.Argument<T>