public abstract class RequestArguments.InputSelect<T> extends RequestArguments.Argument<T>
_displayName, _field, _gridable, _hideInQuery, _mustExist, _name, _prerequisites, _readOnly, _requestHelp, _required, _validator| Constructor and Description |
|---|
RequestArguments.InputSelect(String name,
boolean required)
Constructor just calls super.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
jsRefresh(String callbackName)
Refresh is supported using standard jQuery change event.
|
protected String |
jsValue()
Get value is supported by the standard val() jQuery function.
|
protected String |
queryElement()
Displays the query element.
|
protected abstract String |
selectedItemValue()
Returns which value should be selected.
|
protected String[] |
selectNames()
Override this method to determine the value names, that is the names
displayed in the browser.
|
protected abstract 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, valueclone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic RequestArguments.InputSelect(String name, boolean required)
protected abstract String[] selectValues()
protected abstract String selectedItemValue()
protected String[] selectNames()
protected String queryElement()
queryElement in class RequestArguments.Argument<T>protected String jsRefresh(String callbackName)
jsRefresh in class RequestArguments.Argument<T>protected String jsValue()
jsValue in class RequestArguments.Argument<T>Copyright © 2013–2014 0xdata. All rights reserved.