API  1.0.0
CPButton.j File Reference

Go to the source code of this file.

Typedefs

typedef CPButtonType CPMomentaryLightButton = 0
 
typedef CPBezelStyle CPRoundedBezelStyle = 1
 

Variables

 CPBackgroundButtonMask = 8
 
var CPButtonAllowsMixedStateKey = @"@"CPButtonAllowsMixedStateKey"
 
var CPButtonAlternateImageKey = @"@"CPButtonAlternateImageKey"
 
var CPButtonAlternateTitleKey = @"@"CPButtonAlternateTitleKey"
 
var CPButtonBezelStyleStateMap
 
var CPButtonHighlightsByKey = @"@"CPButtonHighlightsByKey"
 
var CPButtonImageDimsWhenDisabledKey = @"@"CPButtonImageDimsWhenDisabledKey"
 
var CPButtonImageKey = @"@"CPButtonImageKey"
 
var CPButtonImagePositionKey = @"@"CPButtonImagePositionKey"
 
var CPButtonIsBorderedKey = @"@"CPButtonIsBorderedKey"
 
var CPButtonKeyEquivalentKey = @"@"CPButtonKeyEquivalentKey"
 
var CPButtonKeyEquivalentMaskKey = @"@"CPButtonKeyEquivalentMaskKey"
 
var CPButtonPeriodicDelayKey = @"@"CPButtonPeriodicDelayKey"
 
var CPButtonPeriodicIntervalKey = @"@"CPButtonPeriodicIntervalKey"
 
var CPButtonShowsStateByKey = @"@"CPButtonShowsStateByKey"
 
 CPButtonStateBezelStyleRounded = CPThemeState("rounded")
 
 CPButtonStateBezelStyleRoundRect = CPThemeState("roundRect")
 
 CPButtonStateMixed = CPThemeState("mixed")
 
var CPButtonTitleKey = @"@"CPButtonTitleKey"
 
 CPChangeBackgroundCellMask = CPBackgroundButtonMask
 
 CPChangeGrayCellMask = CPGrayButtonMask
 
 CPCircularBezelStyle = 7
 
 CPContentsButtonMask = 1
 
 CPContentsCellMask = CPContentsButtonMask
 
 CPDisclosureBezelStyle = 5
 
 CPGrayButtonMask = 4
 
 CPHelpButtonBezelStyle = 9
 
 CPHUDBezelStyle = -1
 
 CPMomentaryChangeButton = 5
 
 CPMomentaryLight = 7
 
 CPMomentaryPushButton = 0
 
 CPMomentaryPushInButton = 7
 
 CPNoButtonMask = 0
 
 CPNoCellMask = CPNoButtonMask
 
 CPOnOffButton = 6
 
 CPPushInButtonMask = 2
 
 CPPushInCellMask = CPPushInButtonMask
 
 CPPushOnPushOffButton = 1
 
 CPRadioButton = 4
 
 CPRecessedBezelStyle = 13
 
 CPRegularSquareBezelStyle = 2
 
 CPRoundedDisclosureBezelStyle = 14
 
 CPRoundRectBezelStyle = 12
 
 CPShadowlessSquareBezelStyle = 6
 
 CPSmallSquareBezelStyle = 10
 
 CPSwitchButton = 3
 
 CPTexturedRoundedBezelStyle = 11
 
 CPTexturedSquareBezelStyle = 8
 
 CPThickerSquareBezelStyle = 4
 
 CPThickSquareBezelStyle = 3
 
 CPToggleButton = 2
 

Typedef Documentation

◆ CPMomentaryLightButton

typedef CPButtonType CPMomentaryLightButton = 0

Definition at line 46 of file CPButton.j.

◆ CPRoundedBezelStyle

typedef CPBezelStyle CPRoundedBezelStyle = 1

Definition at line 27 of file CPButton.j.

Variable Documentation

◆ CPBackgroundButtonMask

CPBackgroundButtonMask = 8

Definition at line 61 of file CPButton.j.

◆ CPButtonAllowsMixedStateKey

var CPButtonAllowsMixedStateKey = @"@"CPButtonAllowsMixedStateKey"

Definition at line 930 of file CPButton.j.

◆ CPButtonAlternateImageKey

var CPButtonAlternateImageKey = @"@"CPButtonAlternateImageKey"

Definition at line 926 of file CPButton.j.

◆ CPButtonAlternateTitleKey

var CPButtonAlternateTitleKey = @"@"CPButtonAlternateTitleKey"

Definition at line 928 of file CPButton.j.

◆ CPButtonBezelStyleStateMap

var CPButtonBezelStyleStateMap
Initial value:
= @{
}
CPBezelStyle CPRoundedBezelStyle
Definition: CPButton.j:27
CPButtonStateBezelStyleRounded
Definition: CPButton.j:70
CPRoundRectBezelStyle
Definition: CPButton.j:38
CPButtonStateBezelStyleRoundRect
Definition: CPButton.j:71

Definition at line 74 of file CPButton.j.

◆ CPButtonHighlightsByKey

var CPButtonHighlightsByKey = @"@"CPButtonHighlightsByKey"

Definition at line 937 of file CPButton.j.

◆ CPButtonImageDimsWhenDisabledKey

var CPButtonImageDimsWhenDisabledKey = @"@"CPButtonImageDimsWhenDisabledKey"

Definition at line 931 of file CPButton.j.

◆ CPButtonImageKey

var CPButtonImageKey = @"@"CPButtonImageKey"

Definition at line 925 of file CPButton.j.

◆ CPButtonImagePositionKey

var CPButtonImagePositionKey = @"@"CPButtonImagePositionKey"

Definition at line 932 of file CPButton.j.

◆ CPButtonIsBorderedKey

