Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# Ogre::MouseListener Class Reference

Specialised EventListener for discrete mouse events. More...

`#include <OgreEventListeners.h>`

Inheritance diagram for Ogre::MouseListener:

[legend]
List of all members.

## Public Methods

virtual void | mouseClicked (MouseEvent *e)=0
| Invoked when the mouse has been clicked on a component.
virtual void | mouseEntered (MouseEvent *e)=0
| Invoked when the mouse enters a component.
virtual void | mouseExited (MouseEvent *e)=0
| Invoked when the mouse exits a component.
virtual void | mousePressed (MouseEvent *e)=0
| Invoked when a mouse button has been pressed on a component.
virtual void | mouseReleased (MouseEvent *e)=0
| Invoked when a mouse button has been released on a component.
virtual void | mouseDragEntered (MouseEvent *e)
virtual void | mouseDragExited (MouseEvent *e)
virtual void | mouseDragDropped (MouseEvent *e)
virtual bool | isMulticaster () const
| Returns whether or not the listener is a multicaster.

## Detailed Description

Specialised EventListener for discrete mouse events.

Remarks:
  This excludes mouse motion (this is not a discrete event), see MouseMotionListener for that.

Definition at line 75 of file OgreEventListeners.h.

## Member Function Documentation

virtual bool Ogre::EventListener::isMulticaster | ( |  | ) | const`[virtual, inherited]`

| Returns whether or not the listener is a multicaster. Reimplemented in Ogre::EventMulticaster. Definition at line 65 of file OgreEventListeners.h. Referenced by Ogre::EventMulticaster::convertListenerToMulti(), and Ogre::EventMulticaster::removeInternal().

virtual void Ogre::MouseListener::mouseClicked | ( | MouseEvent * | e | ) | `[pure virtual]`

| Invoked when the mouse has been clicked on a component. Implemented in Ogre::EventMulticaster, Ogre::GuiPressable, Ogre::ListGuiElement, and Ogre::ScrollBarGuiElement. Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mouseDragDropped | ( | MouseEvent * | e | ) | `[virtual]`

| Definition at line 104 of file OgreEventListeners.h. Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mouseDragEntered | ( | MouseEvent * | e | ) | `[virtual]`

| Definition at line 102 of file OgreEventListeners.h. Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mouseDragExited | ( | MouseEvent * | e | ) | `[virtual]`

| Definition at line 103 of file OgreEventListeners.h. Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mouseEntered | ( | MouseEvent * | e | ) | `[pure virtual]`

| Invoked when the mouse enters a component. Implemented in Ogre::EventMulticaster, Ogre::GuiPressable, Ogre::ListGuiElement, and Ogre::ScrollBarGuiElement. Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mouseExited | ( | MouseEvent * | e | ) | `[pure virtual]`

| Invoked when the mouse exits a component. Implemented in Ogre::EventMulticaster, Ogre::GuiPressable, Ogre::ListGuiElement, and Ogre::ScrollBarGuiElement. Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mousePressed | ( | MouseEvent * | e | ) | `[pure virtual]`

| Invoked when a mouse button has been pressed on a component. Implemented in Ogre::EventMulticaster, Ogre::GuiPressable, Ogre::ListGuiElement, and Ogre::ScrollBarGuiElement. Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mouseReleased | ( | MouseEvent * | e | ) | `[pure virtual]`

| Invoked when a mouse button has been released on a component. Implemented in Ogre::EventMulticaster, Ogre::GuiPressable, Ogre::ListGuiElement, and Ogre::ScrollBarGuiElement. Referenced by Ogre::MouseTarget::processMouseEvent().

The documentation for this class was generated from the following file:

- OgreEventListeners.h

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:16 2004