org.rococoa.cocoa.appkit
Class NSPasteboardItem

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSPasteboardItem
All Implemented Interfaces:
NSPasteboardWriting, NSObject, ObjCObject

public abstract class NSPasteboardItem
extends NSObject
implements ObjCObject, NSPasteboardWriting

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 NSPasteboardItem._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSPasteboardWriting
NSPasteboardWriting._static_
 
Constructor Summary
NSPasteboardItem()
           
 
Method Summary
static NSPasteboardItem alloc()
           
abstract  NSString availableTypeFromArray(NSArray types)
          Given an array of types, will return the first type contained in the pasteboard item, according to the sender's ordering of types.
abstract  NSData dataForType(NSString type)
          Returns a value for the provided UTI type string.
static NSPasteboardItem._class_ getNSClass()
           
static NSPasteboardItem new_()
           
abstract  NSObject propertyListForType(NSString type)
          Original signature : -(id)propertyListForType:(NSString*)
native declaration : NSPasteboardItem.h:67
abstract  boolean setData_forType(NSData data, NSString type)
          Sets a value for the provided UTI type string.
abstract  boolean setDataProvider_forTypes(NSPasteboardItemDataProvider dataProvider, NSArray types)
          Promises the types and registers the data provider to be messaged to provide the data for that type when requested.
abstract  boolean setPropertyList_forType(ObjCObject propertyList, NSString type)
          Original signature : -(BOOL)setPropertyList:(id) forType:(NSString*)
native declaration : NSPasteboardItem.h:61
abstract  boolean setString_forType(NSString string, NSString type)
          Original signature : -(BOOL)setString:(NSString*) forType:(NSString*)
native declaration : NSPasteboardItem.h:60
abstract  NSString stringForType(NSString type)
          Original signature : -(NSString*)stringForType:(NSString*)
native declaration : NSPasteboardItem.h:66
abstract  NSArray types()
          Returns an array of UTI strings of the data types supported by the receiver.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Constructor Detail

NSPasteboardItem

public NSPasteboardItem()
Method Detail

types

public abstract NSArray types()
Returns an array of UTI strings of the data types supported by the receiver.
Original signature : -(NSArray*)types
native declaration : NSPasteboardItem.h:47


availableTypeFromArray

public abstract NSString availableTypeFromArray(NSArray types)
Given an array of types, will return the first type contained in the pasteboard item, according to the sender's ordering of types. It will check for UTI conformance of the requested types, preferring an exact match to conformance.
Original signature : -(NSString*)availableTypeFromArray:(NSArray*)
native declaration : NSPasteboardItem.h:51


setDataProvider_forTypes

public abstract boolean setDataProvider_forTypes(NSPasteboardItemDataProvider dataProvider,
                                                 NSArray types)
Promises the types and registers the data provider to be messaged to provide the data for that type when requested.
Original signature : -(BOOL)setDataProvider:(id) forTypes:(NSArray*)
native declaration : NSPasteboardItem.h:55


setData_forType

public abstract boolean setData_forType(NSData data,
                                        NSString type)
Sets a value for the provided UTI type string.
Original signature : -(BOOL)setData:(NSData*) forType:(NSString*)
native declaration : NSPasteboardItem.h:59


setString_forType

public abstract boolean setString_forType(NSString string,
                                          NSString type)
Original signature : -(BOOL)setString:(NSString*) forType:(NSString*)
native declaration : NSPasteboardItem.h:60


setPropertyList_forType

public abstract boolean setPropertyList_forType(ObjCObject propertyList,
                                                NSString type)
Original signature : -(BOOL)setPropertyList:(id) forType:(NSString*)
native declaration : NSPasteboardItem.h:61


dataForType

public abstract NSData dataForType(NSString type)
Returns a value for the provided UTI type string.
Original signature : -(NSData*)dataForType:(NSString*)
native declaration : NSPasteboardItem.h:65


stringForType

public abstract NSString stringForType(NSString type)
Original signature : -(NSString*)stringForType:(NSString*)
native declaration : NSPasteboardItem.h:66


propertyListForType

public abstract NSObject propertyListForType(NSString type)
Original signature : -(id)propertyListForType:(NSString*)
native declaration : NSPasteboardItem.h:67


alloc

public static NSPasteboardItem alloc()

new_

public static NSPasteboardItem new_()

getNSClass

public static NSPasteboardItem._class_ getNSClass()


Copyright © 2009. All Rights Reserved.