|
||||||||||
| 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.NSImageRep
public abstract class NSImageRep
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 |
NSImageRep.__repFlags
|
static class |
NSImageRep._class_
|
| Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying |
|---|
NSCopying._static_ |
| Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding |
|---|
NSCoding._static_ |
| Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
|---|
NSObject._static_ |
| Constructor Summary | |
|---|---|
NSImageRep()
|
|
| Method Summary | |
|---|---|
static NSImageRep |
alloc()
|
abstract NSInteger |
bitsPerSample()
Original signature : -(NSInteger)bitsPerSamplenative declaration : NSImageRep.h:60 |
static boolean |
canInitWithData(NSData data)
Should be overridden by subclassers to load an unfiltered image. |
static 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 NSObject |
CGImageForProposedRect_context_hints(NSRect proposedDestRect,
NSGraphicsContext context,
NSDictionary hints)
The parameters have the same meaning and behavior as in -[NSImage CGImageForProposedRect:context:hints:]. |
abstract NSString |
colorSpaceName()
Original signature : -(NSString*)colorSpaceNamenative declaration : NSImageRep.h:58 |
abstract boolean |
draw()
Drawing methods. draw is the only primitive. |
static NSImageRep._class_ |
getNSClass()
|
abstract boolean |
hasAlpha()
Original signature : -(BOOL)hasAlphanative declaration : NSImageRep.h:54 |
static NSArray |
imageFileTypes()
These expand the unfiltered lists returned by imageUnfilteredFileTypes and imageUnfilteredPasteboardTypes. |
static NSArray |
imagePasteboardTypes()
Original signature : +(NSArray*)imagePasteboardTypesnative declaration : NSImageRep.h:93 |
static ObjCClass |
imageRepClassForData(NSData data)
Original signature : +(Class)imageRepClassForData:(NSData*)native declaration : NSImageRep.h:79 |
static ObjCClass |
imageRepClassForFileType(NSString type)
Original signature : +(Class)imageRepClassForFileType:(NSString*)native declaration : NSImageRep.h:74 |
static ObjCClass |
imageRepClassForPasteboardType(NSString type)
Original signature : +(Class)imageRepClassForPasteboardType:(NSString*)native declaration : NSImageRep.h:75 |
static ObjCClass |
imageRepClassForType(NSString type)
Original signature : +(Class)imageRepClassForType:(NSString*)native declaration : NSImageRep.h:77 |
static 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:. |
static NSArray |
imageRepsWithContentsOfURL(NSURL url)
Original signature : +(NSArray*)imageRepsWithContentsOfURL:(NSURL*)native declaration : NSImageRep.h:115 |
static NSArray |
imageRepsWithPasteboard(NSPasteboard pasteboard)
Original signature : +(NSArray*)imageRepsWithPasteboard:(NSPasteboard*)native declaration : NSImageRep.h:117 |
static NSImageRep |
imageRepWithContentsOfFile(NSString filename)
Original signature : +(id)imageRepWithContentsOfFile:(NSString*)native declaration : NSImageRep.h:114 |
static NSImageRep |
imageRepWithContentsOfURL(NSURL url)
Original signature : +(id)imageRepWithContentsOfURL:(NSURL*)native declaration : NSImageRep.h:116 |
static NSImageRep |
imageRepWithPasteboard(NSPasteboard pasteboard)
Original signature : +(id)imageRepWithPasteboard:(NSPasteboard*)native declaration : NSImageRep.h:118 |
static NSArray |
imageTypes()
This expands the unfiltered list returned by imageUnfilteredTypes. |
static NSArray |
imageUnfilteredFileTypes()
Implemented by subclassers to indicate what data types they can deal with. |
static NSArray |
imageUnfilteredPasteboardTypes()
Original signature : +(NSArray*)imageUnfilteredPasteboardTypesnative declaration : NSImageRep.h:88 |
static NSArray |
imageUnfilteredTypes()
Implemented by subclassers to indicate what UTI-identified data types they can deal with. |
abstract boolean |
isOpaque()
Original signature : -(BOOL)isOpaquenative declaration : NSImageRep.h:56 |
static NSImageRep |
new_()
|
abstract NSInteger |
pixelsHigh()
Original signature : -(NSInteger)pixelsHighnative declaration : NSImageRep.h:64 |
abstract NSInteger |
pixelsWide()
Original signature : -(NSInteger)pixelsWidenative declaration : NSImageRep.h:62 |
static NSArray |
registeredImageRepClasses()
Original signature : +(NSArray*)registeredImageRepClassesnative declaration : NSImageRep.h:73 |
static void |
registerImageRepClass(ObjCClass imageRepClass)
Registry management: Subclasses which deal with file & pasteboard types should register themselves. |
abstract void |
setAlpha(boolean flag)
Original signature : -(void)setAlpha:(BOOL)native declaration : NSImageRep.h:53 |
abstract void |
setBitsPerSample(NSInteger anInt)
Original signature : -(void)setBitsPerSample:(NSInteger)native declaration : NSImageRep.h:59 |
abstract void |
setColorSpaceName(NSString string)
Original signature : -(void)setColorSpaceName:(NSString*)native declaration : NSImageRep.h:57 |
abstract void |
setOpaque(boolean flag)
Original signature : -(void)setOpaque:(BOOL)native declaration : NSImageRep.h:55 |
abstract void |
setPixelsHigh(NSInteger anInt)
Original signature : -(void)setPixelsHigh:(NSInteger)native declaration : NSImageRep.h:63 |
abstract void |
setPixelsWide(NSInteger anInt)
Original signature : -(void)setPixelsWide:(NSInteger)native declaration : NSImageRep.h:61 |
abstract void |
setSize(NSSize.ByValue aSize)
Methods to return info about the image. |
abstract NSSize.ByValue |
size()
Original signature : -(NSSize)sizenative declaration : NSImageRep.h:52 |
static void |
unregisterImageRepClass(ObjCClass imageRepClass)
Original signature : +(void)unregisterImageRepClass:(Class)native declaration : NSImageRep.h:72 |
| 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.NSCopying |
|---|
copyWithZone |
| Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding |
|---|
encodeWithCoder, initWithCoder |
| 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 NSImageRep()
| Method Detail |
|---|
public abstract boolean draw()
-(BOOL)draw
public abstract void setSize(NSSize.ByValue aSize)
-(void)setSize:(NSSize)
public abstract NSSize.ByValue size()
-(NSSize)size
public abstract void setAlpha(boolean flag)
-(void)setAlpha:(BOOL)
public abstract boolean hasAlpha()
-(BOOL)hasAlpha
public abstract void setOpaque(boolean flag)
-(void)setOpaque:(BOOL)
public abstract boolean isOpaque()
-(BOOL)isOpaque
public abstract void setColorSpaceName(NSString string)
-(void)setColorSpaceName:(NSString*)
public abstract NSString colorSpaceName()
-(NSString*)colorSpaceName
public abstract void setBitsPerSample(NSInteger anInt)
-(void)setBitsPerSample:(NSInteger)
public abstract NSInteger bitsPerSample()
-(NSInteger)bitsPerSample
public abstract void setPixelsWide(NSInteger anInt)
-(void)setPixelsWide:(NSInteger)
public abstract NSInteger pixelsWide()
-(NSInteger)pixelsWide
public abstract void setPixelsHigh(NSInteger anInt)
-(void)setPixelsHigh:(NSInteger)
public abstract NSInteger pixelsHigh()
-(NSInteger)pixelsHigh
public static void registerImageRepClass(ObjCClass imageRepClass)
+(void)registerImageRepClass:(Class)
public static void unregisterImageRepClass(ObjCClass imageRepClass)
+(void)unregisterImageRepClass:(Class)
public static NSArray registeredImageRepClasses()
+(NSArray*)registeredImageRepClasses
public static ObjCClass imageRepClassForFileType(NSString type)
+(Class)imageRepClassForFileType:(NSString*)
public static ObjCClass imageRepClassForPasteboardType(NSString type)
+(Class)imageRepClassForPasteboardType:(NSString*)
public static ObjCClass imageRepClassForType(NSString type)
+(Class)imageRepClassForType:(NSString*)
public static ObjCClass imageRepClassForData(NSData data)
+(Class)imageRepClassForData:(NSData*)
public static boolean canInitWithData(NSData data)
+(BOOL)canInitWithData:(NSData*)
public static NSArray imageUnfilteredFileTypes()
+(NSArray*)imageUnfilteredFileTypes
public static NSArray imageUnfilteredPasteboardTypes()
+(NSArray*)imageUnfilteredPasteboardTypes
public static NSArray imageFileTypes()
+(NSArray*)imageFileTypes
public static NSArray imagePasteboardTypes()
+(NSArray*)imagePasteboardTypes
public static NSArray imageUnfilteredTypes()
+(NSArray*)imageUnfilteredTypes
public static NSArray imageTypes()
+(NSArray*)imageTypes
public static boolean canInitWithPasteboard(NSPasteboard pasteboard)
+(BOOL)canInitWithPasteboard:(NSPasteboard*)
public static NSArray imageRepsWithContentsOfFile(NSString filename)
+(NSArray*)imageRepsWithContentsOfFile:(NSString*)
public static NSImageRep imageRepWithContentsOfFile(NSString filename)
+(id)imageRepWithContentsOfFile:(NSString*)
public static NSArray imageRepsWithContentsOfURL(NSURL url)
+(NSArray*)imageRepsWithContentsOfURL:(NSURL*)
public static NSImageRep imageRepWithContentsOfURL(NSURL url)
+(id)imageRepWithContentsOfURL:(NSURL*)
public static NSArray imageRepsWithPasteboard(NSPasteboard pasteboard)
+(NSArray*)imageRepsWithPasteboard:(NSPasteboard*)
public static NSImageRep imageRepWithPasteboard(NSPasteboard pasteboard)
+(id)imageRepWithPasteboard:(NSPasteboard*)
public abstract NSObject CGImageForProposedRect_context_hints(NSRect proposedDestRect,
NSGraphicsContext context,
NSDictionary hints)
-(id)CGImageForProposedRect:(NSRect*) context:(NSGraphicsContext*) hints:(NSDictionary*)
public static NSImageRep alloc()
public static NSImageRep new_()
public static NSImageRep._class_ getNSClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||