mixmeta4
Class MoveGUI

java.lang.Object
  extended by java.awt.geom.Line2D
      extended by java.awt.geom.Line2D.Float
          extended by mixmeta4.MoveGUI
All Implemented Interfaces:
java.awt.Shape, java.lang.Cloneable

public class MoveGUI
extends java.awt.geom.Line2D.Float


Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Line2D
java.awt.geom.Line2D.Double, java.awt.geom.Line2D.Float
 
Field Summary
static java.awt.Color COLOUR
           
static int SIZE
           
 
Fields inherited from class java.awt.geom.Line2D.Float
x1, x2, y1, y2
 
Constructor Summary
MoveGUI(Move move, Board board)
           
 
Method Summary
 void paint(java.awt.Graphics graphics)
           
 void paint(java.awt.Graphics graphics, java.awt.Color colour)
           
 
Methods inherited from class java.awt.geom.Line2D.Float
getBounds2D, getP1, getP2, getX1, getX2, getY1, getY2, setLine, setLine
 
Methods inherited from class java.awt.geom.Line2D
clone, contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects, intersectsLine, intersectsLine, linesIntersect, ptLineDist, ptLineDist, ptLineDist, ptLineDistSq, ptLineDistSq, ptLineDistSq, ptSegDist, ptSegDist, ptSegDist, ptSegDistSq, ptSegDistSq, ptSegDistSq, relativeCCW, relativeCCW, relativeCCW, setLine, setLine
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static int SIZE

COLOUR

public static java.awt.Color COLOUR
Constructor Detail

MoveGUI

public MoveGUI(Move move,
               Board board)
Method Detail

paint

public void paint(java.awt.Graphics graphics)

paint

public void paint(java.awt.Graphics graphics,
                  java.awt.Color colour)