|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.support.utils.ui.Control
public abstract class Control
Abstract class representing a Form Control in a Simple UI request. Form Controls are UI elements that can be added to Containers, be them Dialogs, SubDialogs, Messages or even other Controls such as Groups or Repeats.
Field Summary | |
---|---|
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 Summary | |
---|---|
Control()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MY_NAMESPACE
protected PropertyPath ref
protected Label label
protected String help
protected String hint
Constructor Detail |
---|
public Control()
Method Detail |
---|
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 String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |