mixmeta4
Class SquareGUI

java.lang.Object
  extended by java.awt.Polygon
      extended by mixmeta4.SquareGUI
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable

public class SquareGUI
extends java.awt.Polygon

See Also:
Serialized Form

Field Summary
static java.awt.Color BACKGROUND_COLOUR
           
static java.awt.Color COLOUR
           
static int SIZE
           
 
Fields inherited from class java.awt.Polygon
bounds, npoints, xpoints, ypoints
 
Constructor Summary
SquareGUI(Square square)
           
 
Method Summary
 void paint(java.awt.Graphics graphics)
           
 void resize()
           
 
Methods inherited from class java.awt.Polygon
addPoint, contains, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static int SIZE

COLOUR

public static java.awt.Color COLOUR

BACKGROUND_COLOUR

public static java.awt.Color BACKGROUND_COLOUR
Constructor Detail

SquareGUI

public SquareGUI(Square square)
Method Detail

resize

public void resize()

paint

public void paint(java.awt.Graphics graphics)