Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
MaiInterfaceAction Class Reference

#include <nsMaiInterfaceAction.h>

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

List of all members.

Public Member Functions

 MaiInterfaceAction (nsAccessibleWrap *)
virtual ~MaiInterfaceAction ()
virtual MaiInterfaceType GetType ()
virtual const GInterfaceInfo * GetInterfaceInfo ()
const char * GetName ()
void SetName (nsAString &aString)
const char * GetKeyBinding ()
void SetKeyBinding (nsAString &aString)
GType GetAtkType ()

Private Attributes

nsCString mName
nsCString mKeyBinding

Detailed Description

Definition at line 47 of file nsMaiInterfaceAction.h.


Constructor & Destructor Documentation

Definition at line 59 of file nsMaiInterfaceAction.cpp.

                                                                :
    MaiInterface(aAccWrap)
{
}

Definition at line 64 of file nsMaiInterfaceAction.cpp.

{
}

Member Function Documentation

GType MaiInterface::GetAtkType ( ) [inherited]

Definition at line 55 of file nsMaiInterface.cpp.

{
    MaiInterfaceType type = GetType();
    GType atkType;
    switch (type) {
    case MAI_INTERFACE_COMPONENT:
        atkType = ATK_TYPE_COMPONENT;
        break;
    case MAI_INTERFACE_ACTION:
        atkType = ATK_TYPE_ACTION;
        break;
    case MAI_INTERFACE_VALUE:
        atkType = ATK_TYPE_VALUE;
        break;
    case MAI_INTERFACE_EDITABLE_TEXT:
        atkType = ATK_TYPE_EDITABLE_TEXT;
        break;
    case MAI_INTERFACE_HYPERLINK:
        atkType = ATK_TYPE_HYPERLINK;
        break;
    case MAI_INTERFACE_HYPERTEXT:
        atkType = ATK_TYPE_HYPERTEXT;
        break;
    case MAI_INTERFACE_SELECTION:
        atkType = ATK_TYPE_SELECTION;
        break;
    case MAI_INTERFACE_TABLE:
        atkType = ATK_TYPE_TABLE;
        break;
    case MAI_INTERFACE_TEXT:
        atkType = ATK_TYPE_TEXT;
        break;
    default:
        atkType = G_TYPE_INVALID;
    }
    return atkType;
}

Here is the call graph for this function:

const GInterfaceInfo * MaiInterfaceAction::GetInterfaceInfo ( ) [virtual]

Implements MaiInterface.

Definition at line 75 of file nsMaiInterfaceAction.cpp.

{
    static const GInterfaceInfo atk_if_action_info = {
        (GInterfaceInitFunc)interfaceInitCB,
        (GInterfaceFinalizeFunc) NULL,
        NULL
    };
    return &atk_if_action_info;
}

Here is the call graph for this function:

Definition at line 61 of file nsMaiInterfaceAction.h.

                                {
        return mKeyBinding.get(); 
    }

Here is the call graph for this function:

Here is the caller graph for this function:

const char* MaiInterfaceAction::GetName ( ) [inline]

Definition at line 56 of file nsMaiInterfaceAction.h.

                          {
        return mName.get();
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Implements MaiInterface.

Definition at line 69 of file nsMaiInterfaceAction.cpp.

void MaiInterfaceAction::SetKeyBinding ( nsAString &  aString) [inline]

Definition at line 64 of file nsMaiInterfaceAction.h.

Here is the caller graph for this function:

void MaiInterfaceAction::SetName ( nsAString &  aString) [inline]

Definition at line 59 of file nsMaiInterfaceAction.h.

{ mName = NS_ConvertUCS2toUTF8(aString); }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 67 of file nsMaiInterfaceAction.h.

Definition at line 66 of file nsMaiInterfaceAction.h.


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