CPValue Class Reference
List of all members.
Detailed Description
The class can be subclassed to hold different types of scalar values.
Definition at line 30 of file CPValue.j.
Member Function Documentation
- (void) encodeWithCoder: |
|
(CPCoder) |
aCoder |
|
[implementation] |
Encodes the data into the specified coder.
- Parameters:
-
| the | coder into which the data will be written. |
Definition at line 93 of file CPValue.j.
- (id) initWithCoder: |
|
(CPCoder) |
aCoder |
|
[implementation] |
Initializes the value from a coder.
- Parameters:
-
| aCoder | the coder from which to initialize |
- Returns:
- the initialized CPValue
Definition at line 79 of file CPValue.j.
- (id) initWithJSObject: |
|
(JSObject) |
aJSObject |
|
[implementation] |
Initializes the value from a JavaScript object
- Parameters:
-
| aJSObject | the object to get data from |
- Returns:
- the initialized CPValue
Definition at line 50 of file CPValue.j.
- (JSObject) JSObject |
|
|
|
[implementation] |
Returns the JavaScript object backing this value.
Definition at line 63 of file CPValue.j.
+ (id) valueWithJSObject: |
|
(JSObject) |
aJSObject |
|
[implementation] |
Creates a value from the specified JavaScript object
- Parameters:
-
| aJSObject | a JavaScript object containing a value |
- Returns:
- the converted CPValue
Definition at line 40 of file CPValue.j.
The documentation for this class was generated from the following file: