NSTokenFieldCellDelegate class interface

NSTokenFieldCellDelegate

Constructors

NSTokenFieldCellDelegate.castFrom(ObjCObjectBase other)
Constructs a NSTokenFieldCellDelegate that points to the same underlying object as other.
NSTokenFieldCellDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSTokenFieldCellDelegate 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
tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem_ → ObjCProtocolMethod<NSArray Function(NSTokenFieldCell, NSString, DartNSInteger, Pointer<NSInteger>)>
tokenFieldCell:completionsForSubstring:indexOfToken:indexOfSelectedItem:
final
tokenFieldCell_displayStringForRepresentedObject_ → ObjCProtocolMethod<NSString? Function(NSTokenFieldCell, ObjCObjectBase)>
tokenFieldCell:displayStringForRepresentedObject:
final
tokenFieldCell_editingStringForRepresentedObject_ → ObjCProtocolMethod<NSString? Function(NSTokenFieldCell, ObjCObjectBase)>
tokenFieldCell:editingStringForRepresentedObject:
final
tokenFieldCell_hasMenuForRepresentedObject_ → ObjCProtocolMethod<bool Function(NSTokenFieldCell, ObjCObjectBase)>
tokenFieldCell:hasMenuForRepresentedObject:
final
tokenFieldCell_menuForRepresentedObject_ → ObjCProtocolMethod<NSMenu? Function(NSTokenFieldCell, ObjCObjectBase)>
tokenFieldCell:menuForRepresentedObject:
final
tokenFieldCell_readFromPasteboard_ → ObjCProtocolMethod<NSArray? Function(NSTokenFieldCell, NSPasteboard)>
tokenFieldCell:readFromPasteboard:
final
tokenFieldCell_representedObjectForEditingString_ → ObjCProtocolMethod<ObjCObjectBase? Function(NSTokenFieldCell, NSString)>
tokenFieldCell:representedObjectForEditingString:
final
tokenFieldCell_shouldAddObjects_atIndex_ → ObjCProtocolMethod<NSArray Function(NSTokenFieldCell, NSArray, DartNSUInteger)>
tokenFieldCell:shouldAddObjects:atIndex:
final
tokenFieldCell_styleForRepresentedObject_ → ObjCProtocolMethod<NSTokenStyle Function(NSTokenFieldCell, ObjCObjectBase)>
tokenFieldCell:styleForRepresentedObject:
final
tokenFieldCell_writeRepresentedObjects_toPasteboard_ → ObjCProtocolMethod<bool Function(NSTokenFieldCell, NSArray, NSPasteboard)>
tokenFieldCell:writeRepresentedObjects:toPasteboard:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {NSArray tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem_(NSTokenFieldCell, NSString, DartNSInteger, Pointer<NSInteger>)?, NSArray tokenFieldCell_shouldAddObjects_atIndex_(NSTokenFieldCell, NSArray, DartNSUInteger)?, NSString? tokenFieldCell_displayStringForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, NSString? tokenFieldCell_editingStringForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, ObjCObjectBase? tokenFieldCell_representedObjectForEditingString_(NSTokenFieldCell, NSString)?, bool tokenFieldCell_writeRepresentedObjects_toPasteboard_(NSTokenFieldCell, NSArray, NSPasteboard)?, NSArray? tokenFieldCell_readFromPasteboard_(NSTokenFieldCell, NSPasteboard)?, NSMenu? tokenFieldCell_menuForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, bool tokenFieldCell_hasMenuForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, NSTokenStyle tokenFieldCell_styleForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTokenFieldCellDelegate protocol to an existing objc.ObjCProtocolBuilder.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSTokenFieldCellDelegate.
implement({NSArray tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem_(NSTokenFieldCell, NSString, DartNSInteger, Pointer<NSInteger>)?, NSArray tokenFieldCell_shouldAddObjects_atIndex_(NSTokenFieldCell, NSArray, DartNSUInteger)?, NSString? tokenFieldCell_displayStringForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, NSString? tokenFieldCell_editingStringForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, ObjCObjectBase? tokenFieldCell_representedObjectForEditingString_(NSTokenFieldCell, NSString)?, bool tokenFieldCell_writeRepresentedObjects_toPasteboard_(NSTokenFieldCell, NSArray, NSPasteboard)?, NSArray? tokenFieldCell_readFromPasteboard_(NSTokenFieldCell, NSPasteboard)?, NSMenu? tokenFieldCell_menuForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, bool tokenFieldCell_hasMenuForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, NSTokenStyle tokenFieldCell_styleForRepresentedObject_(NSTokenFieldCell, ObjCObjectBase)?, bool $keepIsolateAlive = true}) → NSTokenFieldCellDelegate
Builds an object that implements the NSTokenFieldCellDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.