Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Properties | Events | Private Attributes
Silverstone.Manticore.Toolkit.ManticoreMenuItem Class Reference
Collaboration diagram for Silverstone.Manticore.Toolkit.ManticoreMenuItem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ManticoreMenuItem (String aLabel, EventHandler aHandler, String aCommand, Object aData)

Static Public Member Functions

static String GenerateAccessKeyString (String aLabel, String aAccessKey)

Properties

String Command [get]
 The Command String associated with this item. Used with |IController|.
Object Data [get]

Events

String mCommand

Private Attributes

Object mData
 Any data associated with this item. Useful to hold DataStore ID references.

Detailed Description

Definition at line 164 of file toolkit.menus.cs.


Constructor & Destructor Documentation

Definition at line 199 of file toolkit.menus.cs.

                                                                                                  : base(aLabel, aHandler)
    {
      mCommand = aCommand;
      mData = aData;
    }

Member Function Documentation

Definition at line 190 of file toolkit.menus.cs.

    {
      int idx = aLabel.ToLower().IndexOf(aAccessKey.ToLower());
      if (idx != -1)
        return aLabel.Insert(idx, "&");
      else 
        return aLabel + " (&" + aAccessKey.ToUpper() + ")";
    }

Here is the caller graph for this function:


Member Data Documentation

Any data associated with this item. Useful to hold DataStore ID references.

Definition at line 181 of file toolkit.menus.cs.


Property Documentation

The Command String associated with this item. Used with |IController|.

Definition at line 171 of file toolkit.menus.cs.

Definition at line 183 of file toolkit.menus.cs.


Event Documentation

Definition at line 166 of file toolkit.menus.cs.


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