public static class AppUserFactory.AppUserNameInput<A extends AppUser> extends NameFinderInput<A,AppUserFactory<A>> implements HTML5Input, FormatHintInput
factory
validators
Constructor and Description |
---|
AppUserNameInput(AppUserFactory<A> factory,
boolean create,
boolean restrict,
BaseFilter<A> autocomplete) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormatHint() |
java.lang.String |
getSuggestionText(A item)
get the suggestion text.
|
java.lang.String |
getType()
get the type tag to emit for
the corresponding html5 type.
|
boolean |
useEmail() |
convert, getContext, getItembyValue, getLogger, getMatchError, getString, getSuggestions, getValue, isCreate, parse, parseItem, parseValue, setCreate, setItem, setMatchError
accept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSingle
getValue, setKey, setValue
addValidator, getKey, getPrettyString, getString, removeValidator, validate, validateInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCount, getItems
accept, addValidator, getKey, getPrettyString, getValue, isEmpty, removeValidator, setKey, setValue, validate
getString
public AppUserNameInput(AppUserFactory<A> factory, boolean create, boolean restrict, BaseFilter<A> autocomplete)
factory
- create
- restrict
- autocomplete
- public java.lang.String getFormatHint()
getFormatHint
in interface FormatHintInput
public boolean useEmail()
public java.lang.String getType()
HTML5Input
getType
in interface HTML5Input
public java.lang.String getSuggestionText(A item)
AutoComplete
getSuggestionText
in interface AutoComplete<A extends AppUser,java.lang.Integer>
getSuggestionText
in class NameFinderInput<A extends AppUser,AppUserFactory<A extends AppUser>>