
public class Check extends InputControl
Example render:
[X] Label
model| Constructor and Description |
|---|
Check()
Generic empty constructor.
|
Check(String ref)
Constructor with the reference of the input to be used in request and
response.
|
Check(String ref,
String label)
Constructor with the reference of the input to be used in request and
response.
|
Check(String ref,
String label,
Boolean initialValue)
Constructor with the reference of the input to be used in request and
response.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
create(Group group)
This method is for internal use of utils only.
|
Boolean |
getInitialValue()
Get the initial value of the input by default.
|
void |
setInitialValue(Boolean initialValue)
Set the initial value of the input by default.
|
getModelgetHelp, getHint, getLabel, getReference, setHelp, setHint, setLabel, setReference, setReferencepublic Check()
public Check(String ref)
ref - The simple reference identifying the input. Set to null to
auto-generate.public Check(String ref, String label)
ref - The simple reference identifying the input. Set to null to
auto-generate.label - The label text that identifies the input to the user.public Check(String ref, String label, Boolean initialValue)
ref - The simple reference identifying the input. Set to null to
auto-generate.label - The label text that identifies the input to the user.initialValue - The value the boolean input field has by default. If it is not
changed by the user this will be the value of the input in the
response.public String[] create(Group group)
Controlcreate in class Controlgroup - The UI group to which the control is being added.public Boolean getInitialValue()
public void setInitialValue(Boolean initialValue)
initialValue - The initial value.Copyright © 2018 universAAL Consortium. All rights reserved.