|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.klafbang.tincpn.gui.sheet.Sheet
dk.klafbang.tincpn.animation.AnimationSheet
dk.klafbang.tincpn.animation.plugin.Graph3D
@Note(value="This was previously called WilmaSheet and Wilma") public class Graph3D
Graph is meant to draw 3D graphs.
This feature is used to visualise state-spaces, but the interface is general enough, it can be used for other things as well.
You may also want to take a look at this animation object's 2D counterpart,
Graph
Graph
Constructor Summary | |
---|---|
Graph3D(java.lang.String name,
java.lang.String id)
Constructs a Graph3D object. |
Method Summary | |
---|---|
javax.swing.JComponent |
createAnimation()
|
void |
createEdge(java.lang.String source,
java.lang.String target,
java.lang.String label)
Create a new edge from source to target with the specified label. |
void |
createVertex(java.lang.String name)
Create a new vertex with the given name. |
java.awt.Dimension |
getPreferredSize()
|
Methods inherited from class dk.klafbang.tincpn.animation.AnimationSheet |
---|
canCoexistWith, getComponentImpl |
Methods inherited from class dk.klafbang.tincpn.gui.sheet.Sheet |
---|
addSheetHook, getComponent, getIndexNode, getText, removeComponent, setText |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Graph3D(java.lang.String name, java.lang.String id)
name
- name of the Graphid
- Method Detail |
---|
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class dk.klafbang.tincpn.gui.sheet.Sheet
Sheet.getPreferredSize()
public javax.swing.JComponent createAnimation()
createAnimation
in class dk.klafbang.tincpn.animation.AnimationSheet
AnimationSheet.createAnimation()
public void createVertex(java.lang.String name)
name
- the namepublic void createEdge(java.lang.String source, java.lang.String target, java.lang.String label)
source
- the sourcetarget
- the targetlabel
- the label
|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |