NSTextDelegate class interface

NSTextDelegate

Implementers

Constructors

NSTextDelegate.castFrom(ObjCObjectBase other)
Constructs a NSTextDelegate that points to the same underlying object as other.
NSTextDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSTextDelegate 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
textDidBeginEditing_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
textDidBeginEditing:
final
textDidChange_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
textDidChange:
final
textDidEndEditing_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
textDidEndEditing:
final
textShouldBeginEditing_ → ObjCProtocolMethod<bool Function(NSText)>
textShouldBeginEditing:
final
textShouldEndEditing_ → ObjCProtocolMethod<bool Function(NSText)>
textShouldEndEditing:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextDelegate protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSTextDelegate.
implement({bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → NSTextDelegate
Builds an object that implements the NSTextDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → NSTextDelegate
Builds an object that implements the NSTextDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → NSTextDelegate
Builds an object that implements the NSTextDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.