Public Member Functions | |
| (id) | - initWithFrame: [implementation] |
| (void) | - setEditable: [implementation] |
| (BOOL) | - isEditable [implementation] |
| (void) | - setSelectable: [implementation] |
| (BOOL) | - isSelectable [implementation] |
| (void) | - setSecure: [implementation] |
| (BOOL) | - isSecure [implementation] |
| (void) | - setBezeled: [implementation] |
| (BOOL) | - isBezeled [implementation] |
| (void) | - setBezelStyle: [implementation] |
| (CPTextFieldBezelStyle) | - bezelStyle [implementation] |
| (void) | - setBordered: [implementation] |
| (BOOL) | - isBordered [implementation] |
| (void) | - setDrawsBackground: [implementation] |
| (BOOL) | - drawsBackground [implementation] |
| (void) | - setTextFieldBackgroundColor: [implementation] |
| (CPColor) | - textFieldBackgroundColor [implementation] |
| (BOOL) | - acceptsFirstResponder [implementation] |
| (BOOL) | - becomeFirstResponder [implementation] |
| (BOOL) | - resignFirstResponder [implementation] |
| (void) | - mouseDown: [implementation] |
| (id) | - objectValue [implementation] |
| (void) | - setObjectValue: [implementation] |
| (void) | - setPlaceholderString: [implementation] |
| (CPString) | - placeholderString [implementation] |
| (void) | - sizeToFit [implementation] |
| (void) | - selectText: [implementation] |
| (void) | - setDelegate: [implementation] |
| (id) | - delegate [implementation] |
| (CGRect) | - contentRectForBounds: [implementation] |
| (CGRect) | - bezelRectForBounds: [implementation] |
| (CGRect) | - rectForEphemeralSubviewNamed: [implementation] |
| (CPView) | - createEphemeralSubviewNamed: [implementation] |
| (void) | - layoutSubviews [implementation] |
| (id) | - initWithCoder: [implementation] |
| (void) | - encodeWithCoder: [implementation] |
Static Public Member Functions | |
| (CPTextField) | + textFieldWithStringValue:placeholder:width: [implementation] |
| (CPTextField) | + textFieldWithStringValue:placeholder:width:theme: [implementation] |
| (CPTextField) | + roundedTextFieldWithStringValue:placeholder:width: [implementation] |
| (CPTextField) | + roundedTextFieldWithStringValue:placeholder:width:theme: [implementation] |
| (CPTextField) | + labelWithTitle: [implementation] |
| (CPTextField) | + labelWithTitle:theme: [implementation] |
| (CPString) | + themeClass [implementation] |
| (id) | + themeAttributes [implementation] |
Definition at line 119 of file CPTextField.j.
| - (BOOL) acceptsFirstResponder | [implementation] |
Definition at line 546 of file CPTextField.j.
| - (BOOL) becomeFirstResponder | [implementation] |
Definition at line 552 of file CPTextField.j.
| - (CGRect) bezelRectForBounds: | (CFRect) | bounds | [implementation] |
Definition at line 818 of file CPTextField.j.
| - (CPTextFieldBezelStyle) bezelStyle | [implementation] |
Returns the textfield's bezel style.
Definition at line 471 of file CPTextField.j.
| - (CGRect) contentRectForBounds: | (CGRect) | bounds | [implementation] |
Definition at line 803 of file CPTextField.j.
Definition at line 844 of file CPTextField.j.
| - (id) delegate | [implementation] |
Definition at line 798 of file CPTextField.j.
| - (BOOL) drawsBackground | [implementation] |
Returns YES if the textfield draws a background.
Definition at line 517 of file CPTextField.j.
| - (void) encodeWithCoder: | (CPCoder) | aCoder | [implementation] |
Encodes the data of this textfield into the provided coder.
| aCoder | the coder into which the data will be written |
Definition at line 964 of file CPTextField.j.
| - (id) initWithCoder: | (CPCoder) | aCoder | [implementation] |
Initializes the textfield with data from a coder.
| aCoder | the coder from which to read the textfield data |
Definition at line 941 of file CPTextField.j.
| - (id) initWithFrame: | (CGRect) | aFrame | [implementation] |
Definition at line 364 of file CPTextField.j.
| - (BOOL) isBezeled | [implementation] |
Returns YES if the textfield draws a bezeled border.
Definition at line 449 of file CPTextField.j.
| - (BOOL) isBordered | [implementation] |
Returns YES if the textfield has a border.
Definition at line 494 of file CPTextField.j.
| - (BOOL) isEditable | [implementation] |
Returns YES if the textfield is currently editable by the user.
Definition at line 394 of file CPTextField.j.
| - (BOOL) isSecure | [implementation] |
Returns YES if the field's text is secure (password entry).
Definition at line 428 of file CPTextField.j.
| - (BOOL) isSelectable | [implementation] |
Returns YES if the field's text is selectable by the user.
Definition at line 411 of file CPTextField.j.
| + (CPTextField) labelWithTitle: | (CPString) | aTitle | [implementation] |
Definition at line 184 of file CPTextField.j.
| + (CPTextField) labelWithTitle: | (CPString) | aTitle | ||
| theme: | (CPTheme) | aTheme | ||
[implementation] |
Definition at line 189 of file CPTextField.j.
| - (void) layoutSubviews | [implementation] |
Definition at line 865 of file CPTextField.j.
| - (void) mouseDown: | (CPEvent) | anEvent | [implementation] |
Definition at line 655 of file CPTextField.j.
| - (id) objectValue | [implementation] |
Returns the string the text field.
Definition at line 667 of file CPTextField.j.
| - (CPString) placeholderString | [implementation] |
Returns the receiver's placeholder string
Definition at line 714 of file CPTextField.j.
| - (CGRect) rectForEphemeralSubviewNamed: | (CPString) | aName | [implementation] |
Definition at line 833 of file CPTextField.j.
| - (BOOL) resignFirstResponder | [implementation] |
Definition at line 610 of file CPTextField.j.
| + (CPTextField) roundedTextFieldWithStringValue: | (CPString) | aStringValue | ||
| placeholder: | (CPString) | aPlaceholder | ||
| width: | (float) | aWidth | ||
[implementation] |
Definition at line 162 of file CPTextField.j.
| + (CPTextField) roundedTextFieldWithStringValue: | (CPString) | aStringValue | ||
| placeholder: | (CPString) | aPlaceholder | ||
| width: | (float) | aWidth | ||
| theme: | (CPTheme) | aTheme | ||
[implementation] |
Definition at line 167 of file CPTextField.j.
| - (void) selectText: | (id) | sender | [implementation] |
Select all the text in the CPTextField.
Definition at line 748 of file CPTextField.j.
| - (void) setBezeled: | (BOOL) | shouldBeBezeled | [implementation] |
Sets whether the textfield will have a bezeled border.
| shouldBeBezeled | YES means the textfield will draw a bezeled border |
Definition at line 438 of file CPTextField.j.
| - (void) setBezelStyle: | (CPTextFieldBezelStyle) | aBezelStyle | [implementation] |
Sets the textfield's bezel style.
| aBezelStyle | the constant for the desired bezel style |
Definition at line 458 of file CPTextField.j.
| - (void) setBordered: | (BOOL) | shouldBeBordered | [implementation] |
Sets whether the textfield will have a border drawn.
| shouldBeBordered | YES makes the textfield draw a border |
Definition at line 483 of file CPTextField.j.
| - (void) setDelegate: | (id) | aDelegate | [implementation] |
Definition at line 760 of file CPTextField.j.
| - (void) setDrawsBackground: | (BOOL) | shouldDrawBackground | [implementation] |
Sets whether the textfield will have a background drawn.
| shouldDrawBackground | YES makes the textfield draw a background |
Definition at line 503 of file CPTextField.j.
| - (void) setEditable: | (BOOL) | shouldBeEditable | [implementation] |
Sets whether or not the receiver text field can be edited
Definition at line 386 of file CPTextField.j.
| - (void) setObjectValue: | (id) | aValue | [implementation] |
Definition at line 675 of file CPTextField.j.
| - (void) setPlaceholderString: | (CPString) | aStringValue | [implementation] |
Sets a placeholder string for the receiver. The placeholder is displayed until editing begins, and after editing ends, if the text field has an empty string value
Definition at line 696 of file CPTextField.j.
| - (void) setSecure: | (BOOL) | aFlag | [implementation] |
Sets whether the field's text is secure.
| aFlag | YES makes the text secure |
Definition at line 420 of file CPTextField.j.
| - (void) setSelectable: | (BOOL) | aFlag | [implementation] |
Sets whether the field's text is selectable by the user.
| aFlag | YES makes the text selectable |
Definition at line 403 of file CPTextField.j.
| - (void) setTextFieldBackgroundColor: | (CPColor) | aColor | [implementation] |
Sets the background color, which is shown for non-bezeled text fields with drawsBackground set to YES
| aColor | The background color |
Definition at line 526 of file CPTextField.j.
| - (void) sizeToFit | [implementation] |
Adjusts the text field's size in the application.
Definition at line 723 of file CPTextField.j.
| - (CPColor) textFieldBackgroundColor | [implementation] |
Returns the background color.
Definition at line 540 of file CPTextField.j.
| + (CPTextField) textFieldWithStringValue: | (CPString) | aStringValue | ||
| placeholder: | (CPString) | aPlaceholder | ||
| width: | (float) | aWidth | ||
[implementation] |
Definition at line 141 of file CPTextField.j.
| + (CPTextField) textFieldWithStringValue: | (CPString) | aStringValue | ||
| placeholder: | (CPString) | aPlaceholder | ||
| width: | (float) | aWidth | ||
| theme: | (CPTheme) | aTheme | ||
[implementation] |
Definition at line 146 of file CPTextField.j.
| + (id) themeAttributes | [implementation] |
Definition at line 204 of file CPTextField.j.
| + (CPString) themeClass | [implementation] |
Definition at line 199 of file CPTextField.j.
1.5.8