#import <CPTokenField.h>
Class Methods | |
(CPTimeInterval) | + defaultCompletionDelay |
(CPString) | + defaultThemeClass |
(CPCharacterSet) | + defaultTokenizingCharacterSet |
(CPDictionary) | + themeAttributes |
![]() | |
(CPTextField) | + labelWithTitle: |
(CPTextField) | + labelWithTitle:theme: |
(CPTextField) | + roundedTextFieldWithStringValue:placeholder:width: |
(CPTextField) | + roundedTextFieldWithStringValue:placeholder:width:theme: |
(CPTextField) | + textFieldWithStringValue:placeholder:width: |
(CPTextField) | + textFieldWithStringValue:placeholder:width:theme: |
![]() | |
(void) | + initialize |
![]() | |
(CPMenu) | + defaultMenu |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
Definition at line 2 of file CPTokenField.h.
|
implementation |
Reimplemented from CPTextField.
Definition at line 372 of file CPTokenField.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTokenField(CPSynthesizedAccessors).
Definition at line 1750 of file CPTokenField.j.
|
implementation |
Definition at line 839 of file CPTokenField.j.
|
implementation |
Definition at line 1066 of file CPTokenField.j.
|
implementation |
Definition at line 106 of file CPTokenField.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 111 of file CPTokenField.j.
|
implementation |
Definition at line 101 of file CPTokenField.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 924 of file CPTokenField.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 950 of file CPTokenField.j.
|
implementation |
Encodes the data of this textfield into the provided coder.
aCoder | the coder into which the data will be written |
Reimplemented from CPTextField.
Provided by category CPTokenField(CPCoding).
Definition at line 1718 of file CPTokenField.j.
|
implementation |
Initializes the textfield with data from a coder.
aCoder | the coder from which to read the textfield data |
Reimplemented from CPTextField.
Provided by category CPTokenField(CPCoding).
Definition at line 1699 of file CPTokenField.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPTextField.
Definition at line 121 of file CPTokenField.j.
|
implementation |
Insert a line break at the caret position or selection.
aSender | the object requesting this |
Reimplemented from CPTextField.
Definition at line 780 of file CPTokenField.j.
|
implementation |
Reimplemented from CPResponder.
Definition at line 793 of file CPTokenField.j.
|
implementation |
Inserts some text at the caret position or selection.
aString | the string to insert |
Reimplemented from CPResponder.
Definition at line 810 of file CPTokenField.j.
|
implementation |
Notifies the receiver that the user has pressed a key.
anEvent | information about the key press |
Reimplemented from CPTextField.
Definition at line 995 of file CPTokenField.j.
|
implementation |
Notifies the receiver that the user has released a key.
anEvent | information about the key press |
Reimplemented from CPTextField.
Definition at line 1011 of file CPTokenField.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 1074 of file CPTokenField.j.
|
implementation |
Notifies the receiver that the user has clicked the mouse down in its area.
anEvent | contains information about the click |
Reimplemented from CPTextField.
Definition at line 532 of file CPTokenField.j.
|
implementation |
Notifies the receiver that the user has released the left mouse button.
anEvent | contains information about the release |
Reimplemented from CPTextField.
Definition at line 541 of file CPTokenField.j.
|
implementation |
Definition at line 774 of file CPTokenField.j.
|
implementation |
Definition at line 844 of file CPTokenField.j.
|
implementation |
Definition at line 864 of file CPTokenField.j.
|
implementation |
Definition at line 881 of file CPTokenField.j.
|
implementation |
Definition at line 908 of file CPTokenField.j.
|
implementation |
Definition at line 768 of file CPTokenField.j.
|
implementation |
Returns the string in the text field.
Reimplemented from CPTextField.
Definition at line 577 of file CPTokenField.j.
|
implementation |
Overridden by subclasses to handle a key equivalent.
If the receiver’s key equivalent is the same as the characters of the key-down event theEvent, as returned by [anEvent charactersIgnoringModifiers], the receiver should take the appropriate action and return YES
. Otherwise, it should return the result of invoking super’s implementation. The default implementation of this method simply passes the message down the view hierarchy (from superviews to subviews) and returns NO
if none of the receiver’s subviews responds YES
.
anEvent | An event object that represents the key equivalent pressed |
YES
if theEvent is a key equivalent that the receiver handled, NO
if it is not a key equivalent that it should handle. Reimplemented from CPView.
Definition at line 1023 of file CPTokenField.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 472 of file CPTokenField.j.
|
implementation |
Causes anAction
to be sent to anObject
.
anAction | the action to send |
anObject | the object to which the action will be sent |
Reimplemented from CPControl.
Definition at line 701 of file CPTokenField.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTokenField(CPTokenFieldDelegate).
Definition at line 1758 of file CPTokenField.j.
|
implementation |
Definition at line 1061 of file CPTokenField.j.
|
implementation |
Set the delegate of the receiver
Definition at line 164 of file CPTokenField.j.
|
implementation |
Sets whether or not the receiver text field can be edited. If NO, any ongoing edit is ended.
Reimplemented from CPTextField.
Definition at line 694 of file CPTokenField.j.
|
implementation |
Sets whether the field reacts to events. If NO, any ongoing edit is ended.
Reimplemented from CPTextField.
Definition at line 680 of file CPTokenField.j.
|
implementation |
Sets the receiver's object value.
Reimplemented from CPTextField.
Definition at line 604 of file CPTokenField.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTokenField(CPSynthesizedAccessors).
Definition at line 1742 of file CPTokenField.j.
|
implementation |
Returns the receiver's string value.
Reimplemented from CPControl.
Definition at line 572 of file CPTokenField.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 1038 of file CPTokenField.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 116 of file CPTokenField.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTokenField(CPSynthesizedAccessors).
Definition at line 1734 of file CPTokenField.j.