Class HwBox

java.lang.Object
  extended by HwBox

public class HwBox
extends java.lang.Object

HwBox is used to display one box worth of data, e.g. a list of assignments

Uses DrawingPanel

Version:
1.4
Author:
Fred Kral

Constructor Summary
HwBox(Person person, plainDate pDate, Course courseBox, java.awt.Graphics g, int x, int y, int dx, int dy)
           
 
Method Summary
 void clear()
           
 void draw()
           
 boolean inBox(int xIn, int yIn)
          inBox checks to see if given coordinates are inside this Box
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HwBox

public HwBox(Person person,
             plainDate pDate,
             Course courseBox,
             java.awt.Graphics g,
             int x,
             int y,
             int dx,
             int dy)
Method Detail

inBox

public boolean inBox(int xIn,
                     int yIn)
inBox checks to see if given coordinates are inside this Box


clear

public void clear()

draw

public void draw()