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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRepresentation
(NSImageRep imageRep) bestRepresentationForDevice
(NSDictionary deviceDescription) void
drawAtPoint
(NSPoint point, NSRect fromRect, long op, double delta) void
drawInRect
(NSRect rect, NSRect fromRect, long op, double delta) static NSImage
imageNamed
(NSString name) initByReferencingFile
(NSString fileName) initWithContentsOfFile
(NSString fileName) initWithData
(NSData data) initWithIconRef
(long iconRef) initWithSize
(NSSize aSize) void
void
removeRepresentation
(NSImageRep imageRep) void
setCacheMode
(long cacheMode) void
setScalesWhenResized
(boolean flag) void
size()
void
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, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSImage
public NSImage() -
NSImage
public NSImage(long id) -
NSImage
-
-
Method Details
-
TIFFRepresentation
-
addRepresentation
-
bestRepresentationForDevice
-
drawAtPoint
-
drawInRect
-
imageNamed
-
initByReferencingFile
-
initWithContentsOfFile
-
initWithData
-
initWithIconRef
-
initWithSize
-
lockFocus
public void lockFocus() -
removeRepresentation
-
representations
-
setCacheMode
public void setCacheMode(long cacheMode) -
setScalesWhenResized
public void setScalesWhenResized(boolean flag) -
setSize
-
size
-
unlockFocus
public void unlockFocus()
-