NSTextElementProvider class interface
NSTextElementProvider
- Implementers
Constructors
- NSTextElementProvider.castFrom(ObjCObjectBase other)
-
Constructs a NSTextElementProvider that points to the same underlying object as
other. -
NSTextElementProvider.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSTextElementProvider 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 -
adjustedRangeFromRange_forEditingTextSelection_
→ ObjCProtocolMethod<
NSTextRange? Function(NSTextRange, bool)> -
adjustedRangeFromRange:forEditingTextSelection:
final
-
documentRange
→ ObjCProtocolMethod<
NSTextRange Function()> -
documentRange
final
-
enumerateTextElementsFromLocation_options_usingBlock_
→ ObjCProtocolMethod<
NSTextLocation? Function(NSTextLocation?, NSTextContentManagerEnumerationOptions, ObjCBlock< Bool Function(NSTextElement)> )> -
enumerateTextElementsFromLocation:options:usingBlock:
final
-
locationFromLocation_withOffset_
→ ObjCProtocolMethod<
NSTextLocation? Function(NSTextLocation, DartNSInteger)> -
locationFromLocation:withOffset:
final
-
offsetFromLocation_toLocation_
→ ObjCProtocolMethod<
DartNSInteger Function(NSTextLocation, NSTextLocation)> -
offsetFromLocation:toLocation:
final
-
replaceContentsInRange_withTextElements_
→ ObjCProtocolListenableMethod<
void Function(NSTextRange, NSArray?)> -
replaceContentsInRange:withTextElements:
final
-
synchronizeToBackingStore_
→ ObjCProtocolListenableMethod<
void Function(ObjCBlock< Void Function(NSError?)> ?)> -
synchronizeToBackingStore:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required NSTextRange documentRange(), required NSTextLocation? enumerateTextElementsFromLocation_options_usingBlock_(NSTextLocation?, NSTextContentManagerEnumerationOptions, ObjCBlock< Bool Function(NSTextElement)> ), required void replaceContentsInRange_withTextElements_(NSTextRange, NSArray?), required void synchronizeToBackingStore_(ObjCBlock<Void Function(NSError?)> ?), NSTextLocation? locationFromLocation_withOffset_(NSTextLocation, DartNSInteger)?, DartNSInteger offsetFromLocation_toLocation_(NSTextLocation, NSTextLocation)?, NSTextRange? adjustedRangeFromRange_forEditingTextSelection_(NSTextRange, bool)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextElementProvider protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {required NSTextRange documentRange(), required NSTextLocation? enumerateTextElementsFromLocation_options_usingBlock_(NSTextLocation?, NSTextContentManagerEnumerationOptions, ObjCBlock< Bool Function(NSTextElement)> ), required void replaceContentsInRange_withTextElements_(NSTextRange, NSArray?), required void synchronizeToBackingStore_(ObjCBlock<Void Function(NSError?)> ?), NSTextLocation? locationFromLocation_withOffset_(NSTextLocation, DartNSInteger)?, DartNSInteger offsetFromLocation_toLocation_(NSTextLocation, NSTextLocation)?, NSTextRange? adjustedRangeFromRange_forEditingTextSelection_(NSTextRange, bool)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextElementProvider protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {required NSTextRange documentRange(), required NSTextLocation? enumerateTextElementsFromLocation_options_usingBlock_(NSTextLocation?, NSTextContentManagerEnumerationOptions, ObjCBlock< Bool Function(NSTextElement)> ), required void replaceContentsInRange_withTextElements_(NSTextRange, NSArray?), required void synchronizeToBackingStore_(ObjCBlock<Void Function(NSError?)> ?), NSTextLocation? locationFromLocation_withOffset_(NSTextLocation, DartNSInteger)?, DartNSInteger offsetFromLocation_toLocation_(NSTextLocation, NSTextLocation)?, NSTextRange? adjustedRangeFromRange_forEditingTextSelection_(NSTextRange, bool)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextElementProvider protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSTextElementProvider. -
implement(
{required NSTextRange documentRange(), required NSTextLocation? enumerateTextElementsFromLocation_options_usingBlock_(NSTextLocation?, NSTextContentManagerEnumerationOptions, ObjCBlock< Bool Function(NSTextElement)> ), required void replaceContentsInRange_withTextElements_(NSTextRange, NSArray?), required void synchronizeToBackingStore_(ObjCBlock<Void Function(NSError?)> ?), NSTextLocation? locationFromLocation_withOffset_(NSTextLocation, DartNSInteger)?, DartNSInteger offsetFromLocation_toLocation_(NSTextLocation, NSTextLocation)?, NSTextRange? adjustedRangeFromRange_forEditingTextSelection_(NSTextRange, bool)?, bool $keepIsolateAlive = true}) → NSTextElementProvider -
Builds an object that implements the NSTextElementProvider protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{required NSTextRange documentRange(), required NSTextLocation? enumerateTextElementsFromLocation_options_usingBlock_(NSTextLocation?, NSTextContentManagerEnumerationOptions, ObjCBlock< Bool Function(NSTextElement)> ), required void replaceContentsInRange_withTextElements_(NSTextRange, NSArray?), required void synchronizeToBackingStore_(ObjCBlock<Void Function(NSError?)> ?), NSTextLocation? locationFromLocation_withOffset_(NSTextLocation, DartNSInteger)?, DartNSInteger offsetFromLocation_toLocation_(NSTextLocation, NSTextLocation)?, NSTextRange? adjustedRangeFromRange_forEditingTextSelection_(NSTextRange, bool)?, bool $keepIsolateAlive = true}) → NSTextElementProvider -
Builds an object that implements the NSTextElementProvider protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{required NSTextRange documentRange(), required NSTextLocation? enumerateTextElementsFromLocation_options_usingBlock_(NSTextLocation?, NSTextContentManagerEnumerationOptions, ObjCBlock< Bool Function(NSTextElement)> ), required void replaceContentsInRange_withTextElements_(NSTextRange, NSArray?), required void synchronizeToBackingStore_(ObjCBlock<Void Function(NSError?)> ?), NSTextLocation? locationFromLocation_withOffset_(NSTextLocation, DartNSInteger)?, DartNSInteger offsetFromLocation_toLocation_(NSTextLocation, NSTextLocation)?, NSTextRange? adjustedRangeFromRange_forEditingTextSelection_(NSTextRange, bool)?, bool $keepIsolateAlive = true}) → NSTextElementProvider -
Builds an object that implements the NSTextElementProvider protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.