Class graph.Node
All Packages Class Hierarchy This Package Previous Next Index
Class graph.Node
java.lang.Object
|
+----sprite.Sprite
|
+----graph.Node
- public class Node
- extends Sprite
-
DIAMETER
-
-
RADIUS
-
-
all_
-
-
color_
-
-
font_
-
-
graph_
-
-
incoming_
-
-
metrics_
-
-
num_
-
-
outgoing_
-
-
tAscent_
-
-
tHeight_
-
-
tWidth_
-
-
yAdd_
-
-
Node(GraphArea, int, int, boolean)
-
-
Node(GraphArea, int, int, boolean, int)
-
-
AddEdge(Edge)
-
-
ConnectingEdge(Node)
-
-
ConnectsTo(Node)
-
-
Draw(Graphics)
-
-
GetAllArray()
-
-
GetAllEdges()
-
-
GetIncomingArray()
-
-
GetIncomingEdges()
-
-
GetLabel()
-
-
GetNumber()
-
-
GetOutgoingArray()
-
-
GetOutgoingEdges()
-
-
HideNumber()
-
-
Inside(int, int)
-
-
IsSquare()
-
-
Remove()
-
-
RemoveEdge(Edge)
-
-
SetColor(Color)
-
-
ShowNumber()
-
-
handleEvent(Event)
-
-
toString()
-
RADIUS
public final static int RADIUS
DIAMETER
public final static int DIAMETER
graph_
protected GraphArea graph_
color_
protected Color color_
incoming_
protected Vector incoming_
outgoing_
protected Vector outgoing_
all_
protected Vector all_
num_
protected int num_
font_
protected static Font font_
tWidth_
protected static int tWidth_
tHeight_
protected static int tHeight_
tAscent_
protected static int tAscent_
yAdd_
protected static int yAdd_
metrics_
protected static FontMetrics metrics_
Node
public Node(GraphArea area,
int x,
int y,
boolean square)
Node
public Node(GraphArea area,
int x,
int y,
boolean square,
int num)
SetColor
public void SetColor(Color color)
ShowNumber
public void ShowNumber()
HideNumber
public void HideNumber()
GetNumber
public int GetNumber()
IsSquare
public boolean IsSquare()
GetLabel
public String GetLabel()
GetIncomingEdges
public Vector GetIncomingEdges()
GetOutgoingEdges
public Vector GetOutgoingEdges()
GetAllEdges
public Vector GetAllEdges()
GetIncomingArray
public Edge[] GetIncomingArray()
GetOutgoingArray
public Edge[] GetOutgoingArray()
GetAllArray
public Edge[] GetAllArray()
ConnectsTo
public boolean ConnectsTo(Node other)
ConnectingEdge
public Edge ConnectingEdge(Node other)
AddEdge
public void AddEdge(Edge e)
RemoveEdge
public void RemoveEdge(Edge e)
Remove
public void Remove()
- Overrides:
- Remove in class Sprite
Inside
public boolean Inside(int x,
int y)
- Overrides:
- Inside in class Sprite
Draw
public void Draw(Graphics g)
- Overrides:
- Draw in class Sprite
handleEvent
public void handleEvent(Event e)
- Overrides:
- handleEvent in class Sprite
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index