Drag[en]gine Script Module DragonScript Script API  1.0
ElementClassManager Class Reference
Inheritance diagram for ElementClassManager:

Public Member Functions

void addClass (ElementClass eclass)
 
void addElementClass (ElementClass elementClass)
 
void dispose ()
 
void forEach (Block ablock)
 
ElementClass getClassAt (int index)
 
int getClassCount ()
 
ElementClass getClassNamed (String name)
 
ElementClass getElementClass (int index)
 
ElementClass getElementClass (String className)
 
int getElementClassCount ()
 
bool hasClassNamed (String name)
 
bool hasElementClass (String className)
 
ElementClassManager new ()
 

Detailed Description

Manages a set of element classes.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

void addClass ( ElementClass  eclass)

Adds a new class.

void addElementClass ( ElementClass  elementClass)

Adds a new uniquely name ElementClass.

void dispose ( )

Dispose of all classes.

void forEach ( Block  ablock)

Visit element classes using a block.

ElementClass getClassAt ( int  index)

Retrieve class at the given index.

int getClassCount ( )

Retrieve the number of classes.

ElementClass getClassNamed ( String  name)

Retrieve a class with the given name or null if not found.

ElementClass getElementClass ( int  index)

Retrieve element class by index.

ElementClass getElementClass ( String  className)

Retrieve a element class for the given classname.

int getElementClassCount ( )

Retrieve the number of element classes.

bool hasClassNamed ( String  name)

Determines if a class with the given name exists.

bool hasElementClass ( String  className)

Determines if a given element class exists.

Creates a new element class manager object.


The documentation for this class was generated from the following file: