clock
Class Face

java.lang.Object
  extended by clock.Face

public class Face
extends java.lang.Object

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

Face

public Face(int leftX,
            int upperY,
            int faceDiameter,
            java.awt.Color color)
Constructor

Parameters:
leftX - the X coordinate of the upper left corner of the bounding rectangle for the face relative to upper left corner of clock
upperY - the Y coordinate of the upper left corner of the bounding rectangle for the face relative to upper left corner of clock
faceDiameter - the diameter of the face
color - the color of the face
Method Detail

draw

public void draw(java.awt.Graphics graphics)
Draw the face

Parameters:
graphics - the graphics object on which to draw