|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSPasteboard
public abstract class NSPasteboard
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Nested Class Summary | |
---|---|
static class |
NSPasteboard._class_
|
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
NSObject._static_ |
Constructor Summary | |
---|---|
NSPasteboard()
|
Method Summary | |
---|---|
abstract NSInteger |
addTypes_owner(NSArray newTypes,
ObjCObject newOwner)
This method adds promises for the specified types to the first pasteboard item. |
static NSPasteboard |
alloc()
|
FilterServices |
as_NSPasteboard_FilterServices()
|
abstract NSString |
availableTypeFromArray(NSArray types)
Original signature : -(NSString*)availableTypeFromArray:(NSArray*) native declaration : NSPasteboard.h:127 |
abstract boolean |
canReadItemWithDataConformingToTypes(NSArray types)
Method to validate whether the pasteboard contains at least one item that conforms to the specified UTIs. |
abstract boolean |
canReadObjectForClasses_options(NSArray classArray,
NSDictionary options)
Method to validate whether at least one instance of any of the provided classes can be created with data on the pasteboard. |
abstract NSInteger |
changeCount()
Original signature : -(NSInteger)changeCount native declaration : NSPasteboard.h:71 |
abstract NSInteger |
clearContents()
Clears the existing contents of the pasteboard, preparing it for new contents. |
abstract NSData |
dataForType(NSString dataType)
These methods return a best representation of all items on the pasteboard for the requested type. |
abstract NSInteger |
declareTypes_owner(NSArray newTypes,
ObjCObject newOwner)
This method is the equivalent of calling -clearContents, implicitly writing the first pasteboard item, and then calling -addTypes:owner: to promise types for the first pasteboard item. |
static NSPasteboard |
generalPasteboard()
Original signature : +(NSPasteboard*)generalPasteboard native declaration : NSPasteboard.h:65 |
static NSPasteboard._class_ |
getNSClass()
|
abstract NSUInteger |
indexOfPasteboardItem(NSPasteboardItem pasteboardItem)
The index of the provided pasteboard item in the pasteboard. |
abstract NSString |
name()
Original signature : -(NSString*)name native declaration : NSPasteboard.h:69 |
static NSPasteboard |
new_()
|
abstract NSArray |
pasteboardItems()
Returns all pasteboard items. |
static NSPasteboard |
pasteboardWithName(NSString name)
Original signature : +(NSPasteboard*)pasteboardWithName:(NSString*) native declaration : NSPasteboard.h:66 |
static NSPasteboard |
pasteboardWithUniqueName()
Original signature : +(NSPasteboard*)pasteboardWithUniqueName native declaration : NSPasteboard.h:67 |
abstract NSObject |
propertyListForType(NSString dataType)
Original signature : -(id)propertyListForType:(NSString*) native declaration : NSPasteboard.h:138 |
abstract NSArray |
readObjectsForClasses_options(NSArray classArray,
NSDictionary options)
Classes in the provided array must implement the NSPasteboardReading protocol. |
abstract void |
releaseGlobally()
Original signature : -(void)releaseGlobally native declaration : NSPasteboard.h:73 |
abstract boolean |
setData_forType(NSData data,
NSString dataType)
These methods set data for the specified type on the first pasteboard item. |
abstract boolean |
setPropertyList_forType(ObjCObject plist,
NSString dataType)
Original signature : -(BOOL)setPropertyList:(id) forType:(NSString*) native declaration : NSPasteboard.h:132 |
abstract boolean |
setString_forType(NSString string,
NSString dataType)
Original signature : -(BOOL)setString:(NSString*) forType:(NSString*) native declaration : NSPasteboard.h:133 |
abstract NSString |
stringForType(NSString dataType)
Original signature : -(NSString*)stringForType:(NSString*) native declaration : NSPasteboard.h:139 |
abstract NSArray |
types()
These methods provide information about the types available from the entire pasteboard. |
abstract boolean |
writeObjects(NSArray objects)
Writes the data of an array of objects that implement the NSPasteboardWriting protocol (including NSPasteboardItem instances). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.rococoa.ObjCObject |
---|
id |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Constructor Detail |
---|
public NSPasteboard()
Method Detail |
---|
public FilterServices as_NSPasteboard_FilterServices()
public static NSPasteboard generalPasteboard()
+(NSPasteboard*)generalPasteboard
public static NSPasteboard pasteboardWithName(NSString name)
+(NSPasteboard*)pasteboardWithName:(NSString*)
public static NSPasteboard pasteboardWithUniqueName()
+(NSPasteboard*)pasteboardWithUniqueName
public abstract NSString name()
-(NSString*)name
public abstract NSInteger changeCount()
-(NSInteger)changeCount
public abstract void releaseGlobally()
-(void)releaseGlobally
public abstract NSInteger clearContents()
-(NSInteger)clearContents
public abstract boolean writeObjects(NSArray objects)
-(BOOL)writeObjects:(NSArray*)
public abstract NSArray readObjectsForClasses_options(NSArray classArray, NSDictionary options)
-(NSArray*)readObjectsForClasses:(NSArray*) options:(NSDictionary*)
public abstract NSArray pasteboardItems()
-(NSArray*)pasteboardItems
public abstract NSUInteger indexOfPasteboardItem(NSPasteboardItem pasteboardItem)
-(NSUInteger)indexOfPasteboardItem:(NSPasteboardItem*)
public abstract boolean canReadItemWithDataConformingToTypes(NSArray types)
-(BOOL)canReadItemWithDataConformingToTypes:(NSArray*)
public abstract boolean canReadObjectForClasses_options(NSArray classArray, NSDictionary options)
-(BOOL)canReadObjectForClasses:(NSArray*) options:(NSDictionary*)
public abstract NSInteger declareTypes_owner(NSArray newTypes, ObjCObject newOwner)
-(NSInteger)declareTypes:(NSArray*) owner:(id)
public abstract NSInteger addTypes_owner(NSArray newTypes, ObjCObject newOwner)
-(NSInteger)addTypes:(NSArray*) owner:(id)
public abstract NSArray types()
-(NSArray*)types
public abstract NSString availableTypeFromArray(NSArray types)
-(NSString*)availableTypeFromArray:(NSArray*)
public abstract boolean setData_forType(NSData data, NSString dataType)
-(BOOL)setData:(NSData*) forType:(NSString*)
public abstract boolean setPropertyList_forType(ObjCObject plist, NSString dataType)
-(BOOL)setPropertyList:(id) forType:(NSString*)
public abstract boolean setString_forType(NSString string, NSString dataType)
-(BOOL)setString:(NSString*) forType:(NSString*)
public abstract NSData dataForType(NSString dataType)
-(NSData*)dataForType:(NSString*)
public abstract NSObject propertyListForType(NSString dataType)
-(id)propertyListForType:(NSString*)
public abstract NSString stringForType(NSString dataType)
-(NSString*)stringForType:(NSString*)
public static NSPasteboard alloc()
public static NSPasteboard new_()
public static NSPasteboard._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |