API  0.9.10
CPMenuItem.j File Reference

Go to the source code of this file.

Macros

#define DEFAULT_VALUE(aKey, aDefaultValue)   [aCoder containsValueForKey:(aKey)] ? [aCoder decodeObjectForKey:(aKey)] : (aDefaultValue)
 
#define ENCODE_IFNOT(aKey, aValue, aDefaultValue)   if ((aValue) !== (aDefaultValue)) [aCoder encodeObject:(aValue) forKey:(aKey)];
 

Variables

var CPMenuItemActionKey = @"@"CPMenuItemActionKey"
 
var CPMenuItemAlternateImageKey = @"@"CPMenuItemAlternateImageKey"
 
var CPMenuItemImageKey = @"@"CPMenuItemImageKey"
 
var CPMenuItemIndentationLevelKey = @"@"CPMenuItemIndentationLevelKey"
 
var CPMenuItemIsEnabledKey = @"@"CPMenuItemIsEnabledKey"
 
var CPMenuItemIsHiddenKey = @"@"CPMenuItemIsHiddenKey"
 
var CPMenuItemIsSeparatorKey = @"@"CPMenuItemIsSeparatorKey"
 
var CPMenuItemKeyEquivalentKey = @"@"CPMenuItemKeyEquivalentKey"
 
var CPMenuItemKeyEquivalentModifierMaskKey = @"@"CPMenuItemKeyEquivalentModifierMaskKey"
 
var CPMenuItemMenuKey = @"@"CPMenuItemMenuKey"
 
var CPMenuItemRepresentedObjectKey = @"@"CPMenuItemRepresentedObjectKey"
 
var CPMenuItemStateKey = @"@"CPMenuItemStateKey"
 
global CPApp var CPMenuItemStringRepresentationDictionary
 
var CPMenuItemSubmenuKey = @"@"CPMenuItemSubmenuKey"
 
var CPMenuItemTagKey = @"@"CPMenuItemTagKey"
 
var CPMenuItemTargetKey = @"@"CPMenuItemTargetKey"
 
var CPMenuItemTitleKey = @"@"CPMenuItemTitleKey"
 
var CPMenuItemViewKey = @"@"CPMenuItemViewKey"
 

Macro Definition Documentation

◆ DEFAULT_VALUE

#define DEFAULT_VALUE (   aKey,
  aDefaultValue 
)    [aCoder containsValueForKey:(aKey)] ? [aCoder decodeObjectForKey:(aKey)] : (aDefaultValue)

Definition at line 917 of file CPMenuItem.j.

◆ ENCODE_IFNOT

#define ENCODE_IFNOT (   aKey,
  aValue,
  aDefaultValue 
)    if ((aValue) !== (aDefaultValue)) [aCoder encodeObject:(aValue) forKey:(aKey)];

Definition at line 918 of file CPMenuItem.j.

Variable Documentation

◆ CPMenuItemActionKey

var CPMenuItemActionKey = @"@"CPMenuItemActionKey"

Definition at line 895 of file CPMenuItem.j.

◆ CPMenuItemAlternateImageKey

var CPMenuItemAlternateImageKey = @"@"CPMenuItemAlternateImageKey"

Definition at line 904 of file CPMenuItem.j.

◆ CPMenuItemImageKey

var CPMenuItemImageKey = @"@"CPMenuItemImageKey"

Definition at line 903 of file CPMenuItem.j.

◆ CPMenuItemIndentationLevelKey

var CPMenuItemIndentationLevelKey = @"@"CPMenuItemIndentationLevelKey"

Definition at line 912 of file CPMenuItem.j.

◆ CPMenuItemIsEnabledKey

var CPMenuItemIsEnabledKey = @"@"CPMenuItemIsEnabledKey"

Definition at line 897 of file CPMenuItem.j.

◆ CPMenuItemIsHiddenKey

var CPMenuItemIsHiddenKey = @"@"CPMenuItemIsHiddenKey"

Definition at line 898 of file CPMenuItem.j.

◆ CPMenuItemIsSeparatorKey

var CPMenuItemIsSeparatorKey = @"@"CPMenuItemIsSeparatorKey"

Definition at line 891 of file CPMenuItem.j.

◆ CPMenuItemKeyEquivalentKey

var CPMenuItemKeyEquivalentKey = @"@"CPMenuItemKeyEquivalentKey"

Definition at line 909 of file CPMenuItem.j.

◆ CPMenuItemKeyEquivalentModifierMaskKey

var CPMenuItemKeyEquivalentModifierMaskKey = @"@"CPMenuItemKeyEquivalentModifierMaskKey"

Definition at line 910 of file CPMenuItem.j.

◆ CPMenuItemMenuKey

var CPMenuItemMenuKey = @"@"CPMenuItemMenuKey"

Definition at line 907 of file CPMenuItem.j.

◆ CPMenuItemRepresentedObjectKey

var CPMenuItemRepresentedObjectKey = @"@"CPMenuItemRepresentedObjectKey"

Definition at line 914 of file CPMenuItem.j.

◆ CPMenuItemStateKey

var CPMenuItemStateKey = @"@"CPMenuItemStateKey"

Definition at line 901 of file CPMenuItem.j.

◆ CPMenuItemStringRepresentationDictionary

global CPApp var CPMenuItemStringRepresentationDictionary
Initial value:
= @{
CPTabCharacter: "\u21E5",
CPBackTabCharacter: "\u21E4",
CPSpaceFunctionKey: "\u2423",
CPDeleteCharacter: "\u2326",
CPHomeFunctionKey: "\u21F1",
CPEndFunctionKey: "\u21F2",
}
CPRightArrowFunctionKey
CPHomeFunctionKey
CPDeleteFunctionKey
CPPageDownFunctionKey
CPTabCharacter
Definition: CPText.j:48
CPEndFunctionKey
CPPageUpFunctionKey
CPEscapeFunctionKey
CPBackTabCharacter
Definition: CPText.j:52
CPLeftArrowFunctionKey
CPUpArrowFunctionKey
CPClearDisplayFunctionKey
CPSpaceFunctionKey
CPDownArrowFunctionKey
CPCarriageReturnCharacter
Definition: CPText.j:51
CPDeleteCharacter
Definition: CPText.j:53
CPBackspaceCharacter
Definition: CPText.j:47

Definition at line 28 of file CPMenuItem.j.

◆ CPMenuItemSubmenuKey

var CPMenuItemSubmenuKey = @"@"CPMenuItemSubmenuKey"

Definition at line 906 of file CPMenuItem.j.

◆ CPMenuItemTagKey

var CPMenuItemTagKey = @"@"CPMenuItemTagKey"

Definition at line 900 of file CPMenuItem.j.

◆ CPMenuItemTargetKey

var CPMenuItemTargetKey = @"@"CPMenuItemTargetKey"

Definition at line 894 of file CPMenuItem.j.

◆ CPMenuItemTitleKey

var CPMenuItemTitleKey = @"@"CPMenuItemTitleKey"

Definition at line 893 of file CPMenuItem.j.

◆ CPMenuItemViewKey

var CPMenuItemViewKey = @"@"CPMenuItemViewKey"

Definition at line 915 of file CPMenuItem.j.