NSImageDelegate class interface

NSImageDelegate

Constructors

NSImageDelegate.castFrom(ObjCObjectBase other)
Constructs a NSImageDelegate that points to the same underlying object as other.
NSImageDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSImageDelegate that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
image_didLoadPartOfRepresentation_withValidRows_ → ObjCProtocolListenableMethod<void Function(NSImage, NSImageRep, DartNSInteger)>
image:didLoadPartOfRepresentation:withValidRows:
final
image_didLoadRepresentation_withStatus_ → ObjCProtocolListenableMethod<void Function(NSImage, NSImageRep, NSImageLoadStatus)>
image:didLoadRepresentation:withStatus:
final
image_didLoadRepresentationHeader_ → ObjCProtocolListenableMethod<void Function(NSImage, NSImageRep)>
image:didLoadRepresentationHeader:
final
image_willLoadRepresentation_ → ObjCProtocolListenableMethod<void Function(NSImage, NSImageRep)>
image:willLoadRepresentation:
final
imageDidNotDraw_inRect_ → ObjCProtocolMethod<NSImage? Function(NSImage, NSRect)>
imageDidNotDraw:inRect:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {NSImage? imageDidNotDraw_inRect_(NSImage, NSRect)?, void image_willLoadRepresentation_(NSImage, NSImageRep)?, void image_didLoadRepresentationHeader_(NSImage, NSImageRep)?, void image_didLoadPartOfRepresentation_withValidRows_(NSImage, NSImageRep, DartNSInteger)?, void image_didLoadRepresentation_withStatus_(NSImage, NSImageRep, NSImageLoadStatus)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSImageDelegate protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {NSImage? imageDidNotDraw_inRect_(NSImage, NSRect)?, void image_willLoadRepresentation_(NSImage, NSImageRep)?, void image_didLoadRepresentationHeader_(NSImage, NSImageRep)?, void image_didLoadPartOfRepresentation_withValidRows_(NSImage, NSImageRep, DartNSInteger)?, void image_didLoadRepresentation_withStatus_(NSImage, NSImageRep, NSImageLoadStatus)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSImageDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {NSImage? imageDidNotDraw_inRect_(NSImage, NSRect)?, void image_willLoadRepresentation_(NSImage, NSImageRep)?, void image_didLoadRepresentationHeader_(NSImage, NSImageRep)?, void image_didLoadPartOfRepresentation_withValidRows_(NSImage, NSImageRep, DartNSInteger)?, void image_didLoadRepresentation_withStatus_(NSImage, NSImageRep, NSImageLoadStatus)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSImageDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSImageDelegate.
implement({NSImage? imageDidNotDraw_inRect_(NSImage, NSRect)?, void image_willLoadRepresentation_(NSImage, NSImageRep)?, void image_didLoadRepresentationHeader_(NSImage, NSImageRep)?, void image_didLoadPartOfRepresentation_withValidRows_(NSImage, NSImageRep, DartNSInteger)?, void image_didLoadRepresentation_withStatus_(NSImage, NSImageRep, NSImageLoadStatus)?, bool $keepIsolateAlive = true}) → NSImageDelegate
Builds an object that implements the NSImageDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({NSImage? imageDidNotDraw_inRect_(NSImage, NSRect)?, void image_willLoadRepresentation_(NSImage, NSImageRep)?, void image_didLoadRepresentationHeader_(NSImage, NSImageRep)?, void image_didLoadPartOfRepresentation_withValidRows_(NSImage, NSImageRep, DartNSInteger)?, void image_didLoadRepresentation_withStatus_(NSImage, NSImageRep, NSImageLoadStatus)?, bool $keepIsolateAlive = true}) → NSImageDelegate
Builds an object that implements the NSImageDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({NSImage? imageDidNotDraw_inRect_(NSImage, NSRect)?, void image_willLoadRepresentation_(NSImage, NSImageRep)?, void image_didLoadRepresentationHeader_(NSImage, NSImageRep)?, void image_didLoadPartOfRepresentation_withValidRows_(NSImage, NSImageRep, DartNSInteger)?, void image_didLoadRepresentation_withStatus_(NSImage, NSImageRep, NSImageLoadStatus)?, bool $keepIsolateAlive = true}) → NSImageDelegate
Builds an object that implements the NSImageDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.