org.rococoa.cocoa.appkit
Class NSImageRep._class_

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSClass
          extended by org.rococoa.cocoa.foundation.NSObject._class_
              extended by org.rococoa.cocoa.appkit.NSImageRep._class_
All Implemented Interfaces:
NSObject, ObjCClass, ObjCObject
Direct Known Subclasses:
NSBitmapImageRep._class_, NSCachedImageRep._class_, NSCIImageRep._class_, NSCustomImageRep._class_, NSEPSImageRep._class_, NSPDFImageRep._class_, NSPICTImageRep._class_
Enclosing class:
NSImageRep

public abstract static class NSImageRep._class_
extends NSObject._class_


Nested Class Summary
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.foundation.NSObject
NSObject._class_
 
Nested classes/interfaces inherited from interface org.rococoa.ObjCClass
ObjCClass._Class
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Field Summary
 
Fields inherited from interface org.rococoa.ObjCClass
CLASS
 
Constructor Summary
NSImageRep._class_()
           
 
Method Summary
abstract  NSImageRep alloc()
          Original signature : +(id)alloc
native declaration : NSObject.h:77
abstract  boolean canInitWithData(NSData data)
          Should be overridden by subclassers to load an unfiltered image.
abstract  boolean canInitWithPasteboard(NSPasteboard pasteboard)
          Convenience method: Checks to see if any of the types on the pasteboard can be understood by a registered imagerep class after filtering or if the pasteboard contains a filename that can be understood by a registered imagerep class after filtering.
abstract  NSArray imageFileTypes()
          These expand the unfiltered lists returned by imageUnfilteredFileTypes and imageUnfilteredPasteboardTypes.
abstract  NSArray imagePasteboardTypes()
          Original signature : +(NSArray*)imagePasteboardTypes
native declaration : NSImageRep.h:93
abstract  ObjCClass imageRepClassForData(NSData data)
          Original signature : +(Class)imageRepClassForData:(NSData*)
native declaration : NSImageRep.h:79
abstract  ObjCClass imageRepClassForFileType(NSString type)
          Original signature : +(Class)imageRepClassForFileType:(NSString*)
native declaration : NSImageRep.h:74
abstract  ObjCClass imageRepClassForPasteboardType(NSString type)
          Original signature : +(Class)imageRepClassForPasteboardType:(NSString*)
native declaration : NSImageRep.h:75
abstract  ObjCClass imageRepClassForType(NSString type)
          Original signature : +(Class)imageRepClassForType:(NSString*)
native declaration : NSImageRep.h:77
abstract  NSArray imageRepsWithContentsOfFile(NSString filename)
          Convenience methods: Checks to see if the provided file or pasteboard types can be understood by a registered imagerep class after filtering; if so, calls imageRepsWithData: or imageRepWithData:.
abstract  NSArray imageRepsWithContentsOfURL(NSURL url)
          Original signature : +(NSArray*)imageRepsWithContentsOfURL:(NSURL*)
native declaration : NSImageRep.h:115
abstract  NSArray imageRepsWithPasteboard(NSPasteboard pasteboard)
          Original signature : +(NSArray*)imageRepsWithPasteboard:(NSPasteboard*)
native declaration : NSImageRep.h:117
abstract  NSImageRep imageRepWithContentsOfFile(NSString filename)
          Original signature : +(id)imageRepWithContentsOfFile:(NSString*)
native declaration : NSImageRep.h:114
abstract  NSImageRep imageRepWithContentsOfURL(NSURL url)
          Original signature : +(id)imageRepWithContentsOfURL:(NSURL*)
native declaration : NSImageRep.h:116
abstract  NSImageRep imageRepWithPasteboard(NSPasteboard pasteboard)
          Original signature : +(id)imageRepWithPasteboard:(NSPasteboard*)
native declaration : NSImageRep.h:118
abstract  NSArray imageTypes()
          This expands the unfiltered list returned by imageUnfilteredTypes.
abstract  NSArray imageUnfilteredFileTypes()
          Implemented by subclassers to indicate what data types they can deal with.
abstract  NSArray imageUnfilteredPasteboardTypes()
          Original signature : +(NSArray*)imageUnfilteredPasteboardTypes
native declaration : NSImageRep.h:88
abstract  NSArray imageUnfilteredTypes()
          Implemented by subclassers to indicate what UTI-identified data types they can deal with.
abstract  NSImageRep new_()
          Original signature : +(id)new
native declaration : NSObject.h:75
abstract  NSArray registeredImageRepClasses()
          Original signature : +(NSArray*)registeredImageRepClasses
