|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JDasherHost
Capabilities required of anything which contains a Dasher control. This provides decoupling between the Applet and the core, so that Dasher can be integrated into any Java app.
| Method Summary | |
|---|---|
void |
handleEvent(CEvent event)
Passes an event to the host; the host need not do anything if it doesn't want to. |
void |
Redraw()
Should trigger a redraw of Dasher by any means necessary. |
void |
regMouseMotionListener(java.awt.event.MouseMotionListener e)
Register ourselves to receive mouse motion events from the host. |
| Method Detail |
|---|
void Redraw()
This may mean simply calling Dasher.Draw if no user interface setup is necessary.
Under Swing this typically means starting a top-level repaint.
void regMouseMotionListener(java.awt.event.MouseMotionListener e)
The host should either register the submitted object as a MouseMotionListener or supply its own events by some other means.
e - Listener to addvoid handleEvent(CEvent event)
At present, all events are passed up.
event - Event being passed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||