NSComboBoxDelegate class interface

NSComboBoxDelegate

Implemented types

Constructors

NSComboBoxDelegate.castFrom(ObjCObjectBase other)
Constructs a NSComboBoxDelegate that points to the same underlying object as other.
NSComboBoxDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSComboBoxDelegate 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
comboBoxSelectionDidChange_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
comboBoxSelectionDidChange:
final
comboBoxSelectionIsChanging_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
comboBoxSelectionIsChanging:
final
comboBoxWillDismiss_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
comboBoxWillDismiss:
final
comboBoxWillPopUp_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
comboBoxWillPopUp:
final
control_didFailToFormatString_errorDescription_ → ObjCProtocolMethod<bool Function(NSControl, NSString, NSString?)>
control:didFailToFormatString:errorDescription:
final
control_didFailToValidatePartialString_errorDescription_ → ObjCProtocolListenableMethod<void Function(NSControl, NSString, NSString?)>
control:didFailToValidatePartialString:errorDescription:
final
control_isValidObject_ → ObjCProtocolMethod<bool Function(NSControl, ObjCObjectBase?)>
control:isValidObject:
final
control_textShouldBeginEditing_ → ObjCProtocolMethod<bool Function(NSControl, NSText)>
control:textShouldBeginEditing:
final
control_textShouldEndEditing_ → ObjCProtocolMethod<bool Function(NSControl, NSText)>
control:textShouldEndEditing:
final
control_textView_completions_forPartialWordRange_indexOfSelectedItem_ → ObjCProtocolMethod<NSArray Function(NSControl, NSTextView, NSArray, NSRange, Pointer<NSInteger>)>
control:textView:completions:forPartialWordRange:indexOfSelectedItem:
final
control_textView_doCommandBySelector_ → ObjCProtocolMethod<bool Function(NSControl, NSTextView, Pointer<ObjCSelector>)>
control:textView:doCommandBySelector:
final
controlTextDidBeginEditing_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
controlTextDidBeginEditing:
final
controlTextDidChange_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
controlTextDidChange:
final
controlTextDidEndEditing_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
controlTextDidEndEditing:
final
textField_textView_candidates_forSelectedRange_ → ObjCProtocolMethod<NSArray Function(NSTextField, NSTextView, NSArray, NSRange)>
textField:textView:candidates:forSelectedRange:
final
textField_textView_candidatesForSelectedRange_ → ObjCProtocolMethod<NSArray? Function(NSTextField, NSTextView, NSRange)>
textField:textView:candidatesForSelectedRange:
final
textField_textView_shouldSelectCandidateAtIndex_ → ObjCProtocolMethod<bool Function(NSTextField, NSTextView, DartNSUInteger)>
textField:textView:shouldSelectCandidateAtIndex:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {void comboBoxWillPopUp_(NSNotification)?, void comboBoxWillDismiss_(NSNotification)?, void comboBoxSelectionDidChange_(NSNotification)?, void comboBoxSelectionIsChanging_(NSNotification)?, NSArray? textField_textView_candidatesForSelectedRange_(NSTextField, NSTextView, NSRange)?, NSArray textField_textView_candidates_forSelectedRange_(NSTextField, NSTextView, NSArray, NSRange)?, bool textField_textView_shouldSelectCandidateAtIndex_(NSTextField, NSTextView, DartNSUInteger)?, void controlTextDidBeginEditing_(NSNotification)?, void controlTextDidEndEditing_(NSNotification)?, void controlTextDidChange_(NSNotification)?, bool control_textShouldBeginEditing_(NSControl, NSText)?, bool control_textShouldEndEditing_(NSControl, NSText)?, bool control_didFailToFormatString_errorDescription_(NSControl, NSString, NSString?)?, void control_didFailToValidatePartialString_errorDescription_(NSControl, NSString, NSString?)?, bool control_isValidObject_(NSControl, ObjCObjectBase?)?, bool control_textView_doCommandBySelector_(NSControl, NSTextView, Pointer<ObjCSelector>)?, NSArray control_textView_completions_forPartialWordRange_indexOfSelectedItem_(NSControl, NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSComboBoxDelegate protocol to an existing objc.ObjCProtocolBuilder.
override
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {void comboBoxWillPopUp_(NSNotification)?, void comboBoxWillDismiss_(NSNotification)?, void comboBoxSelectionDidChange_(NSNotification)?, void comboBoxSelectionIsChanging_(NSNotification)?, NSArray? textField_textView_candidatesForSelectedRange_(NSTextField, NSTextView, NSRange)?, NSArray textField_textView_candidates_forSelectedRange_(NSTextField, NSTextView, NSArray, NSRange)?, bool textField_textView_shouldSelectCandidateAtIndex_(NSTextField, NSTextView, DartNSUInteger)?, void controlTextDidBeginEditing_(NSNotification)?, void controlTextDidEndEditing_(NSNotification)?, void controlTextDidChange_(NSNotification)?, bool control_textShouldBeginEditing_(NSControl, NSText)?, bool control_textShouldEndEditing_(NSControl, NSText)?, bool control_didFailToFormatString_errorDescription_(NSControl, NSString, NSString?)?, void control_didFailToValidatePartialString_errorDescription_(NSControl, NSString, NSString?)?, bool control_isValidObject_(NSControl, ObjCObjectBase?)?, bool control_textView_doCommandBySelector_(NSControl, NSTextView, Pointer<ObjCSelector>)?, NSArray control_textView_completions_forPartialWordRange_indexOfSelectedItem_(NSControl, NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSComboBoxDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
override
addToBuilderAsListener(ObjCProtocolBuilder builder, {void comboBoxWillPopUp_(NSNotification)?, void comboBoxWillDismiss_(NSNotification)?, void comboBoxSelectionDidChange_(NSNotification)?, void comboBoxSelectionIsChanging_(NSNotification)?, NSArray? textField_textView_candidatesForSelectedRange_(NSTextField, NSTextView, NSRange)?, NSArray textField_textView_candidates_forSelectedRange_(NSTextField, NSTextView, NSArray, NSRange)?, bool textField_textView_shouldSelectCandidateAtIndex_(NSTextField, NSTextView, DartNSUInteger)?, void controlTextDidBeginEditing_(NSNotification)?, void controlTextDidEndEditing_(NSNotification)?, void controlTextDidChange_(NSNotification)?, bool control_textShouldBeginEditing_(NSControl, NSText)?, bool control_textShouldEndEditing_(NSControl, NSText)?, bool control_didFailToFormatString_errorDescription_(NSControl, NSString, NSString?)?, void control_didFailToValidatePartialString_errorDescription_(NSControl, NSString, NSString?)?, bool control_isValidObject_(NSControl, ObjCObjectBase?)?, bool control_textView_doCommandBySelector_(NSControl, NSTextView, Pointer<ObjCSelector>)?, NSArray control_textView_completions_forPartialWordRange_indexOfSelectedItem_(NSControl, NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSComboBoxDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
override
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSComboBoxDelegate.
override
implement({void comboBoxWillPopUp_(NSNotification)?, void comboBoxWillDismiss_(NSNotification)?, void comboBoxSelectionDidChange_(NSNotification)?, void comboBoxSelectionIsChanging_(NSNotification)?, NSArray? textField_textView_candidatesForSelectedRange_(NSTextField, NSTextView, NSRange)?, NSArray textField_textView_candidates_forSelectedRange_(NSTextField, NSTextView, NSArray, NSRange)?, bool textField_textView_shouldSelectCandidateAtIndex_(NSTextField, NSTextView, DartNSUInteger)?, void controlTextDidBeginEditing_(NSNotification)?, void controlTextDidEndEditing_(NSNotification)?, void controlTextDidChange_(NSNotification)?, bool control_textShouldBeginEditing_(NSControl, NSText)?, bool control_textShouldEndEditing_(NSControl, NSText)?, bool control_didFailToFormatString_errorDescription_(NSControl, NSString, NSString?)?, void control_didFailToValidatePartialString_errorDescription_(NSControl, NSString, NSString?)?, bool control_isValidObject_(NSControl, ObjCObjectBase?)?, bool control_textView_doCommandBySelector_(NSControl, NSTextView, Pointer<ObjCSelector>)?, NSArray control_textView_completions_forPartialWordRange_indexOfSelectedItem_(NSControl, NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool $keepIsolateAlive = true}) → NSComboBoxDelegate
Builds an object that implements the NSComboBoxDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
override
implementAsBlocking({void comboBoxWillPopUp_(NSNotification)?, void comboBoxWillDismiss_(NSNotification)?, void comboBoxSelectionDidChange_(NSNotification)?, void comboBoxSelectionIsChanging_(NSNotification)?, NSArray? textField_textView_candidatesForSelectedRange_(NSTextField, NSTextView, NSRange)?, NSArray textField_textView_candidates_forSelectedRange_(NSTextField, NSTextView, NSArray, NSRange)?, bool textField_textView_shouldSelectCandidateAtIndex_(NSTextField, NSTextView, DartNSUInteger)?, void controlTextDidBeginEditing_(NSNotification)?, void controlTextDidEndEditing_(NSNotification)?, void controlTextDidChange_(NSNotification)?, bool control_textShouldBeginEditing_(NSControl, NSText)?, bool control_textShouldEndEditing_(NSControl, NSText)?, bool control_didFailToFormatString_errorDescription_(NSControl, NSString, NSString?)?, void control_didFailToValidatePartialString_errorDescription_(NSControl, NSString, NSString?)?, bool control_isValidObject_(NSControl, ObjCObjectBase?)?, bool control_textView_doCommandBySelector_(NSControl, NSTextView, Pointer<ObjCSelector>)?, NSArray control_textView_completions_forPartialWordRange_indexOfSelectedItem_(NSControl, NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool $keepIsolateAlive = true}) → NSComboBoxDelegate
Builds an object that implements the NSComboBoxDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
override
implementAsListener({void comboBoxWillPopUp_(NSNotification)?, void comboBoxWillDismiss_(NSNotification)?, void comboBoxSelectionDidChange_(NSNotification)?, void comboBoxSelectionIsChanging_(NSNotification)?, NSArray? textField_textView_candidatesForSelectedRange_(NSTextField, NSTextView, NSRange)?, NSArray textField_textView_candidates_forSelectedRange_(NSTextField, NSTextView, NSArray, NSRange)?, bool textField_textView_shouldSelectCandidateAtIndex_(NSTextField, NSTextView, DartNSUInteger)?, void controlTextDidBeginEditing_(NSNotification)?, void controlTextDidEndEditing_(NSNotification)?, void controlTextDidChange_(NSNotification)?, bool control_textShouldBeginEditing_(NSControl, NSText)?, bool control_textShouldEndEditing_(NSControl, NSText)?, bool control_didFailToFormatString_errorDescription_(NSControl, NSString, NSString?)?, void control_didFailToValidatePartialString_errorDescription_(NSControl, NSString, NSString?)?, bool control_isValidObject_(NSControl, ObjCObjectBase?)?, bool control_textView_doCommandBySelector_(NSControl, NSTextView, Pointer<ObjCSelector>)?, NSArray control_textView_completions_forPartialWordRange_indexOfSelectedItem_(NSControl, NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool $keepIsolateAlive = true}) → NSComboBoxDelegate
Builds an object that implements the NSComboBoxDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.
override