Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsFileControlFrame::MouseListener Class Reference

#include <nsFileControlFrame.h>

Inheritance diagram for nsFileControlFrame::MouseListener:
Inheritance graph
[legend]
Collaboration diagram for nsFileControlFrame::MouseListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS MouseListener (nsFileControlFrame *aFrame)
void ForgetFrame ()
NS_IMETHOD MouseDown (nsIDOMEvent *aMouseEvent)
 Processes a mouse down event.
NS_IMETHOD MouseUp (nsIDOMEvent *aMouseEvent)
 Processes a mouse up event.
NS_IMETHOD MouseClick (nsIDOMEvent *aMouseEvent)
 Processes a mouse click event.
NS_IMETHOD MouseDblClick (nsIDOMEvent *aMouseEvent)
 Processes a mouse click event.
NS_IMETHOD MouseOver (nsIDOMEvent *aMouseEvent)
 Processes a mouse enter event.
NS_IMETHOD MouseOut (nsIDOMEvent *aMouseEvent)
 Processes a mouse leave event.
NS_IMETHOD HandleEvent (nsIDOMEvent *aEvent)
void handleEvent (in nsIDOMEvent event)
 This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Private Attributes

nsFileControlFramemFrame

Detailed Description

Definition at line 124 of file nsFileControlFrame.h.


Constructor & Destructor Documentation

Definition at line 128 of file nsFileControlFrame.h.

                                              :
      mFrame(aFrame)
    {}

Member Function Documentation

Definition at line 132 of file nsFileControlFrame.h.

                       {
      mFrame = nsnull;
    }

This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Parameters:
evtThe Event contains contextual information about the event. It also contains the stopPropagation and preventDefault methods which are used in determining the event's flow and default action.

Definition at line 144 of file nsFileControlFrame.h.

{ return NS_OK; }

Processes a mouse click event.

Parameters:
aMouseEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implements nsIDOMMouseListener.

Definition at line 669 of file nsFileControlFrame.cpp.

{
  if (mFrame) {
    return mFrame->MouseClick(aMouseEvent);
  }

  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Processes a mouse click event.

Parameters:
aMouseEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implements nsIDOMMouseListener.

Definition at line 141 of file nsFileControlFrame.h.

{ return NS_OK; }

Processes a mouse down event.

Parameters:
aMouseEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implements nsIDOMMouseListener.

Definition at line 138 of file nsFileControlFrame.h.

{ return NS_OK; }

Processes a mouse leave event.

Parameters:
aMouseEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implements nsIDOMMouseListener.

Definition at line 143 of file nsFileControlFrame.h.

{ return NS_OK; }

Processes a mouse enter event.

Parameters:
aMouseEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implements nsIDOMMouseListener.

Definition at line 142 of file nsFileControlFrame.h.

{ return NS_OK; }

Processes a mouse up event.

Parameters:
aMouseEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implements nsIDOMMouseListener.

Definition at line 139 of file nsFileControlFrame.h.

{ return NS_OK; }

Member Data Documentation

Definition at line 147 of file nsFileControlFrame.h.


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