All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Image

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Image

public class Image
extends NativeObject
This class wraps the Objective-C class NSImage.


Variable Index

 o CompositeClear
 o CompositeCopy
 o CompositeDestinationAtop
 o CompositeDestinationIn
 o CompositeDestinationOut
 o CompositeDestinationOver
 o CompositeHighlight
 o CompositePlusDarker
 o CompositePlusLighter
 o CompositeSourceAtop
 o CompositeSourceIn
 o CompositeSourceOut
 o CompositeSourceOver
 o CompositeXOR

Constructor Index

 o Image()
This default constructor is equivalent to Objective-C's [[NSImage alloc] init].
 o Image(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Image(Data)
This constructor has the same effect as calling - initWithData: on a newly allocated object.
 o Image(Pasteboard)
This constructor has the same effect as calling - initWithPasteboard: on a newly allocated object.
 o Image(Size)
This constructor has the same effect as calling - initWithSize: on a newly allocated object.
 o Image(String)
This constructor has the same effect as calling - initWithContentsOfFile: on a newly allocated object.

Method Index

 o addRepresentation(ImageRep)
A wrapper for the - addRepresentation: Objective-C instance method.
 o addRepresentations(Array)
A wrapper for the - addRepresentations: Objective-C instance method.
 o backgroundColor()
A wrapper for the - backgroundColor Objective-C instance method.
 o bestRepresentationForDevice(Dictionary)
A wrapper for the - bestRepresentationForDevice: Objective-C instance method.
 o cacheDepthMatchesImageDepth()
A wrapper for the - cacheDepthMatchesImageDepth Objective-C instance method.
 o canInitWithPasteboard(Pasteboard)
A wrapper for the + canInitWithPasteboard: Objective-C class method.
 o compositeToPoint(Point, int)
A wrapper for the - compositeToPoint:operation: Objective-C instance method.
 o compositeToPointFromRect(Point, Rect, int)
A wrapper for the - compositeToPoint:fromRect:operation: Objective-C instance method.
 o delegate()
A wrapper for the - delegate Objective-C instance method.
 o dissolveToPoint(Point, float)
A wrapper for the - dissolveToPoint:fraction: Objective-C instance method.
 o dissolveToPointFromRect(Point, Rect, float)
A wrapper for the - dissolveToPoint:fromRect:fraction: Objective-C instance method.
 o drawRepresentationInRect(ImageRep, Rect)
A wrapper for the - drawRepresentation:inRect: Objective-C instance method.
 o imageFileTypes()
A wrapper for the + imageFileTypes Objective-C class method.
 o imageNamed(String)
A wrapper for the + imageNamed: Objective-C class method.
 o imagePasteboardTypes()
A wrapper for the + imagePasteboardTypes Objective-C class method.
 o imageUnfilteredFileTypes()
A wrapper for the + imageUnfilteredFileTypes Objective-C class method.
 o imageUnfilteredPasteboardTypes()
A wrapper for the + imageUnfilteredPasteboardTypes Objective-C class method.
 o isCachedSeparately()
A wrapper for the - isCachedSeparately Objective-C instance method.
 o isDataRetained()
A wrapper for the - isDataRetained Objective-C instance method.
 o isFlipped()
A wrapper for the - isFlipped Objective-C instance method.
 o isValid()
A wrapper for the - isValid Objective-C instance method.
 o lockFocus()
A wrapper for the - lockFocus Objective-C instance method.
 o lockFocusOnRepresentation(ImageRep)
A wrapper for the - lockFocusOnRepresentation: Objective-C instance method.
 o matchesOnMultipleResolution()
A wrapper for the - matchesOnMultipleResolution Objective-C instance method.
 o name()
A wrapper for the - name Objective-C instance method.
 o prefersColorMatch()
A wrapper for the - prefersColorMatch Objective-C instance method.
 o recache()
A wrapper for the - recache Objective-C instance method.
 o removeRepresentation(ImageRep)
A wrapper for the - removeRepresentation: Objective-C instance method.
 o representations()
A wrapper for the - representations Objective-C instance method.
 o scalesWhenResized()
A wrapper for the - scalesWhenResized Objective-C instance method.
 o setBackgroundColor(Color)
A wrapper for the - setBackgroundColor: Objective-C instance method.
 o setCacheDepthMatchesImageDepth(boolean)
A wrapper for the - setCacheDepthMatchesImageDepth: Objective-C instance method.
 o setCachedSeparately(boolean)
A wrapper for the - setCachedSeparately: Objective-C instance method.
 o setDataRetained(boolean)
A wrapper for the - setDataRetained: Objective-C instance method.
 o setDelegate(Object)
A wrapper for the - setDelegate: Objective-C instance method.
 o setFlipped(boolean)
A wrapper for the - setFlipped: Objective-C instance method.
 o setMatchesOnMultipleResolution(boolean)
A wrapper for the - setMatchesOnMultipleResolution: Objective-C instance method.
 o setName(String)
A wrapper for the - setName: Objective-C instance method.
 o setPrefersColorMatch(boolean)
A wrapper for the - setPrefersColorMatch: Objective-C instance method.
 o setScalesWhenResized(boolean)
A wrapper for the - setScalesWhenResized: Objective-C instance method.
 o setSize(Size)
A wrapper for the - setSize: Objective-C instance method.
 o setUsesEPSOnResolutionMismatch(boolean)
A wrapper for the - setUsesEPSOnResolutionMismatch: Objective-C instance method.
 o size()
A wrapper for the - size Objective-C instance method.
 o TIFFRepresentation()
A wrapper for the - TIFFRepresentation Objective-C instance method.
 o TIFFRepresentationUsingCompression(int, float)
A wrapper for the - TIFFRepresentationUsingCompression:factor: Objective-C instance method.
 o unlockFocus()
A wrapper for the - unlockFocus Objective-C instance method.
 o usesEPSOnResolutionMismatch()
A wrapper for the - usesEPSOnResolutionMismatch Objective-C instance method.

Variables

 o CompositeClear
 public static final int CompositeClear
 o CompositeCopy
 public static final int CompositeCopy
 o CompositeSourceOver
 public static final int CompositeSourceOver
 o CompositeSourceIn
 public static final int CompositeSourceIn
 o CompositeSourceOut
 public static final int CompositeSourceOut
 o CompositeSourceAtop
 public static final int CompositeSourceAtop
 o CompositeDestinationOver
 public static final int CompositeDestinationOver
 o CompositeDestinationIn
 public static final int CompositeDestinationIn
 o CompositeDestinationOut
 public static final int CompositeDestinationOut
 o CompositeDestinationAtop
 public static final int CompositeDestinationAtop
 o CompositeXOR
 public static final int CompositeXOR
 o CompositePlusDarker
 public static final int CompositePlusDarker
 o CompositeHighlight
 public static final int CompositeHighlight
 o CompositePlusLighter
 public static final int CompositePlusLighter

Constructors

 o Image
 protected Image(boolean shouldAllocate,
                 int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Image
 public Image()
This default constructor is equivalent to Objective-C's [[NSImage alloc] init].

 o Image
 public Image(Size aSize)
This constructor has the same effect as calling - initWithSize: on a newly allocated object.

 o Image
 public Image(Data data)
This constructor has the same effect as calling - initWithData: on a newly allocated object.

 o Image
 public Image(String fileName)
This constructor has the same effect as calling - initWithContentsOfFile: on a newly allocated object.

 o Image
 public Image(Pasteboard pasteboard)
This constructor has the same effect as calling - initWithPasteboard: on a newly allocated object.

Methods

 o imageNamed
 public static native Object imageNamed(String name)
A wrapper for the + imageNamed: Objective-C class method.

 o setSize
 public native void setSize(Size aSize)
A wrapper for the - setSize: Objective-C instance method.

 o size
 public native Size size()
A wrapper for the - size Objective-C instance method.

 o setName
 public native boolean setName(String string)
A wrapper for the - setName: Objective-C instance method.

 o name
 public native String name()
A wrapper for the - name Objective-C instance method.

 o setScalesWhenResized
 public native void setScalesWhenResized(boolean flag)
A wrapper for the - setScalesWhenResized: Objective-C instance method.

 o scalesWhenResized
 public native boolean scalesWhenResized()
A wrapper for the - scalesWhenResized Objective-C instance method.

 o setDataRetained
 public native void setDataRetained(boolean flag)
A wrapper for the - setDataRetained: Objective-C instance method.

 o isDataRetained
 public native boolean isDataRetained()
A wrapper for the - isDataRetained Objective-C instance method.

 o setCachedSeparately
 public native void setCachedSeparately(boolean flag)
A wrapper for the - setCachedSeparately: Objective-C instance method.

 o isCachedSeparately
 public native boolean isCachedSeparately()
A wrapper for the - isCachedSeparately Objective-C instance method.

 o setCacheDepthMatchesImageDepth
 public native void setCacheDepthMatchesImageDepth(boolean flag)
A wrapper for the - setCacheDepthMatchesImageDepth: Objective-C instance method.

 o cacheDepthMatchesImageDepth
 public native boolean cacheDepthMatchesImageDepth()
A wrapper for the - cacheDepthMatchesImageDepth Objective-C instance method.

 o setBackgroundColor
 public native void setBackgroundColor(Color aColor)
A wrapper for the - setBackgroundColor: Objective-C instance method.

 o backgroundColor
 public native Color backgroundColor()
A wrapper for the - backgroundColor Objective-C instance method.

 o setUsesEPSOnResolutionMismatch
 public native void setUsesEPSOnResolutionMismatch(boolean flag)
A wrapper for the - setUsesEPSOnResolutionMismatch: Objective-C instance method.

 o usesEPSOnResolutionMismatch
 public native boolean usesEPSOnResolutionMismatch()
A wrapper for the - usesEPSOnResolutionMismatch Objective-C instance method.

 o setPrefersColorMatch
 public native void setPrefersColorMatch(boolean flag)
A wrapper for the - setPrefersColorMatch: Objective-C instance method.

 o prefersColorMatch
 public native boolean prefersColorMatch()
A wrapper for the - prefersColorMatch Objective-C instance method.

 o setMatchesOnMultipleResolution
 public native void setMatchesOnMultipleResolution(boolean flag)
A wrapper for the - setMatchesOnMultipleResolution: Objective-C instance method.

 o matchesOnMultipleResolution
 public native boolean matchesOnMultipleResolution()
A wrapper for the - matchesOnMultipleResolution Objective-C instance method.

 o dissolveToPoint
 public native void dissolveToPoint(Point point,
                                    float aFloat)
A wrapper for the - dissolveToPoint:fraction: Objective-C instance method.

 o dissolveToPointFromRect
 public native void dissolveToPointFromRect(Point point,
                                            Rect rect,
                                            float aFloat)
A wrapper for the - dissolveToPoint:fromRect:fraction: Objective-C instance method.

 o compositeToPoint
 public native void compositeToPoint(Point point,
                                     int op)
A wrapper for the - compositeToPoint:operation: Objective-C instance method.

 o compositeToPointFromRect
 public native void compositeToPointFromRect(Point point,
                                             Rect rect,
                                             int op)
A wrapper for the - compositeToPoint:fromRect:operation: Objective-C instance method.

 o drawRepresentationInRect
 public native boolean drawRepresentationInRect(ImageRep imageRep,
                                                Rect rect)
A wrapper for the - drawRepresentation:inRect: Objective-C instance method.

 o recache
 public native void recache()
A wrapper for the - recache Objective-C instance method.

 o TIFFRepresentation
 public native Data TIFFRepresentation()
A wrapper for the - TIFFRepresentation Objective-C instance method.

 o TIFFRepresentationUsingCompression
 public native Data TIFFRepresentationUsingCompression(int comp,
                                                       float aFloat)
A wrapper for the - TIFFRepresentationUsingCompression:factor: Objective-C instance method.

 o representations
 public native Array representations()
A wrapper for the - representations Objective-C instance method.

 o addRepresentations
 public native void addRepresentations(Array imageReps)
A wrapper for the - addRepresentations: Objective-C instance method.

 o addRepresentation
 public native void addRepresentation(ImageRep imageRep)
A wrapper for the - addRepresentation: Objective-C instance method.

 o removeRepresentation
 public native void removeRepresentation(ImageRep imageRep)
A wrapper for the - removeRepresentation: Objective-C instance method.

 o isValid
 public native boolean isValid()
A wrapper for the - isValid Objective-C instance method.

 o lockFocus
 public native void lockFocus()
A wrapper for the - lockFocus Objective-C instance method.

 o lockFocusOnRepresentation
 public native void lockFocusOnRepresentation(ImageRep imageRepresentation)
A wrapper for the - lockFocusOnRepresentation: Objective-C instance method.

 o unlockFocus
 public native void unlockFocus()
A wrapper for the - unlockFocus Objective-C instance method.

 o bestRepresentationForDevice
 public native ImageRep bestRepresentationForDevice(Dictionary deviceDescription)
A wrapper for the - bestRepresentationForDevice: Objective-C instance method.

 o setDelegate
 public native void setDelegate(Object anObject)
A wrapper for the - setDelegate: Objective-C instance method.

 o delegate
 public native Object delegate()
A wrapper for the - delegate Objective-C instance method.

 o imageUnfilteredFileTypes
 public static native Array imageUnfilteredFileTypes()
A wrapper for the + imageUnfilteredFileTypes Objective-C class method.

 o imageUnfilteredPasteboardTypes
 public static native Array imageUnfilteredPasteboardTypes()
A wrapper for the + imageUnfilteredPasteboardTypes Objective-C class method.

 o imageFileTypes
 public static native Array imageFileTypes()
A wrapper for the + imageFileTypes Objective-C class method.

 o imagePasteboardTypes
 public static native Array imagePasteboardTypes()
A wrapper for the + imagePasteboardTypes Objective-C class method.

 o canInitWithPasteboard
 public static native boolean canInitWithPasteboard(Pasteboard pasteboard)
A wrapper for the + canInitWithPasteboard: Objective-C class method.

 o setFlipped
 public native void setFlipped(boolean flag)
A wrapper for the - setFlipped: Objective-C instance method.

 o isFlipped
 public native boolean isFlipped()
A wrapper for the - isFlipped Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index