public class Request2.TypeaheadKey extends RequestArguments.TypeaheadInputText<Key>
_typeaheadHref, _typeaheadLimit_displayName, _field, _gridable, _hideInQuery, _mustExist, _name, _prerequisites, _readOnly, _requestHelp, _required, _validator| Constructor and Description |
|---|
Request2.TypeaheadKey() |
Request2.TypeaheadKey(java.lang.Class type,
boolean required) |
| Modifier and Type | Method and Description |
|---|---|
protected Key |
defaultValue()
Returns the default value of the argument.
|
protected java.lang.String[] |
errors()
Returns a list of possible error strings, that could be thrown in an
IllegalArgumentException.
|
protected Key |
parse(java.lang.String input)
Override this method to provide parsing of the input string to the Java
expected value.
|
protected java.lang.String |
queryDescription()
Returns the query description.
|
void |
setValue(Key key) |
jsAddonsjsRefresh, jsValue, queryElementaddPrerequisite, check, disable, disable, disabled, getDisplayName, getName, originalValue, query, queryAddons, queryComment, record, refreshOnChange, requestHelp, reset, run, setRefreshOnChange, specified, valid, valueclone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic Request2.TypeaheadKey()
public Request2.TypeaheadKey(java.lang.Class type,
boolean required)
public void setValue(Key key)
protected Key parse(java.lang.String input)
RequestArguments.Argumentparse in class RequestArguments.Argument<Key>protected Key defaultValue()
RequestArguments.ArgumentdefaultValue in class RequestArguments.Argument<Key>protected java.lang.String queryDescription()
RequestArguments.ArgumentqueryDescription in class RequestArguments.Argument<Key>protected java.lang.String[] errors()
RequestArguments.Argumenterrors in class RequestArguments.Argument<Key>