NSTokenFieldDelegate class interface
NSTokenFieldDelegate
- Implemented types
Constructors
- NSTokenFieldDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSTokenFieldDelegate that points to the same underlying object as
other. -
NSTokenFieldDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSTokenFieldDelegate 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 -
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
-
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem_
→ ObjCProtocolMethod<
NSArray? Function(NSTokenField, NSString, DartNSInteger, Pointer< NSInteger> )> -
tokenField:completionsForSubstring:indexOfToken:indexOfSelectedItem:
final
-
tokenField_displayStringForRepresentedObject_
→ ObjCProtocolMethod<
NSString? Function(NSTokenField, ObjCObjectBase)> -
tokenField:displayStringForRepresentedObject:
final
-
tokenField_editingStringForRepresentedObject_
→ ObjCProtocolMethod<
NSString? Function(NSTokenField, ObjCObjectBase)> -
tokenField:editingStringForRepresentedObject:
final
-
tokenField_hasMenuForRepresentedObject_
→ ObjCProtocolMethod<
bool Function(NSTokenField, ObjCObjectBase)> -
tokenField:hasMenuForRepresentedObject:
final
-
tokenField:menuForRepresentedObject:
final
-
tokenField_readFromPasteboard_
→ ObjCProtocolMethod<
NSArray? Function(NSTokenField, NSPasteboard)> -
tokenField:readFromPasteboard:
final
-
tokenField_representedObjectForEditingString_
→ ObjCProtocolMethod<
ObjCObjectBase? Function(NSTokenField, NSString)> -
tokenField:representedObjectForEditingString:
final
-
tokenField_shouldAddObjects_atIndex_
→ ObjCProtocolMethod<
NSArray Function(NSTokenField, NSArray, DartNSUInteger)> -
tokenField:shouldAddObjects:atIndex:
final
-
tokenField_styleForRepresentedObject_
→ ObjCProtocolMethod<
NSTokenStyle Function(NSTokenField, ObjCObjectBase)> -
tokenField:styleForRepresentedObject:
final
-
tokenField_writeRepresentedObjects_toPasteboard_
→ ObjCProtocolMethod<
bool Function(NSTokenField, NSArray, NSPasteboard)> -
tokenField:writeRepresentedObjects:toPasteboard:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {NSArray? tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem_(NSTokenField, NSString, DartNSInteger, Pointer< NSInteger> )?, NSArray tokenField_shouldAddObjects_atIndex_(NSTokenField, NSArray, DartNSUInteger)?, NSString? tokenField_displayStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSString? tokenField_editingStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, ObjCObjectBase? tokenField_representedObjectForEditingString_(NSTokenField, NSString)?, bool tokenField_writeRepresentedObjects_toPasteboard_(NSTokenField, NSArray, NSPasteboard)?, NSArray? tokenField_readFromPasteboard_(NSTokenField, NSPasteboard)?, bool tokenField_hasMenuForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSTokenStyle tokenField_styleForRepresentedObject_(NSTokenField, ObjCObjectBase)?, 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 NSTokenFieldDelegate protocol to an existing
objc.ObjCProtocolBuilder.override -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {NSArray? tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem_(NSTokenField, NSString, DartNSInteger, Pointer< NSInteger> )?, NSArray tokenField_shouldAddObjects_atIndex_(NSTokenField, NSArray, DartNSUInteger)?, NSString? tokenField_displayStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSString? tokenField_editingStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, ObjCObjectBase? tokenField_representedObjectForEditingString_(NSTokenField, NSString)?, bool tokenField_writeRepresentedObjects_toPasteboard_(NSTokenField, NSArray, NSPasteboard)?, NSArray? tokenField_readFromPasteboard_(NSTokenField, NSPasteboard)?, bool tokenField_hasMenuForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSTokenStyle tokenField_styleForRepresentedObject_(NSTokenField, ObjCObjectBase)?, 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 NSTokenFieldDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.override -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {NSArray? tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem_(NSTokenField, NSString, DartNSInteger, Pointer< NSInteger> )?, NSArray tokenField_shouldAddObjects_atIndex_(NSTokenField, NSArray, DartNSUInteger)?, NSString? tokenField_displayStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSString? tokenField_editingStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, ObjCObjectBase? tokenField_representedObjectForEditingString_(NSTokenField, NSString)?, bool tokenField_writeRepresentedObjects_toPasteboard_(NSTokenField, NSArray, NSPasteboard)?, NSArray? tokenField_readFromPasteboard_(NSTokenField, NSPasteboard)?, bool tokenField_hasMenuForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSTokenStyle tokenField_styleForRepresentedObject_(NSTokenField, ObjCObjectBase)?, 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 NSTokenFieldDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.override -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSTokenFieldDelegate.override -
implement(
{NSArray? tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem_(NSTokenField, NSString, DartNSInteger, Pointer< NSInteger> )?, NSArray tokenField_shouldAddObjects_atIndex_(NSTokenField, NSArray, DartNSUInteger)?, NSString? tokenField_displayStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSString? tokenField_editingStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, ObjCObjectBase? tokenField_representedObjectForEditingString_(NSTokenField, NSString)?, bool tokenField_writeRepresentedObjects_toPasteboard_(NSTokenField, NSArray, NSPasteboard)?, NSArray? tokenField_readFromPasteboard_(NSTokenField, NSPasteboard)?, bool tokenField_hasMenuForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSTokenStyle tokenField_styleForRepresentedObject_(NSTokenField, ObjCObjectBase)?, 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}) → NSTokenFieldDelegate -
Builds an object that implements the NSTokenFieldDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.override -
implementAsBlocking(
{NSArray? tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem_(NSTokenField, NSString, DartNSInteger, Pointer< NSInteger> )?, NSArray tokenField_shouldAddObjects_atIndex_(NSTokenField, NSArray, DartNSUInteger)?, NSString? tokenField_displayStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSString? tokenField_editingStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, ObjCObjectBase? tokenField_representedObjectForEditingString_(NSTokenField, NSString)?, bool tokenField_writeRepresentedObjects_toPasteboard_(NSTokenField, NSArray, NSPasteboard)?, NSArray? tokenField_readFromPasteboard_(NSTokenField, NSPasteboard)?, bool tokenField_hasMenuForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSTokenStyle tokenField_styleForRepresentedObject_(NSTokenField, ObjCObjectBase)?, 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}) → NSTokenFieldDelegate -
Builds an object that implements the NSTokenFieldDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be.override -
implementAsListener(
{NSArray? tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem_(NSTokenField, NSString, DartNSInteger, Pointer< NSInteger> )?, NSArray tokenField_shouldAddObjects_atIndex_(NSTokenField, NSArray, DartNSUInteger)?, NSString? tokenField_displayStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSString? tokenField_editingStringForRepresentedObject_(NSTokenField, ObjCObjectBase)?, ObjCObjectBase? tokenField_representedObjectForEditingString_(NSTokenField, NSString)?, bool tokenField_writeRepresentedObjects_toPasteboard_(NSTokenField, NSArray, NSPasteboard)?, NSArray? tokenField_readFromPasteboard_(NSTokenField, NSPasteboard)?, bool tokenField_hasMenuForRepresentedObject_(NSTokenField, ObjCObjectBase)?, NSTokenStyle tokenField_styleForRepresentedObject_(NSTokenField, ObjCObjectBase)?, 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}) → NSTokenFieldDelegate -
Builds an object that implements the NSTokenFieldDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.override