|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Polygon
mixmeta4.SquareGUI
public class SquareGUI
| 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 |
|---|
public static int SIZE
public static java.awt.Color COLOUR
public static java.awt.Color BACKGROUND_COLOUR
| Constructor Detail |
|---|
public SquareGUI(Square square)
| Method Detail |
|---|
public void resize()
public void paint(java.awt.Graphics graphics)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||