var CPButtonIsBorderedKey = @"@"CPButtonIsBorderedKey"

Definition at line 929 of file CPButton.j.

◆ CPButtonKeyEquivalentKey

var CPButtonKeyEquivalentKey = @"@"CPButtonKeyEquivalentKey"

Definition at line 933 of file CPButton.j.

◆ CPButtonKeyEquivalentMaskKey

var CPButtonKeyEquivalentMaskKey = @"@"CPButtonKeyEquivalentMaskKey"

Definition at line 934 of file CPButton.j.

◆ CPButtonPeriodicDelayKey

var CPButtonPeriodicDelayKey = @"@"CPButtonPeriodicDelayKey"

Definition at line 935 of file CPButton.j.

◆ CPButtonPeriodicIntervalKey

var CPButtonPeriodicIntervalKey = @"@"CPButtonPeriodicIntervalKey"

Definition at line 936 of file CPButton.j.

◆ CPButtonShowsStateByKey

var CPButtonShowsStateByKey = @"@"CPButtonShowsStateByKey"

Definition at line 938 of file CPButton.j.

◆ CPButtonStateBezelStyleRounded

CPButtonStateBezelStyleRounded = CPThemeState("rounded")

Definition at line 70 of file CPButton.j.

◆ CPButtonStateBezelStyleRoundRect

CPButtonStateBezelStyleRoundRect = CPThemeState("roundRect")

Definition at line 71 of file CPButton.j.

◆ CPButtonStateMixed

CPButtonStateMixed = CPThemeState("mixed")

Definition at line 69 of file CPButton.j.

◆ CPButtonTitleKey

var CPButtonTitleKey = @"@"CPButtonTitleKey"

Definition at line 927 of file CPButton.j.

◆ CPChangeBackgroundCellMask

CPChangeBackgroundCellMask = CPBackgroundButtonMask

Definition at line 67 of file CPButton.j.

◆ CPChangeGrayCellMask

CPChangeGrayCellMask = CPGrayButtonMask

Definition at line 66 of file CPButton.j.

◆ CPCircularBezelStyle

CPCircularBezelStyle = 7

Definition at line 33 of file CPButton.j.

◆ CPContentsButtonMask

CPContentsButtonMask = 1

Definition at line 58 of file CPButton.j.

◆ CPContentsCellMask

CPContentsCellMask = CPContentsButtonMask

Definition at line 64 of file CPButton.j.

◆ CPDisclosureBezelStyle

CPDisclosureBezelStyle = 5

Definition at line 31 of file CPButton.j.

◆ CPGrayButtonMask

CPGrayButtonMask = 4

Definition at line 60 of file CPButton.j.

◆ CPHelpButtonBezelStyle

CPHelpButtonBezelStyle = 9

Definition at line 35 of file CPButton.j.

◆ CPHUDBezelStyle

CPHUDBezelStyle = -1

Definition at line 41 of file CPButton.j.

◆ CPMomentaryChangeButton

CPMomentaryChangeButton = 5

Definition at line 51 of file CPButton.j.

◆ CPMomentaryLight

CPMomentaryLight = 7

Definition at line 55 of file CPButton.j.

◆ CPMomentaryPushButton

CPMomentaryPushButton = 0

Definition at line 54 of file CPButton.j.

◆ CPMomentaryPushInButton

CPMomentaryPushInButton = 7

Definition at line 53 of file CPButton.j.

◆ CPNoButtonMask

CPNoButtonMask = 0

Definition at line 57 of file CPButton.j.

◆ CPNoCellMask

CPNoCellMask = CPNoButtonMask

Definition at line 63 of file CPButton.j.

◆ CPOnOffButton

CPOnOffButton = 6

Definition at line 52 of file CPButton.j.

◆ CPPushInButtonMask

CPPushInButtonMask = 2

Definition at line 59 of file CPButton.j.

◆ CPPushInCellMask

CPPushInCellMask = CPPushInButtonMask

Definition at line 65 of file CPButton.j.

◆ CPPushOnPushOffButton

CPPushOnPushOffButton = 1

Definition at line 47 of file CPButton.j.

◆ CPRadioButton

CPRadioButton = 4

Definition at line 50 of file CPButton.j.

◆ CPRecessedBezelStyle

CPRecessedBezelStyle = 13

Definition at line 39 of file CPButton.j.

◆ CPRegularSquareBezelStyle

CPRegularSquareBezelStyle = 2

Definition at line 28 of file CPButton.j.

◆ CPRoundedDisclosureBezelStyle

CPRoundedDisclosureBezelStyle = 14

Definition at line 40 of file CPButton.j.

◆ CPRoundRectBezelStyle

CPRoundRectBezelStyle = 12

Definition at line 38 of file CPButton.j.

◆ CPShadowlessSquareBezelStyle

CPShadowlessSquareBezelStyle = 6

Definition at line 32 of file CPButton.j.

◆ CPSmallSquareBezelStyle

CPSmallSquareBezelStyle = 10

Definition at line 36 of file CPButton.j.

◆ CPSwitchButton

CPSwitchButton = 3

Definition at line 49 of file CPButton.j.

◆ CPTexturedRoundedBezelStyle

CPTexturedRoundedBezelStyle = 11

Definition at line 37 of file CPButton.j.

◆ CPTexturedSquareBezelStyle

CPTexturedSquareBezelStyle = 8

Definition at line 34 of file CPButton.j.

◆ CPThickerSquareBezelStyle

CPThickerSquareBezelStyle = 4

Definition at line 30 of file CPButton.j.

◆ CPThickSquareBezelStyle

CPThickSquareBezelStyle = 3

Definition at line 29 of file CPButton.j.

◆ CPToggleButton

CPToggleButton = 2

Definition at line 48 of file CPButton.j.