API
0.9.9
CPText.j
Go to the documentation of this file.
1
/*
2
* CPText.j
3
* AppKit
4
*
5
* Created by Alexander Ljungberg.
6
* Copyright 2010, WireLoad, LLC.
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
CPEnterCharacter
=
"\u0003"
;
24
CPBackspaceCharacter
=
"\u0008"
;
25
CPTabCharacter
=
"\u0009"
;
26
CPNewlineCharacter
=
"\u000a"
;
27
CPFormFeedCharacter
=
"\u000c"
;
28
CPCarriageReturnCharacter
=
"\u000d"
;
29
CPBackTabCharacter
=
"\u0019"
;
30
CPDeleteCharacter
=
"\u007f"
;
31
32
CPIllegalTextMovement
= 0;
33
CPOtherTextMovement
= 0;
34
CPReturnTextMovement
= 16;
35
CPTabTextMovement
= 17;
36
CPBacktabTextMovement
= 18;
37
CPLeftTextMovement
= 19;
38
CPRightTextMovement
= 20;
39
CPUpTextMovement
= 21;
40
CPDownTextMovement
= 22;
41
CPCancelTextMovement
= 23;
42
43
@
typedef
CPWritingDirection
44
CPWritingDirectionNatural
= -1;
45
CPWritingDirectionLeftToRight
= 0;
46
CPWritingDirectionRightToLeft
= 1;
47
48
@
typedef
CPTextAlignment
49
CPLeftTextAlignment
= 0;
50
CPRightTextAlignment
= 1;
51
CPCenterTextAlignment
= 2;
52
CPJustifiedTextAlignment
= 3;
53
CPNaturalTextAlignment
= 4;
CPUpTextMovement
CPUpTextMovement
Definition:
CPText.j:39
CPEnterCharacter
CPEnterCharacter
Definition:
CPText.j:23
CPWritingDirectionRightToLeft
CPWritingDirectionRightToLeft
Definition:
CPText.j:46
CPRightTextAlignment
CPRightTextAlignment
Definition:
CPText.j:50
CPTabTextMovement
CPTabTextMovement
Definition:
CPText.j:35
CPReturnTextMovement
CPReturnTextMovement
Definition:
CPText.j:34
CPLeftTextMovement
CPLeftTextMovement
Definition:
CPText.j:37
CPIllegalTextMovement
CPIllegalTextMovement
Definition:
CPText.j:32
CPDownTextMovement
CPDownTextMovement
Definition:
CPText.j:40
CPTabCharacter
CPTabCharacter
Definition:
CPText.j:25
CPNaturalTextAlignment
CPNaturalTextAlignment
Definition:
CPText.j:53
CPBackTabCharacter
CPBackTabCharacter
Definition:
CPText.j:29
CPRightTextMovement
CPRightTextMovement
Definition:
CPText.j:38
CPJustifiedTextAlignment
CPJustifiedTextAlignment
Definition:
CPText.j:52
CPWritingDirectionLeftToRight
CPWritingDirectionLeftToRight
Definition:
CPText.j:45
CPOtherTextMovement
CPOtherTextMovement
Definition:
CPText.j:33
CPFormFeedCharacter
CPFormFeedCharacter
Definition:
CPText.j:27
CPNewlineCharacter
CPNewlineCharacter
Definition:
CPText.j:26
CPLeftTextAlignment
CPTextAlignment CPLeftTextAlignment
Definition:
CPText.j:49
CPCarriageReturnCharacter
CPCarriageReturnCharacter
Definition:
CPText.j:28
CPCancelTextMovement
CPCancelTextMovement
Definition:
CPText.j:41
CPCenterTextAlignment
CPCenterTextAlignment
Definition:
CPText.j:51
CPDeleteCharacter
CPDeleteCharacter
Definition:
CPText.j:30
CPBackspaceCharacter
CPBackspaceCharacter
Definition:
CPText.j:24
CPWritingDirectionNatural
CPWritingDirection CPWritingDirectionNatural
Definition:
CPText.j:44
CPBacktabTextMovement
CPBacktabTextMovement
Definition:
CPText.j:36
AppKit
CPText.j
Generated on Fri Apr 1 2016 23:03:25 for API by
1.8.11