public class StateGroupDefinition extends StateDefinitionBase implements IStateGroupDefinition
StateGroupDefinition represents a state group in an MXML class.FLAG_CAST_FUNCTION, FLAG_CONSTRUCTOR, FLAG_CONTINGENT, FLAG_DECLARED_IN_CONTROL_FLOW, FLAG_DEFAULT, FLAG_DEPRECATED, FLAG_DYNAMIC, FLAG_FINAL, FLAG_GENERATED_EMBED_CLASS, FLAG_HAS_INIT, FLAG_IMPLICIT, FLAG_NATIVE, FLAG_OVERRIDE, FLAG_REST, FLAG_STATIC, flags, nodeRef, singletonEmptyMetaTags| Constructor and Description |
|---|
StateGroupDefinition(String name,
IClassDefinition containingClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addState(IStateDefinition state)
Records that this group includes a specified state.
|
String[] |
getIncludedStates()
Returns an array of
String objects that represent the names found
in this IStateGroup |
boolean |
isStateIncluded(String state)
Determines if the given state is contained within the state group
|
IStateDefinition[] |
resolveIncludedStates()
Returns an array of
IStateDefinition objects that are found in
this IStateGroup |
compareTo, getContainingClass, isImplicit, toStringaddMetaTag, buildInnerString, buildString, getAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getArrayElementType, getBaseName, getBindableEventNames, getColumn, getContainingASScope, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDefinition, getDeprecationInfo, getEnd, getExplicitSourceComment, getFileScope, getFileSpecification, getInstanceType, getLine, getLocationString, getMaxSize, getMetaTagByName, getMetaTagsByName, getMName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNamespaceReferenceAsString, getNameStart, getNode, getPackageName, getParent, getPercentProxy, getQualifiedName, getSize, getSkinPart, getSourcePath, getStart, getStorageName, getTypeAsDisplayString, getTypeDependencyType, getTypeReference, hasCollapseWhiteSpace, hasExplicitComment, hasMetaTagByName, hasModifier, hasNamespace, hasRichTextContent, inPackageNamespace, isBindable, isBindableStyle, isColor, isContingent, isContingentNeeded, isDeprecated, isDynamic, isEmpty, isFinal, isGeneratedEmbedClass, isInProject, isInternal, isNative, isOverride, isPrivate, isProtected, isPublic, isRequiredSkinPart, isStatic, isTopLevelDefinition, matches, resolveNamespace, resolveType, resolveType, resolveType, resolveType, resolveType, setBindable, setContainingScope, setContingent, setDynamic, setFinal, setGeneratedEmbedClass, setImplicit, setLocation, setMetaTags, setModifier, setNameLocation, setNamespaceReference, setNative, setNode, setOverride, setPublic, setStatic, setTypeReference, toStorageName, unsetOverride, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContainingClasscompareTogetAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getBaseName, getBindableEventNames, getColumn, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDeprecationInfo, getEnd, getLine, getMetaTagByName, getMetaTagsByName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNameStart, getNode, getPackageName, getParent, getQualifiedName, getSourcePath, getStart, getTypeAsDisplayString, getTypeReference, hasMetaTagByName, hasModifier, hasNamespace, isBindable, isBindableStyle, isContingent, isContingentNeeded, isDeprecated, isDynamic, isFinal, isGeneratedEmbedClass, isImplicit, isInProject, isInternal, isNative, isOverride, isPrivate, isProtected, isPublic, isStatic, resolveNamespace, resolveTypepublic StateGroupDefinition(String name, IClassDefinition containingClass)
public String[] getIncludedStates()
IStateGroupDefinitionString objects that represent the names found
in this IStateGroupgetIncludedStates in interface IStateGroupDefinitionString objectspublic IStateDefinition[] resolveIncludedStates()
IStateGroupDefinitionIStateDefinition objects that are found in
this IStateGroupresolveIncludedStates in interface IStateGroupDefinitionIStateDefinition objectspublic boolean isStateIncluded(String state)
IStateGroupDefinitionisStateIncluded in interface IStateGroupDefinitionstate - the name of the state to locatepublic void addState(IStateDefinition state)
state - An IStateDefinition that this group includes.Copyright © 2016 The Apache Software Foundation. All rights reserved.