Each method takes both a listener and an overlay. The overlay is needed so that we can determine whether to send the mouse events to that overlay or not based on its bounds and the position of the mouse.
| Method Detail |
public void requestFocus(java.lang.Object key)
key - The key of the object requesting focus now
public void addMouseListener(java.awt.event.MouseListener l,
org.j3d.geom.overlay.Overlay ovl)
l - The listener to manage events forovl - The overlay to base the mouse bounds handling on
public void removeMouseListener(java.awt.event.MouseListener l,
org.j3d.geom.overlay.Overlay ovl)
l - The listener to manage events forovl - The overlay to base the mouse bounds handling on
public void addMouseMotionListener(java.awt.event.MouseMotionListener l,
org.j3d.geom.overlay.Overlay ovl)
l - The listener to manage events forovl - The overlay to base the mouse bounds handling on
public void removeMouseMotionListener(java.awt.event.MouseMotionListener l,
org.j3d.geom.overlay.Overlay ovl)
l - The listener to manage events forovl - The overlay to base the mouse bounds handling on
public void addKeyListener(java.awt.event.KeyListener l,
java.lang.Object key)
key - A key object used to determine focus requestsl - The listener to manage events forovl - The overlay to base the mouse bounds handling on
public void removeKeyListener(java.awt.event.KeyListener l,
java.lang.Object key)
key - A key object used to determine focus requestsl - The listener to manage events forovl - The overlay to base the mouse bounds handling on