at.tuwien.ifs.somtoolbox.visualization.minimumSpanningTree
Class Node

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.visualization.minimumSpanningTree.Node
All Implemented Interfaces:
Comparable<Node>

public class Node
extends Object
implements Comparable<Node>

Version:
$Id: Node.java 3883 2010-11-02 17:13:23Z frank $
Author:
Thomas Kern, Magdalena Widl

Field Summary
private  String label
           
private  Unit unit
           
private  double x
           
private  double y
           
 
Constructor Summary
Node(String label, double x, double y, Unit unit)
           
 
Method Summary
 int compareTo(Node o)
           
 boolean equals(Object o)
           
 String getLabel()
           
 Unit getUnit()
           
 double getX()
           
 double getY()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

private String label

unit

private Unit unit

x

private double x

y

private double y
Constructor Detail

Node

public Node(String label,
            double x,
            double y,
            Unit unit)
Method Detail

compareTo

public int compareTo(Node o)
Specified by:
compareTo in interface Comparable<Node>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getLabel

public String getLabel()

getUnit

public Unit getUnit()

getX

public double getX()

getY

public double getY()