|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.chemistry.gui.extended.jviewer.EvntHandler
public class EvntHandler
An implementation of a JViewer's event handler interface which allows the contents of one or more JViewers to be manipulated in response to mouse movements.
IEvntHandler| Field Summary | |
|---|---|
protected int |
prevX
DOCUMENT ME! |
protected int |
prevY
DOCUMENT ME! |
protected java.util.Vector |
viewers
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
EvntHandler()
Default constructor. |
|
EvntHandler(JViewer v)
Convenience constructor. |
|
| Method Summary | |
|---|---|
void |
addJViewer(JViewer v)
Add another JViewer to the list of JViewers manipulated by this event handler. |
boolean |
handleEvnt(java.awt.Event e)
The event handler for all known JViewers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Vector viewers
protected int prevX
protected int prevY
| Constructor Detail |
|---|
public EvntHandler()
public EvntHandler(JViewer v)
v - a JViewer whose contents will be manipulated by this event
handler.| Method Detail |
|---|
public void addJViewer(JViewer v)
v - a JViewer whose contents will be manipulated by this event
handler.public boolean handleEvnt(java.awt.Event e)
handleEvnt in interface IEvntHandlere - a mouse event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||