| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.DefaultGraph2DFactory
public class DefaultGraph2DFactory
This is the default implementation of a graph factory that 
 produces graphs of type Graph2D and default 
 graph objects corresponding to that graph type.
| Constructor Summary | |
|---|---|
| DefaultGraph2DFactory() | |
| Method Summary | |
|---|---|
|  Edge | createEdge(Graph graph,
           Node source,
           Node target,
           java.lang.Object hint)Returns a newly created edge object for the given graph. | 
|  Graph | createGraph(java.lang.Object hint)Creates a new instance of Graph2D. | 
|  Node | createNode(Graph graph,
           java.lang.Object hint)Returns a newly created node object for the given graph. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DefaultGraph2DFactory()
| Method Detail | 
|---|
public Graph createGraph(java.lang.Object hint)
Graph2D.
createGraph in interface GraphFactoryhint - the hint object will be ignored.
public Node createNode(Graph graph,
                       java.lang.Object hint)
createNode in interface GraphFactorygraph - the graph containing the newly created node.hint - the hint object will be ignored.
public Edge createEdge(Graph graph,
                       Node source,
                       Node target,
                       java.lang.Object hint)
createEdge in interface GraphFactorygraph - the graph containing the newly created edge.source - the source node of the newly created edge.target - the target node of the newly created edge.hint - the hint object will be ignored.
| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||