All Packages Class Hierarchy This Package Previous Next Index
Class Graph.NodeFactory
java.lang.Object
|
+----Graph.NodeFactory
- public class NodeFactory
- extends Object
- implements Serializable
Creates and adds new Node to the hash table of nodes
(located in @see GraphDisplay), if possible.
- See Also:
- Node, GraphDisplay
-
NodeFactory()
-
-
addNode(int, int)
-
-
getNodePreferredSize()
-
-
newNode(String)
-
-
setGraphDisplay(GraphDisplay)
-
-
setNodeType(String)
-
NodeFactory
public NodeFactory()
addNode
public boolean addNode(int x,
int y)
getNodePreferredSize
public Dimension getNodePreferredSize()
newNode
public Node newNode(String type)
setGraphDisplay
public void setGraphDisplay(GraphDisplay graphDisplay)
setNodeType
public void setNodeType(String type)
All Packages Class Hierarchy This Package Previous Next Index