|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.eu.sk.zero.acd.ModuleAdapter
Module adapter class. Module should create cpomonent types, add velue types to the component types, add methods and triggers to the component types. To create a module, cubclass ModuleAdapter and override its constructor
ComponentType,
ValueType,
Method,
Trigger| Field Summary | |
protected Collection |
actions
Add your defined actions to this container |
protected org.eu.sk.zero.acd.ACD |
app
Application reference. |
protected org.eu.sk.zero.acd.ComponentTypes |
areaTypes
Add your defined component types to this container |
protected String |
author
Author identification. |
protected ClassLoader |
cloader
Module class loader. |
protected String |
desc
Longer module description |
protected org.eu.sk.zero.acd.ComponentTypes |
edgeTypes
Add your defined component types to this container |
protected String |
name
Name of the module |
protected org.eu.sk.zero.acd.ComponentTypes |
nodeTypes
Add your defined component types to this container |
| Constructor Summary | |
ModuleAdapter()
To create a module, subclass the ModuleAdapter class and override this constructor. |
|
| Method Summary | |
Collection |
getActions()
Exported actions. |
Collection |
getAreaTypes()
Only called from the application. |
String |
getAuthor()
Author and copyright information. |
String |
getDescription()
Longer module description. |
Collection |
getEdgeTypes()
Only called from the application. |
String |
getName()
Name of the module. |
Collection |
getNodeTypes()
Only called from the application. |
void |
setApplication(org.eu.sk.zero.acd.ACD a)
Reference to the application itself. |
String |
toString()
|
protected URL |
url(String fileName)
Converts a filename to url. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String name
protected String author
protected String desc
protected org.eu.sk.zero.acd.ComponentTypes nodeTypes
protected org.eu.sk.zero.acd.ComponentTypes edgeTypes
protected org.eu.sk.zero.acd.ComponentTypes areaTypes
protected Collection actions
protected org.eu.sk.zero.acd.ACD app
protected ClassLoader cloader
| Constructor Detail |
public ModuleAdapter()
| Method Detail |
public Collection getNodeTypes()
getNodeTypes in interface Modulepublic Collection getEdgeTypes()
getEdgeTypes in interface Modulepublic Collection getAreaTypes()
getAreaTypes in interface Modulepublic String toString()
toString in class Objectpublic String getName()
Module
getName in interface Modulepublic String getAuthor()
Module
getAuthor in interface Modulepublic String getDescription()
Module
getDescription in interface Modulepublic Collection getActions()
Module
getActions in interface Modulepublic void setApplication(org.eu.sk.zero.acd.ACD a)
Module
setApplication in interface Moduleprotected URL url(String fileName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||