|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A handle on the definition of an ActionScript class
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.ASType |
getDocComment, getMethod, getMethods, getName, getVisibility, newMethod, removeMethod, setDocComment, setName, setVisibility |
Method Detail |
public java.lang.String getSuperclass()
public void setSuperclass(java.lang.String className)
public java.util.List getImplementedInterfaces()
public void addImplementedInterface(java.lang.String string)
public void removeImplementedInterface(java.lang.String string)
public ASField newField(java.lang.String name, Visibility visibility, java.lang.String type)
public ASField getField(java.lang.String name)
public java.util.List getFields()
ASField
objects representing the
fields this ActionScript class defines.
public void removeField(java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |