#import <CPComboBox.h>
Class Methods | |
(CPString) | + defaultThemeClass |
(CPDictionary) | + themeAttributes |
Class Methods inherited from CPTextField | |
(CPTextField) | + labelWithTitle: |
(CPTextField) | + labelWithTitle:theme: |
(CPTextField) | + roundedTextFieldWithStringValue:placeholder:width: |
(CPTextField) | + roundedTextFieldWithStringValue:placeholder:width:theme: |
(CPTextField) | + textFieldWithStringValue:placeholder:width: |
(CPTextField) | + textFieldWithStringValue:placeholder:width:theme: |
Class Methods inherited from CPControl | |
(void) | + initialize |
Class Methods inherited from CPView | |
(Class) | + animatorClass |
(CAAnimation) | + defaultAnimationForKey: |
(CPMenu) | + defaultMenu |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
Definition at line 2 of file CPComboBox.h.
|
implementation |
Definition at line 307 of file CPComboBox.j.
|
implementation |
Definition at line 314 of file CPComboBox.j.
Provided by category CPComboBox(CPComboBoxDataSource).
Definition at line 1082 of file CPComboBox.j.
|
implementation |
Provided by category CPComboBox(CPComboBoxDelegate).
Definition at line 1051 of file CPComboBox.j.
|
implementation |
Provided by category CPComboBox(CPComboBoxDelegate).
Definition at line 1042 of file CPComboBox.j.
|
implementation |
Provided by category CPComboBox(CPComboBoxDelegate).
Definition at line 1069 of file CPComboBox.j.
|
implementation |
Provided by category CPComboBox(CPComboBoxDelegate).
Definition at line 1060 of file CPComboBox.j.
Definition at line 658 of file CPComboBox.j.
|
implementation |
Definition at line 648 of file CPComboBox.j.
Reimplemented from CPTextField.
Definition at line 917 of file CPComboBox.j.
|
implementation |
Definition at line 256 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 82 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 216 of file CPComboBox.j.
|
implementation |
Definition at line 596 of file CPComboBox.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 CPComboBox(CPCoding).
Definition at line 1186 of file CPComboBox.j.
|
implementation |
Returns whether the combo box forces the user to enter or select an item that is in the item list.
Definition at line 674 of file CPComboBox.j.
|
implementation |
Definition at line 135 of file CPComboBox.j.
|
implementation |
Definition at line 482 of file CPComboBox.j.
|
implementation |
Definition at line 607 of file CPComboBox.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 CPComboBox(CPCoding).
Definition at line 1164 of file CPComboBox.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPTextField.
Definition at line 103 of file CPComboBox.j.
|
implementation |
Definition at line 321 of file CPComboBox.j.
|
implementation |
Definition at line 153 of file CPComboBox.j.
|
implementation |
Definition at line 720 of file CPComboBox.j.
|
implementation |
Definition at line 169 of file CPComboBox.j.
|
implementation |
Definition at line 182 of file CPComboBox.j.
|
implementation |
Definition at line 490 of file CPComboBox.j.
|
implementation |
The receiver receives this notification when an item in the list is clicked.
Definition at line 588 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 929 of file CPComboBox.j.
|
implementation |
Returns the delegate to be used when creating the pop up list.
Definition at line 383 of file CPComboBox.j.
|
implementation |
The receiver receives this notification when the list is closed.
Definition at line 579 of file CPComboBox.j.
|
implementation |
Definition at line 538 of file CPComboBox.j.
|
implementation |
Definition at line 498 of file CPComboBox.j.
|
implementation |
Definition at line 370 of file CPComboBox.j.
|
implementation |
Definition at line 203 of file CPComboBox.j.
|
implementation |
Definition at line 612 of file CPComboBox.j.
|
implementation |
Returns the internal array of items. NOTE: Unlike Cocoa the array is mutable, since all arrays in Objective-J are mutable. But you should treat it as an immutable array. Do NOT attempt to change the returned array in any way.
If usesDataSource is YES, a warning is logged and an empty array is returned.
Definition at line 338 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 742 of file CPComboBox.j.
|
implementation |
Override of CPView -performKeyEquivalent
Reimplemented from CPView.
Definition at line 790 of file CPComboBox.j.
|
implementation |
Definition at line 895 of file CPComboBox.j.
|
implementation |
Definition at line 519 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 909 of file CPComboBox.j.
|
implementation |
Definition at line 513 of file CPComboBox.j.
|
implementation |
Definition at line 544 of file CPComboBox.j.
|
implementation |
Definition at line 346 of file CPComboBox.j.
|
implementation |
Definition at line 353 of file CPComboBox.j.
|
implementation |
Definition at line 363 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 825 of file CPComboBox.j.
|
implementation |
Definition at line 503 of file CPComboBox.j.
|
implementation |
Definition at line 508 of file CPComboBox.j.
|
implementation |
Definition at line 627 of file CPComboBox.j.
|
implementation |
Definition at line 638 of file CPComboBox.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 696 of file CPComboBox.j.
|
implementation |
Sets the text alignment of the control.
CPLeftTextAlignment CPCenterTextAlignment CPRightTextAlignment CPJustifiedTextAlignment CPNaturalTextAlignment
Reimplemented from CPControl.
Definition at line 885 of file CPComboBox.j.
|
implementation |
Definition at line 174 of file CPComboBox.j.
|
implementation |
Definition at line 653 of file CPComboBox.j.
|
implementation |
Provided by category CPComboBox(Bindings).
Definition at line 1135 of file CPComboBox.j.
|
implementation |
Provided by category CPComboBox(Bindings).
Definition at line 1127 of file CPComboBox.j.
|
implementation |
Definition at line 264 of file CPComboBox.j.
|
implementation |
Sets the CPComboBox delegate. Note that although the Cocoa docs say that the delegate must conform to the NSComboBoxDelegate protocol, in actual fact it doesn't. Also note that the same delegate may conform to the NSTextFieldDelegate protocol.
Definition at line 227 of file CPComboBox.j.
|
implementation |
Sets the font of the control.
Reimplemented from CPControl.
Definition at line 877 of file CPComboBox.j.
|
implementation |
Sets whether the combo box forces the user to enter or select an item that is in the item list. If flag
is YES
and the user enters a value that is not in the list, when the field loses focus it will revert to the previous value. If flag
is NO
, the user can enter any value they wish.
Note that this flag is ignored if setStringValue or setObjectValue are called directly.
Definition at line 688 of file CPComboBox.j.
|
implementation |
Definition at line 140 of file CPComboBox.j.
|
implementation |
Definition at line 158 of file CPComboBox.j.
|
implementation |
Definition at line 187 of file CPComboBox.j.
|
implementation |
Sets the delegate to be used when creating the pop up list. By default this is _CPPopUpList. If you are using a subclass of _CPPopUpList, call this method with your subclass.
Definition at line 393 of file CPComboBox.j.
|
implementation |
Definition at line 208 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 712 of file CPComboBox.j.
|
implementation |
Definition at line 289 of file CPComboBox.j.
|
implementation |
If the list is non-empty, sets the value of the field from the currently selected value of the list and returns YES. If the list is empty or the list has no selected item, returns NO.
Definition at line 557 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 759 of file CPComboBox.j.
|
implementation |
Reimplemented from CPTextField.
Definition at line 87 of file CPComboBox.j.
|
implementation |
Definition at line 284 of file CPComboBox.j.