NSComboBoxDataSource class interface
NSComboBoxDataSource
Constructors
- NSComboBoxDataSource.castFrom(ObjCObjectBase other)
-
Constructs a NSComboBoxDataSource that points to the same underlying object as
other. -
NSComboBoxDataSource.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSComboBoxDataSource 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 -
comboBox_completedString_
→ ObjCProtocolMethod<
NSString? Function(NSComboBox, NSString)> -
comboBox:completedString:
final
-
comboBox_indexOfItemWithStringValue_
→ ObjCProtocolMethod<
DartNSUInteger Function(NSComboBox, NSString)> -
comboBox:indexOfItemWithStringValue:
final
-
comboBox_objectValueForItemAtIndex_
→ ObjCProtocolMethod<
ObjCObjectBase? Function(NSComboBox, DartNSInteger)> -
comboBox:objectValueForItemAtIndex:
final
-
numberOfItemsInComboBox_
→ ObjCProtocolMethod<
DartNSInteger Function(NSComboBox)> -
numberOfItemsInComboBox:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {DartNSInteger numberOfItemsInComboBox_(NSComboBox)?, ObjCObjectBase? comboBox_objectValueForItemAtIndex_(NSComboBox, DartNSInteger)?, DartNSUInteger comboBox_indexOfItemWithStringValue_(NSComboBox, NSString)?, NSString? comboBox_completedString_(NSComboBox, NSString)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSComboBoxDataSource protocol to an existing
objc.ObjCProtocolBuilder. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSComboBoxDataSource. -
implement(
{DartNSInteger numberOfItemsInComboBox_(NSComboBox)?, ObjCObjectBase? comboBox_objectValueForItemAtIndex_(NSComboBox, DartNSInteger)?, DartNSUInteger comboBox_indexOfItemWithStringValue_(NSComboBox, NSString)?, NSString? comboBox_completedString_(NSComboBox, NSString)?, bool $keepIsolateAlive = true}) → NSComboBoxDataSource -
Builds an object that implements the NSComboBoxDataSource protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.