|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.indiana.util.swing.EventForwarder
public class EventForwarder
Class used to forward GUI events to given Swing components. This is mostly required when an event is produced, but it cannot be received automatically by the component. This is the case when the component is embedded into a cell of a JList.
Constructor Summary | |
---|---|
EventForwarder()
|
Method Summary | |
---|---|
static void |
forwardMouseEvent(java.awt.event.MouseEvent evt,
java.awt.Component topMostComponent,
java.awt.Rectangle componentBounds)
Forwards the mouse event Evt to the atom component placed under Evt coordinates, if the component implements a MouseListener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventForwarder()
Method Detail |
---|
public static void forwardMouseEvent(java.awt.event.MouseEvent evt, java.awt.Component topMostComponent, java.awt.Rectangle componentBounds)
evt
- The mouse event originated on topMostComponenttopMostComponent
- The container of the target component.componentBounds
- Bounds of the component.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |