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 TypeMethodDescriptionvoidaddRepresentation(NSImageRep imageRep) bestRepresentationForDevice(NSDictionary deviceDescription) voiddrawAtPoint(NSPoint point, NSRect fromRect, long op, double delta) voiddrawInRect(NSRect rect, NSRect fromRect, long op, double delta) static NSImageimageNamed(NSString name) initByReferencingFile(NSString fileName) initWithContentsOfFile(NSString fileName) initWithData(NSData data) initWithIconRef(long iconRef) initWithSize(NSSize aSize) voidvoidremoveRepresentation(NSImageRep imageRep) voidsetCacheMode(long cacheMode) voidsetScalesWhenResized(boolean flag) voidsize()voidMethods inherited from class 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, writeSelectionToPasteboardMethods inherited from class 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()
-