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) |
jsAddons
jsRefresh, jsValue, queryElement
addPrerequisite, check, disable, disable, disabled, getDisplayName, getName, originalValue, query, queryAddons, queryComment, record, refreshOnChange, requestHelp, reset, run, setRefreshOnChange, specified, valid, value
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public Request2.TypeaheadKey()
public Request2.TypeaheadKey(java.lang.Class type, boolean required)
public void setValue(Key key)
protected Key parse(java.lang.String input)
RequestArguments.Argument
parse
in class RequestArguments.Argument<Key>
protected Key defaultValue()
RequestArguments.Argument
defaultValue
in class RequestArguments.Argument<Key>
protected java.lang.String queryDescription()
RequestArguments.Argument
queryDescription
in class RequestArguments.Argument<Key>
protected java.lang.String[] errors()
RequestArguments.Argument
errors
in class RequestArguments.Argument<Key>