NSPasteboard

Authors

Richard Frith-Macdonald( richard@brainstorm.co.uk )
Implementation of class for communicating with the pasteboard server.

Copyright: (C) 1997,1999 Free Software Foundation, Inc.

Software documentation for the NSPasteboard class

NSPasteboard : NSObject

Declared: AppKit/NSPasteboard.h

generalPasteboard

+ (NSPasteboard*) generalPasteboard;


pasteboardByFilteringData:ofType:

+ (NSPasteboard*) pasteboardByFilteringData: (NSData*)data ofType: (NSString*)type;


pasteboardByFilteringFile:

+ (NSPasteboard*) pasteboardByFilteringFile: (NSString*)filename;


pasteboardByFilteringTypesInPasteboard:

+ (NSPasteboard*) pasteboardByFilteringTypesInPasteboard: (NSPasteboard*)pboard;


pasteboardWithName:

+ (NSPasteboard*) pasteboardWithName: (NSString*)aName;


pasteboardWithUniqueName

+ (NSPasteboard*) pasteboardWithUniqueName;


typesFilterableTo:

+ (NSArray*) typesFilterableTo: (NSString*)type;


addTypes:owner:

- (int) addTypes: (NSArray*)newTypes owner: (id)newOwner;


availableTypeFromArray:

- (NSString*) availableTypeFromArray: (NSArray*)types;


changeCount

- (int) changeCount;


dataForType:

- (NSData*) dataForType: (NSString*)dataType;


declareTypes:owner:

- (int) declareTypes: (NSArray*)newTypes owner: (id)newOwner;


name

- (NSString*) name;


propertyListForType:

- (id) propertyListForType: (NSString*)dataType;


readFileContentsType:toFile:

- (NSString*) readFileContentsType: (NSString*)type toFile: (NSString*)filename;


readFileWrapper

- (NSFileWrapper*) readFileWrapper;


releaseGlobally

- (void) releaseGlobally;


setData:forType:

- (BOOL) setData: (NSData*)data forType: (NSString*)dataType;


setPropertyList:forType:

- (BOOL) setPropertyList: (id)propertyList forType: (NSString*)dataType;


setString:forType:

- (BOOL) setString: (NSString*)string forType: (NSString*)dataType;


stringForType:

- (NSString*) stringForType: (NSString*)dataType;


types

- (NSArray*) types;


writeFileContents:

- (BOOL) writeFileContents: (NSString*)filename;


writeFileWrapper:

- (BOOL) writeFileWrapper: (NSFileWrapper*)wrapper;


Software documentation for the NSObject(NSPasteboardOwner) category

NSObject(NSPasteboardOwner)

Declared: AppKit/NSPasteboard.h

pasteboard:provideDataForType:

- (void) pasteboard: (NSPasteboard*)sender provideDataForType: (NSString*)type;


pasteboard:provideDataForType:andVersion:

- (void) pasteboard: (NSPasteboard*)sender provideDataForType: (NSString*)type andVersion: (int)ver;


pasteboardChangedOwner:

- (void) pasteboardChangedOwner: (NSPasteboard*)sender;


Software documentation for the NSPasteboard(GNUstepExtensions) category

NSPasteboard(GNUstepExtensions)

Declared: AppKit/NSPasteboard.h

mimeTypeForPasteboardType:

+ (NSString*) mimeTypeForPasteboardType: (NSString*)type;


pasteboardTypeForMimeType:

+ (NSString*) pasteboardTypeForMimeType: (NSString*)mimeType;


setChangeCount:

- (void) setChangeCount: (int)count;


Software documentation for the NSURL(NSPasteboard) category

NSURL(NSPasteboard)

Declared: AppKit/NSPasteboard.h

URLFromPasteboard:

+ (NSURL*) URLFromPasteboard: (NSPasteboard*)pasteBoard;


writeToPasteboard:

- (void) writeToPasteboard: (NSPasteboard*)pasteBoard;