Class Vertex

java.lang.Object
  |
  +--Vertex
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class Vertex
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

See Also:
Serialized Form

Field Summary
static java.lang.String DEFFAMILY
           
 java.lang.String label
           
static TextForm labelfont
           
static Size marksize
           
 Vect position
           
private static long serialVersionUID
           
 
Constructor Summary
Vertex(java.lang.String lab)
           
Vertex(Vect pos)
           
Vertex(Vect pos, java.lang.String lab)
           
Vertex(Vertex v)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 void draw(java.awt.Graphics g, Matrix mat)
           
 boolean equals(java.lang.Object o)
           
 void mapdraw(java.awt.Graphics g, java.awt.geom.AffineTransform trans)
           
 java.awt.geom.Point2D mappos(java.awt.geom.AffineTransform trans)
           
static void paintAll(java.util.Iterator it, View view)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

DEFFAMILY

public static java.lang.String DEFFAMILY

position

public Vect position

label

public java.lang.String label

labelfont

public static TextForm labelfont

marksize

public static Size marksize
Constructor Detail

Vertex

public Vertex(Vect pos)

Vertex

public Vertex(Vect pos,
              java.lang.String lab)

Vertex

public Vertex(java.lang.String lab)

Vertex

public Vertex(Vertex v)
Method Detail

draw

public void draw(java.awt.Graphics g,
                 Matrix mat)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

mapdraw

public void mapdraw(java.awt.Graphics g,
                    java.awt.geom.AffineTransform trans)

mappos

public java.awt.geom.Point2D mappos(java.awt.geom.AffineTransform trans)

paintAll

public static void paintAll(java.util.Iterator it,
                            View view)