NSScrubberDataSource class interface
NSScrubberDataSource
Constructors
- NSScrubberDataSource.castFrom(ObjCObjectBase other)
-
Constructs a NSScrubberDataSource that points to the same underlying object as
other. -
NSScrubberDataSource.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSScrubberDataSource 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 -
numberOfItemsForScrubber_
→ ObjCProtocolMethod<
DartNSInteger Function(NSScrubber)> -
numberOfItemsForScrubber:
final
-
scrubber_viewForItemAtIndex_
→ ObjCProtocolMethod<
NSScrubberItemView Function(NSScrubber, DartNSInteger)> -
scrubber:viewForItemAtIndex:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required DartNSInteger numberOfItemsForScrubber_(NSScrubber), required NSScrubberItemView scrubber_viewForItemAtIndex_(NSScrubber, DartNSInteger), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSScrubberDataSource protocol to an existing
objc.ObjCProtocolBuilder. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSScrubberDataSource. -
implement(
{required DartNSInteger numberOfItemsForScrubber_(NSScrubber), required NSScrubberItemView scrubber_viewForItemAtIndex_(NSScrubber, DartNSInteger), bool $keepIsolateAlive = true}) → NSScrubberDataSource -
Builds an object that implements the NSScrubberDataSource protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.