|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ASClassType
A handle on the definition of an ActionScript class.
ActionScriptFactory.newClass(String)
Method Summary | |
---|---|
void |
addImplementedInterface(java.lang.String string)
Adds an interface name to the list of interfaces which this ActionScript class implements. |
ASField |
getField(java.lang.String name)
Returns a reference to the ActionScript field with the given name, or null, if no such field exists. |
java.util.List |
getFields()
Returns a list of ASField objects representing the
fields this ActionScript class defines. |
java.util.List |
getImplementedInterfaces()
Returns the list of names of the interfaces that this ActionScript class implements. |
java.lang.String |
getSuperclass()
Returns the name of this ActionScript class' superclass, or null of the superclass is not specified. |
ASField |
newField(java.lang.String name,
Visibility visibility,
java.lang.String type)
Adds a new ActionScript field definition to this ActionScript class. |
void |
removeField(java.lang.String name)
Removes the named field from the list of fields which this ActionScript class defines. |
void |
removeImplementedInterface(java.lang.String string)
Removes an interface name from the list of interfaces which this ActionScript class implements. |
void |
setSuperclass(java.lang.String className)
Defines the name of the superclass for this ActionScript class. |
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.ASType |
---|
getMethod, getMethods, getName, getVisibility, newMethod, removeMethod, setName, setVisibility |
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.MetaTagable |
---|
getAllMetaTags, getFirstMetatag, getMetaTagsWithName, newMetaTag |
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.Documentable |
---|
getDocComment, setDocComment |
Method Detail |
---|
java.lang.String getSuperclass()
void setSuperclass(java.lang.String className)
java.util.List getImplementedInterfaces()
void addImplementedInterface(java.lang.String string)
void removeImplementedInterface(java.lang.String string)
ASField newField(java.lang.String name, Visibility visibility, java.lang.String type)
ASField getField(java.lang.String name)
java.util.List getFields()
ASField
objects representing the
fields this ActionScript class defines.
void removeField(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |