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.
-
WBStatePanel(WBFrame, WBCanvas)
-
-
action(Event, Object)
-
-
inside(int, int)
- Needed to fix a bug in Java
-
mouseEnter(Event, int, int)
-
WBStatePanel
public WBStatePanel(WBFrame frm,
WBCanvas cvs)
action
public boolean action(Event e,
Object arg)
- Overrides:
- action in class Component
mouseEnter
public boolean mouseEnter(Event e,
int x,
int y)
- Overrides:
- mouseEnter in class Component
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