NSToolbarDelegate class interface
NSToolbarDelegate
Constructors
- NSToolbarDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSToolbarDelegate that points to the same underlying object as
other. -
NSToolbarDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSToolbarDelegate 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.Protocolobject for this protocol.no setter -
toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_
→ ObjCProtocolMethod<
NSToolbarItem? Function(NSToolbar, DartNSToolbarItemIdentifier, bool)> -
toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:
final
-
toolbar_itemIdentifier_canBeInsertedAtIndex_
→ ObjCProtocolMethod<
bool Function(NSToolbar, DartNSToolbarItemIdentifier, DartNSInteger)> -
toolbar:itemIdentifier:canBeInsertedAtIndex:
final
-
toolbarAllowedItemIdentifiers_
→ ObjCProtocolMethod<
NSArray Function(NSToolbar)> -
toolbarAllowedItemIdentifiers:
final
-
toolbarDefaultItemIdentifiers_
→ ObjCProtocolMethod<
NSArray Function(NSToolbar)> -
toolbarDefaultItemIdentifiers:
final
-
toolbarDidRemoveItem_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
toolbarDidRemoveItem:
final
-
toolbarImmovableItemIdentifiers_
→ ObjCProtocolMethod<
NSSet Function(NSToolbar)> -
toolbarImmovableItemIdentifiers:
final
-
toolbarSelectableItemIdentifiers_
→ ObjCProtocolMethod<
NSArray Function(NSToolbar)> -
toolbarSelectableItemIdentifiers:
final
-
toolbarWillAddItem_
→ ObjCProtocolListenableMethod<
void Function(NSNotification obj)> -
toolbarWillAddItem:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {NSToolbarItem? toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_(NSToolbar, DartNSToolbarItemIdentifier, bool)?, NSArray toolbarDefaultItemIdentifiers_(NSToolbar)?, NSArray toolbarAllowedItemIdentifiers_(NSToolbar)?, NSArray toolbarSelectableItemIdentifiers_(NSToolbar)?, NSSet toolbarImmovableItemIdentifiers_(NSToolbar)?, bool toolbar_itemIdentifier_canBeInsertedAtIndex_(NSToolbar, DartNSToolbarItemIdentifier, DartNSInteger)?, void toolbarWillAddItem_(NSNotification)?, void toolbarDidRemoveItem_(NSNotification)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSToolbarDelegate protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {NSToolbarItem? toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_(NSToolbar, DartNSToolbarItemIdentifier, bool)?, NSArray toolbarDefaultItemIdentifiers_(NSToolbar)?, NSArray toolbarAllowedItemIdentifiers_(NSToolbar)?, NSArray toolbarSelectableItemIdentifiers_(NSToolbar)?, NSSet toolbarImmovableItemIdentifiers_(NSToolbar)?, bool toolbar_itemIdentifier_canBeInsertedAtIndex_(NSToolbar, DartNSToolbarItemIdentifier, DartNSInteger)?, void toolbarWillAddItem_(NSNotification)?, void toolbarDidRemoveItem_(NSNotification)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSToolbarDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {NSToolbarItem? toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_(NSToolbar, DartNSToolbarItemIdentifier, bool)?, NSArray toolbarDefaultItemIdentifiers_(NSToolbar)?, NSArray toolbarAllowedItemIdentifiers_(NSToolbar)?, NSArray toolbarSelectableItemIdentifiers_(NSToolbar)?, NSSet toolbarImmovableItemIdentifiers_(NSToolbar)?, bool toolbar_itemIdentifier_canBeInsertedAtIndex_(NSToolbar, DartNSToolbarItemIdentifier, DartNSInteger)?, void toolbarWillAddItem_(NSNotification)?, void toolbarDidRemoveItem_(NSNotification)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSToolbarDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSToolbarDelegate. -
implement(
{NSToolbarItem? toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_(NSToolbar, DartNSToolbarItemIdentifier, bool)?, NSArray toolbarDefaultItemIdentifiers_(NSToolbar)?, NSArray toolbarAllowedItemIdentifiers_(NSToolbar)?, NSArray toolbarSelectableItemIdentifiers_(NSToolbar)?, NSSet toolbarImmovableItemIdentifiers_(NSToolbar)?, bool toolbar_itemIdentifier_canBeInsertedAtIndex_(NSToolbar, DartNSToolbarItemIdentifier, DartNSInteger)?, void toolbarWillAddItem_(NSNotification)?, void toolbarDidRemoveItem_(NSNotification)?, bool $keepIsolateAlive = true}) → NSToolbarDelegate -
Builds an object that implements the NSToolbarDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{NSToolbarItem? toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_(NSToolbar, DartNSToolbarItemIdentifier, bool)?, NSArray toolbarDefaultItemIdentifiers_(NSToolbar)?, NSArray toolbarAllowedItemIdentifiers_(NSToolbar)?, NSArray toolbarSelectableItemIdentifiers_(NSToolbar)?, NSSet toolbarImmovableItemIdentifiers_(NSToolbar)?, bool toolbar_itemIdentifier_canBeInsertedAtIndex_(NSToolbar, DartNSToolbarItemIdentifier, DartNSInteger)?, void toolbarWillAddItem_(NSNotification)?, void toolbarDidRemoveItem_(NSNotification)?, bool $keepIsolateAlive = true}) → NSToolbarDelegate -
Builds an object that implements the NSToolbarDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{NSToolbarItem? toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar_(NSToolbar, DartNSToolbarItemIdentifier, bool)?, NSArray toolbarDefaultItemIdentifiers_(NSToolbar)?, NSArray toolbarAllowedItemIdentifiers_(NSToolbar)?, NSArray toolbarSelectableItemIdentifiers_(NSToolbar)?, NSSet toolbarImmovableItemIdentifiers_(NSToolbar)?, bool toolbar_itemIdentifier_canBeInsertedAtIndex_(NSToolbar, DartNSToolbarItemIdentifier, DartNSInteger)?, void toolbarWillAddItem_(NSNotification)?, void toolbarDidRemoveItem_(NSNotification)?, bool $keepIsolateAlive = true}) → NSToolbarDelegate -
Builds an object that implements the NSToolbarDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.