Public Member Functions | Public Attributes

extIEventItem Interface Reference

Interface holds information about an event. More...

import "extIApplication.idl";

Collaboration diagram for extIEventItem:

List of all members.

Public Member Functions

NS_SCRIPTABLE NS_IMETHOD GetType (nsAString &aType)=0
 The name of the event.
NS_SCRIPTABLE NS_IMETHOD GetData (nsIVariant **aData)=0
 Can hold extra details and data associated with the event.
NS_SCRIPTABLE NS_IMETHOD PreventDefault (void)=0
 Cancels the event if it is cancelable.
void preventDefault ()
 Cancels the event if it is cancelable.

Public Attributes

readonly attribute AString type
 The name of the event.
readonly attribute nsIVariant data
 Can hold extra details and data associated with the event.

Detailed Description

Interface holds information about an event.


Member Function Documentation

NS_SCRIPTABLE NS_IMETHOD extIEventItem::GetData ( nsIVariant **  aData  )  [pure virtual]

Can hold extra details and data associated with the event.

This is optional and event specific. If the event does not send extra details, this is null.

NS_SCRIPTABLE NS_IMETHOD extIEventItem::GetType ( nsAString aType  )  [pure virtual]

The name of the event.

NS_SCRIPTABLE NS_IMETHOD extIEventItem::PreventDefault ( void   )  [pure virtual]

Cancels the event if it is cancelable.

void extIEventItem::preventDefault (  ) 

Cancels the event if it is cancelable.


Member Data Documentation

readonly attribute nsIVariant extIEventItem::data

Can hold extra details and data associated with the event.

This is optional and event specific. If the event does not send extra details, this is null.

readonly attribute AString extIEventItem::type

The name of the event.


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