public interface IMXMLClassReferenceNode extends IMXMLNode
An IMXMLClassReferenceNode
has N child nodes; each is an
IMXMLSpecifierNode
specifying the value of a property, the value of a
style, or ActionScript code to handle an event.
UNKNOWN
Modifier and Type | Method and Description |
---|---|
IClassDefinition |
getClassReference(ICompilerProject project)
Gets the definition of the ActionScript class corresponding to this MXML
tag.
|
IMXMLEventSpecifierNode |
getEventSpecifierNode(String name)
Gets the child node specifying a particular event.
|
IMXMLEventSpecifierNode[] |
getEventSpecifierNodes()
Gets all the child nodes that specify events.
|
IMXMLPropertySpecifierNode |
getPropertySpecifierNode(String name)
Gets the child node specifying a particular property.
|
IMXMLPropertySpecifierNode[] |
getPropertySpecifierNodes()
Gets all the child nodes that specify properties.
|
IMXMLSpecifierNode[] |
getSpecifierNodesWithSuffix(String suffix)
Gets all the child nodes that represent properties, styles, and events
and which have a particular suffix specifying a state or state group.
|
boolean |
isContainer()
Does the class referenced by this node implement
mx.core.IContainer ? |
boolean |
isDeferredInstantiationUIComponent()
Does the class referenced by this node implement
mx.core.IDeferredInstantiatonUIComponent ? |
boolean |
isMXMLObject()
Does the class referenced by this node implement
mx.core.IMXMLObject ? |
boolean |
isVisualElementContainer()
Does the class referenced by this node implement
mx.core.IVisualElementContainer ? |
boolean |
needsDescriptor()
Determines whether this node needs to generate a
UIComponentDescriptor . |
boolean |
needsDocumentDescriptor()
Determines whether this node needs to set its
documentDescriptor property. |
getClassDefinitionNode, getDocumentNode, getFileNode, getName, isValidForCodeGen
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
IClassDefinition getClassReference(ICompilerProject project)
IClassDefinition
for the ActionScript class.boolean isMXMLObject()
mx.core.IMXMLObject
?true
if it does.boolean isVisualElementContainer()
mx.core.IVisualElementContainer
?true
if it does.boolean isDeferredInstantiationUIComponent()
mx.core.IDeferredInstantiatonUIComponent
?true
if it does.boolean isContainer()
mx.core.IContainer
?true
if it does.IMXMLPropertySpecifierNode getPropertySpecifierNode(String name)
name
- The name of the property.IMXMLPropertySpecifierNode
specifying that property.IMXMLPropertySpecifierNode[] getPropertySpecifierNodes()
IMXMLPropertySpecifierNode
objects.IMXMLEventSpecifierNode getEventSpecifierNode(String name)
name
- The name of the event.IMXMLEventSpecifierNode
specifying that event.IMXMLEventSpecifierNode[] getEventSpecifierNodes()
IMXMLEventSpecifierNode
objects.IMXMLSpecifierNode[] getSpecifierNodesWithSuffix(String suffix)
suffix
- The name of a state or state group.IMXMLSpecifierNode
objects.boolean needsDescriptor()
UIComponentDescriptor
.true
if it needs a descriptor.boolean needsDocumentDescriptor()
documentDescriptor
property.true
if it needs a document descriptor.Copyright © 2016 The Apache Software Foundation. All rights reserved.