API  0.9.10
CPControl.j File Reference

Go to the source code of this file.

Classes

protocol  <CPControlTextEditingDelegate >
 

Typedefs

typedef CPLineBreakMode CPLineBreakByWordWrapping = 0
 
typedef CPCellImagePosition CPNoImage = 0
 
typedef CPControlSize CPRegularControlSize = 0
 
typedef CPImageScaling CPScaleProportionally = 0
 
typedef CPVerticalTextAlignment CPTopVerticalTextAlignment = 1
 

Variables

 CPBottomVerticalTextAlignment = 3
 
 CPCenterVerticalTextAlignment = 2
 
var CPControlActionKey = @"@"CPControlActionKey"
 
var CPControlBaseWrittingDirectionKey = @"@"CPControlBaseWrittingDirectionKey"
 
var CPControlBlackColor = [CPColor blackColor]
 
var CPControlControlSizeKey = @"@"CPControlControlSizeKey"
 
var CPControlControlStateKey = @"@"CPControlControlStateKey"
 
 CPControlDisabledBackgroundColor = "CPControlDisabledBackgroundColor"
 
var CPControlFormatterKey = @"@"CPControlFormatterKey"
 
 CPControlHighlightedBackgroundColor = "CPControlHighlightedBackgroundColor"
 
var CPControlIsEnabledKey = @"@"CPControlIsEnabledKey"
 
 CPControlNormalBackgroundColor = "CPControlNormalBackgroundColor"
 
 CPControlSelectedBackgroundColor = "CPControlSelectedBackgroundColor"
 
var CPControlSendActionOnKey = @"@"CPControlSendActionOnKey"
 
var CPControlSendsActionOnEndEditingKey = @"@"CPControlSendsActionOnEndEditingKey"
 
var CPControlTargetKey = @"@"CPControlTargetKey"
 
 CPControlTextDidBeginEditingNotification = "CPControlTextDidBeginEditingNotification"
 
 CPControlTextDidChangeNotification = "CPControlTextDidChangeNotification"
 
 CPControlTextDidEndEditingNotification = "CPControlTextDidEndEditingNotification"
 
var CPControlValueKey = @"@"CPControlValueKey"
 
 CPImageAbove = 5
 
 CPImageBelow = 4
 
 CPImageLeft = 2
 
 CPImageOnly = 1
 
 CPImageOverlaps = 6
 
 CPImageRight = 3
 
 CPImageScaleAxesIndependently = 1
 
 CPImageScaleNone = 2
 
 CPImageScaleProportionallyDown = 0
 
 CPImageScaleProportionallyUpOrDown = 3
 
 CPLineBreakByCharWrapping = 1
 
 CPLineBreakByClipping = 2
 
 CPLineBreakByTruncatingHead = 3
 
 CPLineBreakByTruncatingMiddle = 5
 
 CPLineBreakByTruncatingTail = 4
 
 CPMiniControlSize = 2
 
 CPMixedState = -1
 
 CPOffState = 0
 
 CPOnState = 1
 
 CPScaleNone = 2
 
 CPScaleToFit = 1
 
 CPSmallControlSize = 1
 

Typedef Documentation

◆ CPLineBreakByWordWrapping

typedef CPLineBreakMode CPLineBreakByWordWrapping = 0

Definition at line 45 of file CPControl.j.

◆ CPNoImage

typedef CPCellImagePosition CPNoImage = 0

Definition at line 69 of file CPControl.j.

◆ CPRegularControlSize

typedef CPControlSize CPRegularControlSize = 0

Definition at line 40 of file CPControl.j.

◆ CPScaleProportionally

typedef CPImageScaling CPScaleProportionally = 0

Definition at line 59 of file CPControl.j.

◆ CPTopVerticalTextAlignment

typedef CPVerticalTextAlignment CPTopVerticalTextAlignment = 1

Definition at line 53 of file CPControl.j.

Variable Documentation

◆ CPBottomVerticalTextAlignment

CPBottomVerticalTextAlignment = 3

Definition at line 55 of file CPControl.j.

◆ CPCenterVerticalTextAlignment

CPCenterVerticalTextAlignment = 2

Definition at line 54 of file CPControl.j.

◆ CPControlActionKey

var CPControlActionKey = @"@"CPControlActionKey"

Definition at line 1064 of file CPControl.j.

◆ CPControlBaseWrittingDirectionKey

var CPControlBaseWrittingDirectionKey = @"@"CPControlBaseWrittingDirectionKey"

Definition at line 1073 of file CPControl.j.

◆ CPControlBlackColor

var CPControlBlackColor = [CPColor blackColor]

Definition at line 90 of file CPControl.j.

◆ CPControlControlSizeKey

var CPControlControlSizeKey = @"@"CPControlControlSizeKey"

Definition at line 1065 of file CPControl.j.

◆ CPControlControlStateKey

