org.gnu.gtk.event
Interface MouseListener


Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. Signal handling an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use signals. In particular, Listener interfaces and Event classes have been collapsed to a single interface in the new design.

public interface MouseListener

See Also:
MouseEvent

Method Summary
 boolean mouseEvent(MouseEvent event)
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the project API is an algorithmic mapping of the underlying native libraries.
 

Method Detail

mouseEvent

boolean mouseEvent(MouseEvent event)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the project API is an algorithmic mapping of the underlying native libraries.

A mouse event has been called. Return true if you have handled the event and so don't want it passed on to other listeners. Since this is usually the first callback to be received, returning true will stop common actions, such as a toggle button being toggled or an item being selected in a tree.