gnu.awt

Class LightweightRedirector


public class LightweightRedirector
extends Object

Encapsulates the logic required to dispatch events to the correct component in a component tree that may contain lightweight components. Toolkits typically only identify heavyweight components as the source of events. This class redirects the events to the appropriate lightweight children of the heavyweight component.

Method Summary

AWTEvent
redirect(AWTEvent event)
Modifies or replaces the given event with an event that has been properly redirected.

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

redirect

public AWTEvent redirect(AWTEvent event)
Modifies or replaces the given event with an event that has been properly redirected. State of button presses are kept so that button releases can be redirected to the same component as the button press. It is required that all events are sent through this method in chronological order.

Copyright (C) 2000 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details.