Class ep.cg.widgets.ActionPanel
All Packages Class Hierarchy This Package Previous Next Index
Class ep.cg.widgets.ActionPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----ep.cg.widgets.ActionPanel
- public class ActionPanel
- extends Canvas
A widget which uses preset images to display a choice
of actions,and which allows to select an action
by clicking on it.
-
ActionPanel(Image, Image, Image, Image)
-
-
addListener(ActionListener)
-
-
minimumSize()
-
-
mouseDown(Event, int, int)
-
-
mouseDrag(Event, int, int)
-
-
mouseExit(Event, int, int)
-
-
mouseUp(Event, int, int)
-
-
notifyListeners(int)
-
-
paint(Graphics)
-
-
preferredSize()
-
-
removeListener(ActionListener)
-
-
update(Graphics)
-
ActionPanel
public ActionPanel(Image nrm,
Image intr,
Image clr,
Image qit)
paint
public void paint(Graphics g)
- Overrides:
- paint in class Canvas
update
public void update(Graphics g)
- Overrides:
- update in class Component
minimumSize
public Dimension minimumSize()
- Overrides:
- minimumSize in class Component
preferredSize
public Dimension preferredSize()
- Overrides:
- preferredSize in class Component
mouseDown
public boolean mouseDown(Event evt,
int x,
int y)
- Overrides:
- mouseDown in class Component
mouseDrag
public boolean mouseDrag(Event evt,
int x,
int y)
- Overrides:
- mouseDrag in class Component
mouseUp
public boolean mouseUp(Event evt,
int x,
int y)
- Overrides:
- mouseUp in class Component
mouseExit
public boolean mouseExit(Event evt,
int x,
int y)
- Overrides:
- mouseExit in class Component
addListener
public void addListener(ActionListener l)
removeListener
public void removeListener(ActionListener l)
notifyListeners
public void notifyListeners(int act)
All Packages Class Hierarchy This Package Previous Next Index