public enum QuestionnaireQuestionControl extends Enum<QuestionnaireQuestionControl>
| Enum Constant and Description |
|---|
AUTOCOMPLETE
A control which provides a list of potential matches based on text entered into a control.
|
CHECKBOX
A control where choices are listed with a box beside them.
|
DROPDOWN
A control where an item (or multiple items) can be selected from a list that is only displayed when the user is editing the field.
|
LOOKUP
A control where editing an item spawns a separate dialog box or screen permitting a user to navigate, filter or otherwise discover an appropriate match.
|
NULL
added to help the parsers
|
RADIOBUTTON
A control where choices are listed with a button beside them.
|
SLIDER
A control where an axis is displayed between the high and low values and the control can be visually manipulated to select a value anywhere on the axis.
|
SPINNER
A control where a list of numeric or other ordered values can be scrolled through via arrows.
|
TEXTBOX
A control where a user can type in their answer freely.
|
| Modifier and Type | Method and Description |
|---|---|
static QuestionnaireQuestionControl |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static QuestionnaireQuestionControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuestionnaireQuestionControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuestionnaireQuestionControl AUTOCOMPLETE
public static final QuestionnaireQuestionControl DROPDOWN
public static final QuestionnaireQuestionControl CHECKBOX
public static final QuestionnaireQuestionControl LOOKUP
public static final QuestionnaireQuestionControl RADIOBUTTON
public static final QuestionnaireQuestionControl SLIDER
public static final QuestionnaireQuestionControl SPINNER
public static final QuestionnaireQuestionControl TEXTBOX
public static final QuestionnaireQuestionControl NULL
public static QuestionnaireQuestionControl[] values()
for (QuestionnaireQuestionControl c : QuestionnaireQuestionControl.values()) System.out.println(c);
public static QuestionnaireQuestionControl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static QuestionnaireQuestionControl fromCode(String codeString) throws Exception
Exceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2018 University Health Network. All rights reserved.