![]() |
API
0.9.6
|
#import <CPPasteboard.h>
Class Methods | |
(id) | + generalPasteboard |
(void) | + initialize |
(id) | + pasteboardWithName: |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
CPPasteBoard is the object responsible for cut/copy/paste and drag&drop operations.
Definition at line 2 of file CPPasteboard.h.
|
implementation |
Adds supported data types to the pasteboard
types | the data types |
anOwner | the object that contains the data types |
Definition at line 140 of file CPPasteboard.j.
Checks the pasteboard's types for a match with the types listen in the specified array. The array should be ordered by the requestor's most preferred data type first.
anArray | an array of requested types ordered by preference |
nil
if no match was found Definition at line 251 of file CPPasteboard.j.
|
implementation |
Returns the number of changes that have occurred to this pasteboard
Definition at line 269 of file CPPasteboard.j.
Returns the pasteboard data for the specified data type
aType | the requested data type |
nil
if the data doesn't exist Definition at line 279 of file CPPasteboard.j.
|
implementation |
Sets the data types that this pasteboard will contain.
type | the data types it will support |
anOwner | the object that contains the the data |
Definition at line 176 of file CPPasteboard.j.
|
implementation |
Returns a new instance of a pasteboard
Definition at line 86 of file CPPasteboard.j.
|
implementation |
Reimplemented from CPObject.
Definition at line 70 of file CPPasteboard.j.
|
implementation |
method provided for integration with native pasteboard
Definition at line 317 of file CPPasteboard.j.
|
implementation |
Returns a pasteboard with the specified name. If the pasteboard doesn't exist, it will be created.
aName | the name of the pasteboard |
Definition at line 96 of file CPPasteboard.j.
|
implementation |
Returns the property list for the specified data type
aType | the requested data type |
nil
if the list was not found Definition at line 335 of file CPPasteboard.j.
Sets the pasteboard data for the specified type
aData | the data |
aType | the data type being set |
YES
if the data was successfully written to the pasteboard Definition at line 212 of file CPPasteboard.j.
|
implementation |
Writes the specified property list as data for the specified type
aPropertyList | the property list to write |
aType | the data type |
YES
if the property list was successfully written to the pasteboard Definition at line 228 of file CPPasteboard.j.
Sets the specified string as data for the specified type
aString | the string to write |
aType | the data type |
YES
if the string was successfully written to the pasteboard Definition at line 239 of file CPPasteboard.j.
Returns the string for the specified data type
aType | the requested data type |
nil
if the string was not found Definition at line 350 of file CPPasteboard.j.
|
implementation |
Returns the pasteboards supported types
Definition at line 259 of file CPPasteboard.j.