|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.graph.tutorial.EditorTutorial
public class EditorTutorial
This tutorial expands on the simple tutorial and turns it into a more complete graph editor. Along with the editing window, the user has the ability to layout the graph. Control-click to add nodes, select a node and control-drag to create new edges.
Red |
Nested Class Summary | |
---|---|
class |
EditorTutorial.LayoutActionListener
An inner class for layout. |
class |
EditorTutorial.LayoutWidget
A widget for configuring layouts. |
Field Summary | |
---|---|
(package private) JGraph |
_editor
|
(package private) GlobalLayout |
_layout
|
(package private) BasicGraphModel |
_model
|
(package private) LayoutTarget |
_target
|
Constructor Summary | |
---|---|
EditorTutorial(AppContext context)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Pop up an empty graph editing window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
LayoutTarget _target
GlobalLayout _layout
JGraph _editor
BasicGraphModel _model
Constructor Detail |
---|
public EditorTutorial(AppContext context)
Method Detail |
---|
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |