NSPopoverDelegate class interface

NSPopoverDelegate

Constructors

NSPopoverDelegate.castFrom(ObjCObjectBase other)
Constructs a NSPopoverDelegate that points to the same underlying object as other.
NSPopoverDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSPopoverDelegate 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
detachableWindowForPopover_ → ObjCProtocolMethod<NSWindow? Function(NSPopover)>
detachableWindowForPopover:
final
popoverDidClose_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
popoverDidClose:
final
popoverDidDetach_ → ObjCProtocolListenableMethod<void Function(NSPopover)>
popoverDidDetach:
final
popoverDidShow_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
popoverDidShow:
final
popoverShouldClose_ → ObjCProtocolMethod<bool Function(NSPopover)>
popoverShouldClose:
final
popoverShouldDetach_ → ObjCProtocolMethod<bool Function(NSPopover)>
popoverShouldDetach:
final
popoverWillClose_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
popoverWillClose:
final
popoverWillShow_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
popoverWillShow:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {bool popoverShouldClose_(NSPopover)?, bool popoverShouldDetach_(NSPopover)?, void popoverDidDetach_(NSPopover)?, NSWindow? detachableWindowForPopover_(NSPopover)?, void popoverWillShow_(NSNotification)?, void popoverDidShow_(NSNotification)?, void popoverWillClose_(NSNotification)?, void popoverDidClose_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSPopoverDelegate protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {bool popoverShouldClose_(NSPopover)?, bool popoverShouldDetach_(NSPopover)?, void popoverDidDetach_(NSPopover)?, NSWindow? detachableWindowForPopover_(NSPopover)?, void popoverWillShow_(NSNotification)?, void popoverDidShow_(NSNotification)?, void popoverWillClose_(NSNotification)?, void popoverDidClose_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSPopoverDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {bool popoverShouldClose_(NSPopover)?, bool popoverShouldDetach_(NSPopover)?, void popoverDidDetach_(NSPopover)?, NSWindow? detachableWindowForPopover_(NSPopover)?, void popoverWillShow_(NSNotification)?, void popoverDidShow_(NSNotification)?, void popoverWillClose_(NSNotification)?, void popoverDidClose_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSPopoverDelegate 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 NSPopoverDelegate.
implement({bool popoverShouldClose_(NSPopover)?, bool popoverShouldDetach_(NSPopover)?, void popoverDidDetach_(NSPopover)?, NSWindow? detachableWindowForPopover_(NSPopover)?, void popoverWillShow_(NSNotification)?, void popoverDidShow_(NSNotification)?, void popoverWillClose_(NSNotification)?, void popoverDidClose_(NSNotification)?, bool $keepIsolateAlive = true}) → NSPopoverDelegate
Builds an object that implements the NSPopoverDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({bool popoverShouldClose_(NSPopover)?, bool popoverShouldDetach_(NSPopover)?, void popoverDidDetach_(NSPopover)?, NSWindow? detachableWindowForPopover_(NSPopover)?, void popoverWillShow_(NSNotification)?, void popoverDidShow_(NSNotification)?, void popoverWillClose_(NSNotification)?, void popoverDidClose_(NSNotification)?, bool $keepIsolateAlive = true}) → NSPopoverDelegate
Builds an object that implements the NSPopoverDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({bool popoverShouldClose_(NSPopover)?, bool popoverShouldDetach_(NSPopover)?, void popoverDidDetach_(NSPopover)?, NSWindow? detachableWindowForPopover_(NSPopover)?, void popoverWillShow_(NSNotification)?, void popoverDidShow_(NSNotification)?, void popoverWillClose_(NSNotification)?, void popoverDidClose_(NSNotification)?, bool $keepIsolateAlive = true}) → NSPopoverDelegate
Builds an object that implements the NSPopoverDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.