public abstract class Control extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
help
Help text popup.
|
protected String |
hint
Hint text popup.
|
protected Label |
label
Text label.
|
static String |
MY_NAMESPACE
Default namespace
|
protected PropertyPath |
ref
Path for ID.
|
Constructor and Description |
---|
Control() |
Modifier and Type | Method and Description |
---|---|
abstract String[] |
create(Group group)
This method is for internal use of utils only.
|
String |
getHelp()
Get the Help string associated with this control.
|
String |
getHint()
Get the Hint string associated with this control.
|
String |
getLabel()
Get the Label string associated with this control.
|
String[] |
getReference()
Get the reference Property Path that identifies this control within the
request and the response in the case of Input Controls.
|
void |
setHelp(String help)
Set the Help string associated with this control.
|
void |
setHint(String hint)
Set the Hint string associated with this control.
|
void |
setLabel(String txt)
Set the Label string associated with this control.
|
void |
setReference(String reference)
Set the reference Property Path that identifies this control within the
request and the response in the case of Input Controls.
|
void |
setReference(String[] reference)
Set the reference Property Path that identifies this control within the
request and the response in the case of Input Controls.
|
public static final String MY_NAMESPACE
protected PropertyPath ref
protected Label label
protected String help
protected String hint
public abstract String[] create(Group group)
group
- The UI group to which the control is being added.public String getHelp()
public void setHelp(String help)
help
- The Help Stringpublic String getHint()
public void setHint(String hint)
hint
- The Hint Stringpublic String[] getReference()
public void setReference(String reference)
reference
- The String representing the reference Property path or IDpublic void setReference(String[] reference)
reference
- The Array of Strings representing the reference Property path
or IDpublic String getLabel()
public void setLabel(String txt)
txt
- The Label StringCopyright © 2018 universAAL Consortium. All rights reserved.