Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions
nsIEventStateManager Class Reference

#include <nsIEventStateManager.h>

Inheritance diagram for nsIEventStateManager:
Inheritance graph
[legend]
Collaboration diagram for nsIEventStateManager:
Collaboration graph
[legend]

List of all members.

Public Types

enum  EFocusedWithType {
  eEventFocusedByUnknown, eEventFocusedByMouse, eEventFocusedByKey, eEventFocusedByContextMenu,
  eEventFocusedByApplication
}

Public Member Functions

NS_IMETHOD Init ()=0
NS_IMETHOD PreHandleEvent (nsPresContext *aPresContext, nsEvent *aEvent, nsIFrame *aTargetFrame, nsEventStatus *aStatus, nsIView *aView)=0
NS_IMETHOD PostHandleEvent (nsPresContext *aPresContext, nsEvent *aEvent, nsIFrame *aTargetFrame, nsEventStatus *aStatus, nsIView *aView)=0
NS_IMETHOD SetPresContext (nsPresContext *aPresContext)=0
NS_IMETHOD ClearFrameRefs (nsIFrame *aFrame)=0
NS_IMETHOD GetEventTarget (nsIFrame **aFrame)=0
NS_IMETHOD GetEventTargetContent (nsEvent *aEvent, nsIContent **aContent)=0
NS_IMETHOD GetEventRelatedContent (nsIContent **aContent)=0
NS_IMETHOD GetContentState (nsIContent *aContent, PRInt32 &aState)=0
NS_IMETHOD SetContentState (nsIContent *aContent, PRInt32 aState)=0
NS_IMETHOD GetFocusedContent (nsIContent **aContent)=0
NS_IMETHOD SetFocusedContent (nsIContent *aContent)=0
NS_IMETHOD GetLastFocusedContent (nsIContent **aContent)=0
NS_IMETHOD GetFocusedFrame (nsIFrame **aFrame)=0
NS_IMETHOD ContentRemoved (nsIContent *aContent)=0
NS_IMETHOD EventStatusOK (nsGUIEvent *aEvent, PRBool *aOK)=0
virtual PRBool GetBrowseWithCaret ()=0
NS_IMETHOD MoveFocusToCaret (PRBool aCanFocusDoc, PRBool *aIsSelectionWithFocus)=0
NS_IMETHOD MoveCaretToFocus ()=0
NS_IMETHOD ChangeFocusWith (nsIContent *aFocusContent, EFocusedWithType aFocusedWith)=0
NS_IMETHOD ConsumeFocusEvents (PRBool aDoConsume)=0
NS_IMETHOD RegisterAccessKey (nsIContent *aContent, PRUint32 aKey)=0
NS_IMETHOD UnregisterAccessKey (nsIContent *aContent, PRUint32 aKey)=0
NS_IMETHOD SetCursor (PRInt32 aCursor, imgIContainer *aContainer, PRBool aHaveHotspot, float aHotspotX, float aHotspotY, nsIWidget *aWidget, PRBool aLockCursor)=0
NS_IMETHOD DispatchNewEvent (nsISupports *aTarget, nsIDOMEvent *aEvent, PRBool *aDefaultActionEnabled)=0
NS_IMETHOD ShiftFocus (PRBool aDirection, nsIContent *aStart)=0

Detailed Description

Definition at line 64 of file nsIEventStateManager.h.


Member Enumeration Documentation

Enumerator:
eEventFocusedByUnknown 
eEventFocusedByMouse 
eEventFocusedByKey 
eEventFocusedByContextMenu 
eEventFocusedByApplication 

Definition at line 67 of file nsIEventStateManager.h.

                        {
    eEventFocusedByUnknown,     // focus gained via unknown method
    eEventFocusedByMouse,       // focus gained via mouse
    eEventFocusedByKey,         // focus gained via key press (like tab)
    eEventFocusedByContextMenu, // focus gained via context menu
    eEventFocusedByApplication  // focus gained via Application (like script)
  };

Member Function Documentation

NS_IMETHOD nsIEventStateManager::ChangeFocusWith ( nsIContent aFocusContent,
EFocusedWithType  aFocusedWith 
) [pure virtual]

Implemented in nsEventStateManager.

Implemented in nsEventStateManager.

Here is the caller graph for this function:

Implemented in nsEventStateManager.

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::DispatchNewEvent ( nsISupports *  aTarget,
nsIDOMEvent aEvent,
PRBool aDefaultActionEnabled 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::EventStatusOK ( nsGUIEvent aEvent,
PRBool aOK 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:

Implemented in nsEventStateManager.

NS_IMETHOD nsIEventStateManager::GetContentState ( nsIContent aContent,
PRInt32 aState 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:

Implemented in nsEventStateManager.

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::GetEventTargetContent ( nsEvent aEvent,
nsIContent **  aContent 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:

Implemented in nsEventStateManager.

Here is the caller graph for this function:

Implemented in nsEventStateManager.

Here is the caller graph for this function:

Implemented in nsEventStateManager.

Here is the caller graph for this function:

Implemented in nsEventStateManager.

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::MoveFocusToCaret ( PRBool  aCanFocusDoc,
PRBool aIsSelectionWithFocus 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::PostHandleEvent ( nsPresContext aPresContext,
nsEvent aEvent,
nsIFrame aTargetFrame,
nsEventStatus aStatus,
nsIView aView 
) [pure virtual]

Implemented in nsEventStateManager.

NS_IMETHOD nsIEventStateManager::PreHandleEvent ( nsPresContext aPresContext,
nsEvent aEvent,
nsIFrame aTargetFrame,
nsEventStatus aStatus,
nsIView aView 
) [pure virtual]

Implemented in nsEventStateManager.

NS_IMETHOD nsIEventStateManager::RegisterAccessKey ( nsIContent aContent,
PRUint32  aKey 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::SetContentState ( nsIContent aContent,
PRInt32  aState 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::SetCursor ( PRInt32  aCursor,
imgIContainer aContainer,
PRBool  aHaveHotspot,
float  aHotspotX,
float  aHotspotY,
nsIWidget aWidget,
PRBool  aLockCursor 
) [pure virtual]

Implemented in nsEventStateManager.

Implemented in nsEventStateManager.

Here is the caller graph for this function:

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::ShiftFocus ( PRBool  aDirection,
nsIContent aStart 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:

NS_IMETHOD nsIEventStateManager::UnregisterAccessKey ( nsIContent aContent,
PRUint32  aKey 
) [pure virtual]

Implemented in nsEventStateManager.

Here is the caller graph for this function:


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