|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object clock.Face
public class Face
Display of a clock face
Constructor Summary | |
---|---|
Face(int leftX,
int upperY,
int faceDiameter,
java.awt.Color color)
Constructor |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics graphics)
Draw the face |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Face(int leftX, int upperY, int faceDiameter, java.awt.Color color)
leftX
- the X coordinate of the upper left corner of the bounding
rectangle for the face relative to upper left corner of clockupperY
- the Y coordinate of the upper left corner of the bounding
rectangle for the face relative to upper left corner of clockfaceDiameter
- the diameter of the facecolor
- the color of the faceMethod Detail |
---|
public void draw(java.awt.Graphics graphics)
graphics
- the graphics object on which to draw
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |