Class wb.WBStatePanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class wb.WBStatePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----wb.WBStatePanel

public class WBStatePanel
extends Panel
implements GTypes
Panel with buttons which switch the state of Objects created For now standard buttons will be used. Buttons with images will have to be used.

Constructor Index

 o WBStatePanel(WBFrame, WBCanvas)

Method Index

 o action(Event, Object)
 o inside(int, int)
Needed to fix a bug in Java
 o mouseEnter(Event, int, int)

Constructors

 o WBStatePanel
  public WBStatePanel(WBFrame frm,
                      WBCanvas cvs)

Methods

 o action
  public boolean action(Event e,
                        Object arg)
Overrides:
action in class Component
 o mouseEnter
  public boolean mouseEnter(Event e,
                            int x,
                            int y)
Overrides:
mouseEnter in class Component
 o inside
  public boolean inside(int x,
                        int y)
Needed to fix a bug in Java
Parameters:
x - x-coordinate of the point
y - y-coordinate of the point
Returns:
true iff (x,y) is inside this
Overrides:
inside in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index