org.samcrow
Class Destination

java.lang.Object
  extended by org.samcrow.Node
      extended by org.samcrow.Destination
All Implemented Interfaces:
java.lang.Comparable<Node>

public class Destination
extends Node


Field Summary
private  java.lang.String name
           
private static int PADDING
           
 
Fields inherited from class org.samcrow.Node
CIRCLE_RADIUS, links, x, y
 
Constructor Summary
Destination(int inX, int inY, java.lang.String inName)
           
 
Method Summary
 org.lekan.graphics.SGObject getDrawObject()
          Get the SGObjects to draw this node
 org.lekan.graphics.SGText getLabel()
           
 java.lang.String getName()
           
 
Methods inherited from class org.samcrow.Node
addLink, compareTo, equals, getLinks, getX, getY, hashCode, isInArea, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private java.lang.String name

PADDING

private static final int PADDING
See Also:
Constant Field Values
Constructor Detail

Destination

public Destination(int inX,
                   int inY,
                   java.lang.String inName)
Method Detail

getName

public java.lang.String getName()

getDrawObject

public org.lekan.graphics.SGObject getDrawObject()
Description copied from class: Node
Get the SGObjects to draw this node

Overrides:
getDrawObject in class Node
Returns:
a collection of SGObjects to draw

getLabel

public org.lekan.graphics.SGText getLabel()