native declaration : NSImageRep.h:73
abstract  void registerImageRepClass(ObjCClass imageRepClass)
          Registry management: Subclasses which deal with file & pasteboard types should register themselves.
abstract  void unregisterImageRepClass(ObjCClass imageRepClass)
          Original signature : +(void)unregisterImageRepClass:(Class)
native declaration : NSImageRep.h:72
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject._class_
allocWithZone, asStatic_NSObject_NSAccessibility, asStatic_NSObject_NSAccessibilityAdditions, asStatic_NSObject_NSApplicationScriptingDelegation, asStatic_NSObject_NSArchiverCallback, asStatic_NSObject_NSClassDescriptionPrimitives, asStatic_NSObject_NSCoderMethods, asStatic_NSObject_NSColorPanelResponderMethod, asStatic_NSObject_NSComparisonMethods, asStatic_NSObject_NSControlSubclassNotifications, asStatic_NSObject_NSCopyLinkMoveHandler, asStatic_NSObject_NSDelayedPerforming, asStatic_NSObject_NSDeprecatedKeyValueCoding, asStatic_NSObject_NSDeprecatedKeyValueObservingCustomization, asStatic_NSObject_NSDeprecatedMethods, asStatic_NSObject_NSDictionaryControllerKeyValuePair, asStatic_NSObject_NSDistributedObjects, asStatic_NSObject_NSDraggingDestination, asStatic_NSObject_NSDraggingSource, asStatic_NSObject_NSDraggingSourceDeprecated, asStatic_NSObject_NSEditor, asStatic_NSObject_NSEditorRegistration, asStatic_NSObject_NSErrorRecoveryAttempting, asStatic_NSObject_NSFileManagerFileOperationAdditions, asStatic_NSObject_NSFontManagerDelegate, asStatic_NSObject_NSFontManagerResponderMethod, asStatic_NSObject_NSFontPanelValidationAdditions, asStatic_NSObject_NSKeyValueBindingCreation, asStatic_NSObject_NSKeyValueCoding, asStatic_NSObject_NSKeyValueObserverNotification, asStatic_NSObject_NSKeyValueObserverRegistration, asStatic_NSObject_NSKeyValueObserving, asStatic_NSObject_NSKeyValueObservingCustomization, asStatic_NSObject_NSMenuValidation, asStatic_NSObject_NSNibAwaking, asStatic_NSObject_NSPasteboardOwner, asStatic_NSObject_NSPlaceholders, asStatic_NSObject_NSScriptClassDescription, asStatic_NSObject_NSScripting, asStatic_NSObject_NSScriptingComparisonMethods, asStatic_NSObject_NSScriptKeyValueCoding, asStatic_NSObject_NSScriptObjectSpecifiers, asStatic_NSObject_NSThreadPerformAdditions, asStatic_NSObject_NSURLClient, asStatic_NSObject_NSURLConnectionDelegate, asStatic_NSObject_NSURLDownloadDelegate, class_, conformsToProtocol, copyWithZone, initialize, instanceMethodForSelector, instanceMethodSignatureForSelector, instancesRespondToSelector, isSubclassOfClass, load, mutableCopyWithZone, resolveClassMethod, resolveInstanceMethod, superclass
 
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, getNSClass, 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.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, zone
 

Constructor Detail

NSImageRep._class_

public NSImageRep._class_()
Method Detail

registerImageRepClass

public abstract void registerImageRepClass(ObjCClass imageRepClass)
Registry management: Subclasses which deal with file & pasteboard types should register themselves. These classes should also implement imageUnfilteredFileTypes, imageUnfilteredPasteboardTypes, initWithData:, canInitWithData:, imageRepWithData:, and, if they have the ability to read multiple images from a file, imageRepsWithData:. These last three should not do any filtering; all filtering is automatic.
Original signature : +(void)registerImageRepClass:(Class)
native declaration : NSImageRep.h:71


unregisterImageRepClass

public abstract void unregisterImageRepClass(ObjCClass imageRepClass)
Original signature : +(void)unregisterImageRepClass:(Class)
native declaration : NSImageRep.h:72


registeredImageRepClasses

public abstract NSArray registeredImageRepClasses()
Original signature : +(NSArray*)registeredImageRepClasses
native declaration : NSImageRep.h:73


imageRepClassForFileType

public abstract ObjCClass imageRepClassForFileType(NSString type)
Original signature : +(Class)imageRepClassForFileType:(NSString*)
native declaration : NSImageRep.h:74


imageRepClassForPasteboardType

public abstract ObjCClass imageRepClassForPasteboardType(NSString type)
Original signature : +(Class)imageRepClassForPasteboardType:(NSString*)
native declaration : NSImageRep.h:75


