com.sas.prompts.groups
Class TransparentGroup

com.sas.prompts.groups.TransparentGroup
All Implemented Interfaces:
com.sas.models.VersionInterface, PromptGroupInterface, com.sas.prompts.groups.PromptGroupV2Interface, com.sas.prompts.groups.TransparentGroupInterface, com.sas.prompts.IdentifiablePromptInterface, com.sas.prompts.MutableIdentifiablePromptInterface, com.sas.storage.editableproperties.LocalizableProperties, com.sas.storage.editableproperties.MultiLocaleProperties, com.sas.storage.editableproperties.SubstitutionProperties, com.sas.uiconfig.ContextEnabledObject, com.sas.util.AttributeConfigurationInterface, com.sas.util.log.ComponentLogFactoryInterface, com.sas.util.ResourceReferencesInterface, com.sas.util.xmlpersist.PersistenceInterface, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
ModalChoiceGroup, ModalGroup

public class TransparentGroup
implements com.sas.prompts.groups.TransparentGroupInterface

Prompt group for which the prompts in it will appear as if they are parented to the TransparentGroup's parent group in the UI.

See Also:
Serialized Form

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
TransparentGroup()
          Constructor
TransparentGroup(java.util.List promptDefinitionsAndSubgroups)
          Constructor
 
Method Summary
 void addPromptSubgroup(PromptGroupInterface promptSubgroup)
          Adds the specified group as a subgroup of this group.
 void addPromptSubgroup(PromptGroupInterface promptSubgroup, int index)
          Adds the specified group as a subgroup of this group at the specified index in the list.
 boolean isTransparent()
          Returns whether the prompts in the group should be treated as if they are in the parent group when they are presented in a user interface.
 
Methods inherited from class com.sas.prompts.groups.PromptGroup
addPromptDefinition, addPromptDefinition, addPromptDefinitionCombination, addPromptDefinitions, configureAttributes, containsSubgroup, findPromptSubgroup, getApplicationContext, getAttributeDescriptors, getDependentPromptsForAttributes, getLocalizableProperties, getMaxVersion, getPromptDefinition, getPromptDefinitionCombinations, getPromptDefinitions, getPromptDefinitionsAndSubgroups, getPromptDefinitionsAndSubgroups, getPromptGroupDescription, getPromptGroupDescriptions, getPromptGroupLabel, getPromptGroupLabels, getPromptGroupLayout, getPromptID, getPromptSubgroups, getScript, getScripts, getSubstitutionProperties, getUIConfiguration, getVersion, getWritableLayoutInfo, hasPromptDefinition, indexOfPromptDefinitionOrSubgroup, isClearPromptValuesWhenHidden, isIgnorePromptValuesWhenHidden, isPromptGroupDisabled, isPromptGroupHidden, removeAll, removeAllPromptDefinitions, removeAllPromptSubgroups, removePromptDefinition, removePromptDefinitionCombination, removePromptSubgroup, removeScript, replacePromptDefintion, replacePromptSubgroup, setApplicationContext, setClearPromptValuesWhenHidden, setDependentPromptsForAttributes, setIgnorePromptValuesWhenHidden, setLocalizableProperties, setPromptGroupDescription, setPromptGroupDescriptions, setPromptGroupDisabled, setPromptGroupHidden, setPromptGroupLabel, setPromptGroupLabels, setPromptGroupLayout, setPromptID, setScript, setSubstitutionProperties, setTransparent, setUIConfiguration, toString, writeLayout
 
Methods inherited from interface com.sas.prompts.groups.PromptGroupInterface
addPromptDefinition, addPromptDefinition, addPromptDefinitions, containsSubgroup, findPromptSubgroup, getPromptDefinition, getPromptDefinitions, getPromptDefinitionsAndSubgroups, getPromptDefinitionsAndSubgroups, getPromptGroupDescription, getPromptGroupDescriptions, getPromptGroupLabel, getPromptGroupLabels, getPromptSubgroups, hasPromptDefinition, indexOfPromptDefinitionOrSubgroup, isPromptGroupHidden, removeAll, removeAllPromptDefinitions, removeAllPromptSubgroups, removePromptDefinition, removePromptSubgroup, replacePromptDefintion, replacePromptSubgroup, setPromptGroupDescription, setPromptGroupDescriptions, setPromptGroupHidden, setPromptGroupLabel, setPromptGroupLabels
 

Constructor Detail

TransparentGroup

public TransparentGroup()
Constructor


TransparentGroup

public TransparentGroup(java.util.List promptDefinitionsAndSubgroups)
Constructor

Method Detail

addPromptSubgroup

public void addPromptSubgroup(PromptGroupInterface promptSubgroup)
Adds the specified group as a subgroup of this group.

Specified by:
addPromptSubgroup in interface PromptGroupInterface
Overrides:
addPromptSubgroup in class PromptGroup
Parameters:
promptSubgroup - The group to add as a child. This may not be null.
See Also:
PromptGroupInterface.addPromptSubgroup(PromptGroupInterface)

addPromptSubgroup

public void addPromptSubgroup(PromptGroupInterface promptSubgroup,
                              int index)
Adds the specified group as a subgroup of this group at the specified index in the list.

Specified by:
addPromptSubgroup in interface PromptGroupInterface
Overrides:
addPromptSubgroup in class PromptGroup
Parameters:
promptSubgroup - The group to add as a child. This may not be null.
index - The index to add the child group at or -1 to add at the end.
See Also:
PromptGroupInterface.addPromptSubgroup(PromptGroupInterface, int)

isTransparent

public boolean isTransparent()
Description copied from interface: PromptGroupV2Interface
Returns whether the prompts in the group should be treated as if they are in the parent group when they are presented in a user interface.

Specified by:
isTransparent in interface com.sas.prompts.groups.PromptGroupV2Interface
Overrides:
isTransparent in class PromptGroup
Returns:



Copyright © 2009 SAS Institute Inc. All Rights Reserved.