public interface AttributeReadAllowCustomInput
allowCustomInput
attribute of an
object.Modifier and Type | Method and Description |
---|---|
boolean |
isAllowCustomInput()
This method determines if custom input is allowed by this object (widget).
|
boolean isAllowCustomInput()
options
, that predefine values the user can
select from. Some widgets like a combo box allow the user to enter any text. If this method returns
false
the entered text is only valid if it matches one of the predefined
options
. The default is false
. You may change this
by setting
this flat to
true
. Please note that depending on the datatype this might not make sense. E.g. if you are
using an Enum
as value
and the user enters arbitrary text this can not be converted to a non existent enum constant and
therefore will only return null
without causing a validation failure.true
if custom input is allowed and accepted, false
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.