imageRepClassForType

public abstract ObjCClass imageRepClassForType(NSString type)
Original signature : +(Class)imageRepClassForType:(NSString*)
native declaration : NSImageRep.h:77


imageRepClassForData

public abstract ObjCClass imageRepClassForData(NSData data)
Original signature : +(Class)imageRepClassForData:(NSData*)
native declaration : NSImageRep.h:79


canInitWithData

public abstract boolean canInitWithData(NSData data)
Should be overridden by subclassers to load an unfiltered image.
Original signature : +(BOOL)canInitWithData:(NSData*)
native declaration : NSImageRep.h:83


imageUnfilteredFileTypes

public abstract NSArray imageUnfilteredFileTypes()
Implemented by subclassers to indicate what data types they can deal with.
Original signature : +(NSArray*)imageUnfilteredFileTypes
native declaration : NSImageRep.h:87


imageUnfilteredPasteboardTypes

public abstract NSArray imageUnfilteredPasteboardTypes()
Original signature : +(NSArray*)imageUnfilteredPasteboardTypes
native declaration : NSImageRep.h:88


imageFileTypes

public abstract NSArray imageFileTypes()
These expand the unfiltered lists returned by imageUnfilteredFileTypes and imageUnfilteredPasteboardTypes.
Original signature : +(NSArray*)imageFileTypes
native declaration : NSImageRep.h:92


imagePasteboardTypes

public abstract NSArray imagePasteboardTypes()
Original signature : +(NSArray*)imagePasteboardTypes
native declaration : NSImageRep.h:93


imageUnfilteredTypes

public abstract NSArray imageUnfilteredTypes()
Implemented by subclassers to indicate what UTI-identified data types they can deal with.
Original signature : +(NSArray*)imageUnfilteredTypes
native declaration : NSImageRep.h:99


imageTypes

public abstract NSArray imageTypes()
This expands the unfiltered list returned by imageUnfilteredTypes.
Original signature : +(NSArray*)imageTypes
native declaration : NSImageRep.h:103


canInitWithPasteboard

public abstract boolean canInitWithPasteboard(NSPasteboard pasteboard)
Convenience method: Checks to see if any of the types on the pasteboard can be understood by a registered imagerep class after filtering or if the pasteboard contains a filename that can be understood by a registered imagerep class after filtering. If sent to a subclass, does this for just the types understood by the subclass.
Original signature : +(BOOL)canInitWithPasteboard:(NSPasteboard*)
native declaration : NSImageRep.h:109


imageRepsWithContentsOfFile

public abstract NSArray imageRepsWithContentsOfFile(NSString filename)
Convenience methods: Checks to see if the provided file or pasteboard types can be understood by a registered imagerep class after filtering; if so, calls imageRepsWithData: or imageRepWithData:. If sent to a subclass, does this just for the types understood by that subclass.
Original signature : +(NSArray*)imageRepsWithContentsOfFile:(NSString*)
native declaration : NSImageRep.h:113


imageRepWithContentsOfFile

public abstract NSImageRep imageRepWithContentsOfFile(NSString filename)
Original signature : +(id)imageRepWithContentsOfFile:(NSString*)
native declaration : NSImageRep.h:114


imageRepsWithContentsOfURL

public abstract NSArray imageRepsWithContentsOfURL(NSURL url)
Original signature : +(NSArray*)imageRepsWithContentsOfURL:(NSURL*)
native declaration : NSImageRep.h:115


imageRepWithContentsOfURL

public abstract NSImageRep imageRepWithContentsOfURL(NSURL url)
Original signature : +(id)imageRepWithContentsOfURL:(NSURL*)
native declaration : NSImageRep.h:116


imageRepsWithPasteboard

public abstract NSArray imageRepsWithPasteboard(NSPasteboard pasteboard)
Original signature : +(NSArray*)imageRepsWithPasteboard:(NSPasteboard*)
native declaration : NSImageRep.h:117


imageRepWithPasteboard

public abstract NSImageRep imageRepWithPasteboard(NSPasteboard pasteboard)
Original signature : +(id)imageRepWithPasteboard:(NSPasteboard*)
native declaration : NSImageRep.h:118


alloc

public abstract NSImageRep alloc()
Description copied from class: NSObject._class_
Original signature : +(id)alloc
native declaration : NSObject.h:77

Specified by:
alloc in class NSObject._class_

new_

public abstract NSImageRep new_()
Description copied from class: NSObject._class_
Original signature : +(id)new
native declaration : NSObject.h:75

Specified by:
new_ in class NSObject._class_


Copyright © 2009. All Rights Reserved.