| java.lang.Object java.awt.LightweightDispatcher
LightweightDispatcher | class LightweightDispatcher implements java.io.Serializable,AWTEventListener(Code) | | Class to manage the dispatching of events to the lightweight
components contained by a native container.
author: Timothy Prinzing |
LightweightDispatcher | LightweightDispatcher(Container nativeContainer)(Code) | | |
dispatchEvent | boolean dispatchEvent(AWTEvent e)(Code) | | Dispatches an event to a lightweight sub-component if necessary, and
returns whether or not the event was forwarded to a lightweight
sub-component.
Parameters: e - the event |
enableEvents | void enableEvents(long events)(Code) | | Enables events to lightweight components.
|
getCursorOn | Component getCursorOn()(Code) | | get the lightweight component mouse cursor is on
null means the nativeContainer
|
retargetMouseEvent | void retargetMouseEvent(Component target, int id, MouseEvent e)(Code) | | Sends a mouse event to the current mouse event recipient using
the given event (sent to the windowed host) as a srcEvent. If
the mouse event target is still in the component tree, the
coordinates of the event are translated to those of the target.
If the target has been removed, we don't bother to send the
message.
|
updateCursor | void updateCursor(Component comp)(Code) | | Set the cursor for a lightweight component
Enforce that null cursor means inheriting from parent
|
|
|