|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.prompts.groups.ModalChoiceGroup
public class ModalChoiceGroup
Prompt group which is the child of a ModalGroup to indicate a set of prompts for the user to choose from. Each modal choice group represents one set of prompts that may be shown to the user depending on a selection by the user. The labels of all the ModalChoiceGroups in a given ModalGroup are typically presented in a dropdown to the user. Depending on which label is selected, the prompts in the associated ModalChoiceGroup will be shown. The value of the selected ModalChoiceGroup will then be set as the value of the ModalGroupDefinition associated with the ModalGroup.
Field Summary |
---|
Fields inherited from interface com.sas.prompts.groups.PromptGroupInterface |
---|
PROMPT_GROUP_VALIDATION_ERROR_DISALLOWED_PROMPT_DEFINITION, PROMPT_GROUP_VALIDATION_ERROR_DUPLICATE_MODAL_CHOICE_VALUE, PROMPT_GROUP_VALIDATION_ERROR_NOT_VALID_SUBGROUP, PROMPT_GROUP_VALIDATION_NO_ERRORS |
Constructor Summary | |
---|---|
ModalChoiceGroup()
Constructor |
|
ModalChoiceGroup(java.util.List promptDefinitionsAndSubgroups)
Constructor |
|
ModalChoiceGroup(java.lang.String label,
java.util.Locale labelLocale,
java.lang.String value)
Constructor |
Method Summary | |
---|---|
void |
configureAttributes(java.util.Map<java.lang.String,?> options,
java.util.Map<java.lang.String,?> context)
|
java.lang.String |
getValue()
Returns the value associated with this ModalChoiceGroup. |
void |
setValue(java.lang.String value)
Sets the value associated with this ModalChoiceGroup. |
Methods inherited from class com.sas.prompts.groups.TransparentGroup |
---|
addPromptSubgroup, addPromptSubgroup, isTransparent |
Constructor Detail |
---|
public ModalChoiceGroup()
public ModalChoiceGroup(java.lang.String label, java.util.Locale labelLocale, java.lang.String value)
label
- The label of the group to present for selection.labelLocale
- The locale of the labelvalue
- The value to associate with the selection of the ModalChoiceGrouppublic ModalChoiceGroup(java.util.List promptDefinitionsAndSubgroups)
promptDefinitionsAndSubgroups
- The prompts and subgroups to add to this ModalChoiceGroup.
Note that any subgroups must be TransparentGroups.Method Detail |
---|
public java.lang.String getValue()
getValue
in interface com.sas.prompts.groups.ModalChoiceGroupInterface
public void setValue(java.lang.String value)
setValue
in interface com.sas.prompts.groups.ModalChoiceGroupInterface
value
- The value associated with this ModalChoiceGrouppublic void configureAttributes(java.util.Map<java.lang.String,?> options, java.util.Map<java.lang.String,?> context)
configureAttributes
in interface com.sas.util.AttributeConfigurationInterface
configureAttributes
in class PromptGroup
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |