All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cs101.canvas.CS101StatusPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----cs101.canvas.CS101StatusPanel

public class CS101StatusPanel
extends Panel
A panel with three text fields and a 'quit' or 'reset' button.
The 'reset' button is used to reinitialize an Applet.


Constructor Index

 o CS101StatusPanel(Container)
/**
The size is determined by the layout

Method Index

 o action(Event, Object)
 o handleEvent(Event)
 o setDisplay(int, String)
 o setLabel(int, String)
 o setStatus(String)

Constructors

 o CS101StatusPanel
 public CS101StatusPanel(Container container)
/**
The size is determined by the layout

Parameters:
backgroundColor - Color of the background of the window
Returns:
none

Methods

 o setLabel
 public void setLabel(int which,
                      String text)
 o setDisplay
 public void setDisplay(int which,
                        String text)
 o handleEvent
 public boolean handleEvent(Event evt)
Overrides:
handleEvent in class Component
 o setStatus
 public void setStatus(String s)
 o action
 public boolean action(Event evt,
                       Object arg)
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index