|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eu.sk.zero.acd.ComponentTypes
Container class for types of components
Constructor Summary | |
ComponentTypes()
Creates an empty container. |
Method Summary | |
void |
add(org.eu.sk.zero.acd.ComponentType val)
Adds a component type. |
void |
add(org.eu.sk.zero.acd.ComponentType val,
org.eu.sk.zero.acd.Module m)
Adds a component type. |
void |
addAll(Collection c)
Adds multiple component types. |
void |
addAll(Collection c,
org.eu.sk.zero.acd.Module m)
Adds multiple component types. |
Collection |
collection()
Returns collection of component types. |
Iterator |
getAreaTypesIterator()
Allows browsing all area types in the container. |
Iterator |
getComponentTypesIterator(org.eu.sk.zero.acd.ComponentType type)
Allows browsing all component types according the given type. |
Iterator |
getEdgeTypesIterator()
Allows browsing all edge types in the container. |
Iterator |
getNodeTypesIterator()
Allows browsing all node types in the container. |
Iterator |
iterator()
Allows browsing all component types in the container. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComponentTypes()
Method Detail |
public void add(org.eu.sk.zero.acd.ComponentType val, org.eu.sk.zero.acd.Module m)
public void add(org.eu.sk.zero.acd.ComponentType val)
public void addAll(Collection c, org.eu.sk.zero.acd.Module m)
c
- must contain only objects of ComponentType classpublic void addAll(Collection c)
c
- must contain only objects of ComponentType classpublic Collection collection()
public Iterator iterator()
public Iterator getNodeTypesIterator()
public Iterator getEdgeTypesIterator()
public Iterator getAreaTypesIterator()
public Iterator getComponentTypesIterator(org.eu.sk.zero.acd.ComponentType type)
type
- if it is a NodeType, the iterator will browse all nodes and so on
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |