Package org.eclipse.swt.internal.cocoa
Class NSImage
- java.lang.Object
-
- org.eclipse.swt.internal.cocoa.id
-
- org.eclipse.swt.internal.cocoa.NSObject
-
- org.eclipse.swt.internal.cocoa.NSImage
-
public class NSImage extends NSObject
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRepresentation(NSImageRep imageRep)
NSImageRep
bestRepresentationForDevice(NSDictionary deviceDescription)
void
drawInRect(NSRect rect, NSRect fromRect, long op, double delta)
static NSImage
imageNamed(NSString name)
NSImage
initByReferencingFile(NSString fileName)
NSImage
initWithContentsOfFile(NSString fileName)
NSImage
initWithData(NSData data)
NSImage
initWithIconRef(long iconRef)
NSImage
initWithSize(NSSize aSize)
void
lockFocus()
void
removeRepresentation(NSImageRep imageRep)
NSArray
representations()
void
setCacheMode(long cacheMode)
void
setScalesWhenResized(boolean flag)
void
setSize(NSSize size)
NSSize
size()
NSData
TIFFRepresentation()
void
unlockFocus()
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSImage
public NSImage()
-
NSImage
public NSImage(long id)
-
NSImage
public NSImage(id id)
-
-
Method Detail
-
TIFFRepresentation
public NSData TIFFRepresentation()
-
addRepresentation
public void addRepresentation(NSImageRep imageRep)
-
bestRepresentationForDevice
public NSImageRep bestRepresentationForDevice(NSDictionary deviceDescription)
-
initWithIconRef
public NSImage initWithIconRef(long iconRef)
-
lockFocus
public void lockFocus()
-
removeRepresentation
public void removeRepresentation(NSImageRep imageRep)
-
representations
public NSArray representations()
-
setCacheMode
public void setCacheMode(long cacheMode)
-
setScalesWhenResized
public void setScalesWhenResized(boolean flag)
-
setSize
public void setSize(NSSize size)
-
size
public NSSize size()
-
unlockFocus
public void unlockFocus()
-
-