var CPControlControlStateKey = @"@"CPControlControlStateKey"

Definition at line 1066 of file CPControl.j.

◆ CPControlDisabledBackgroundColor

CPControlDisabledBackgroundColor = "CPControlDisabledBackgroundColor"

Definition at line 84 of file CPControl.j.

◆ CPControlFormatterKey

var CPControlFormatterKey = @"@"CPControlFormatterKey"

Definition at line 1067 of file CPControl.j.

◆ CPControlHighlightedBackgroundColor

CPControlHighlightedBackgroundColor = "CPControlHighlightedBackgroundColor"

Definition at line 83 of file CPControl.j.

◆ CPControlIsEnabledKey

var CPControlIsEnabledKey = @"@"CPControlIsEnabledKey"

Definition at line 1068 of file CPControl.j.

◆ CPControlNormalBackgroundColor

CPControlNormalBackgroundColor = "CPControlNormalBackgroundColor"

Definition at line 81 of file CPControl.j.

◆ CPControlSelectedBackgroundColor

CPControlSelectedBackgroundColor = "CPControlSelectedBackgroundColor"

Definition at line 82 of file CPControl.j.

◆ CPControlSendActionOnKey

var CPControlSendActionOnKey = @"@"CPControlSendActionOnKey"

Definition at line 1069 of file CPControl.j.

◆ CPControlSendsActionOnEndEditingKey

var CPControlSendsActionOnEndEditingKey = @"@"CPControlSendsActionOnEndEditingKey"

Definition at line 1070 of file CPControl.j.

◆ CPControlTargetKey

var CPControlTargetKey = @"@"CPControlTargetKey"

Definition at line 1071 of file CPControl.j.

◆ CPControlTextDidBeginEditingNotification

CPControlTextDidBeginEditingNotification = "CPControlTextDidBeginEditingNotification"

Definition at line 86 of file CPControl.j.

◆ CPControlTextDidChangeNotification

CPControlTextDidChangeNotification = "CPControlTextDidChangeNotification"

Definition at line 87 of file CPControl.j.

◆ CPControlTextDidEndEditingNotification

CPControlTextDidEndEditingNotification = "CPControlTextDidEndEditingNotification"

Definition at line 88 of file CPControl.j.

◆ CPControlValueKey

var CPControlValueKey = @"@"CPControlValueKey"

Definition at line 1072 of file CPControl.j.

◆ CPImageAbove

CPImageAbove = 5

Definition at line 74 of file CPControl.j.

◆ CPImageBelow

CPImageBelow = 4

Definition at line 73 of file CPControl.j.

◆ CPImageLeft

CPImageLeft = 2

Definition at line 71 of file CPControl.j.

◆ CPImageOnly

CPImageOnly = 1

Definition at line 70 of file CPControl.j.

◆ CPImageOverlaps

CPImageOverlaps = 6

Definition at line 75 of file CPControl.j.

◆ CPImageRight

CPImageRight = 3

Definition at line 72 of file CPControl.j.

◆ CPImageScaleAxesIndependently

CPImageScaleAxesIndependently = 1

Definition at line 64 of file CPControl.j.

◆ CPImageScaleNone

CPImageScaleNone = 2

Definition at line 65 of file CPControl.j.

◆ CPImageScaleProportionallyDown

CPImageScaleProportionallyDown = 0

Definition at line 63 of file CPControl.j.

◆ CPImageScaleProportionallyUpOrDown

CPImageScaleProportionallyUpOrDown = 3

Definition at line 66 of file CPControl.j.

◆ CPLineBreakByCharWrapping

CPLineBreakByCharWrapping = 1

Definition at line 46 of file CPControl.j.

◆ CPLineBreakByClipping

CPLineBreakByClipping = 2

Definition at line 47 of file CPControl.j.

◆ CPLineBreakByTruncatingHead

CPLineBreakByTruncatingHead = 3

Definition at line 48 of file CPControl.j.

◆ CPLineBreakByTruncatingMiddle

CPLineBreakByTruncatingMiddle = 5

Definition at line 50 of file CPControl.j.

◆ CPLineBreakByTruncatingTail

CPLineBreakByTruncatingTail = 4

Definition at line 49 of file CPControl.j.

◆ CPMiniControlSize

CPMiniControlSize = 2

Definition at line 42 of file CPControl.j.

◆ CPMixedState

CPMixedState = -1

Definition at line 79 of file CPControl.j.

◆ CPOffState

CPOffState = 0

Definition at line 78 of file CPControl.j.

◆ CPOnState

CPOnState = 1

Definition at line 77 of file CPControl.j.

◆ CPScaleNone

CPScaleNone = 2

Definition at line 61 of file CPControl.j.

◆ CPScaleToFit

CPScaleToFit = 1

Definition at line 60 of file CPControl.j.

◆ CPSmallControlSize

CPSmallControlSize = 1

Definition at line 41 of file CPControl.j.