NSTextFinderClient class interface
NSTextFinderClient
Constructors
- NSTextFinderClient.castFrom(ObjCObjectBase other)
-
Constructs a NSTextFinderClient that points to the same underlying object as
other. -
NSTextFinderClient.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSTextFinderClient 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 -
allowsMultipleSelection
→ ObjCProtocolMethod<
bool Function()> -
allowsMultipleSelection
final
-
contentViewAtIndex_effectiveCharacterRange_
→ ObjCProtocolMethod<
NSView Function(DartNSUInteger, NSRangePointer)> -
contentViewAtIndex:effectiveCharacterRange:
final
-
didReplaceCharacters
→ ObjCProtocolListenableMethod<
void Function()> -
didReplaceCharacters
final
-
drawCharactersInRange_forContentView_
→ ObjCProtocolListenableMethod<
void Function(NSRange, NSView)> -
drawCharactersInRange:forContentView:
final
-
firstSelectedRange
→ ObjCProtocolMethod<
NSRange Function()> -
firstSelectedRange
final
-
isEditable
→ ObjCProtocolMethod<
bool Function()> -
isEditable
final
-
isSelectable
→ ObjCProtocolMethod<
bool Function()> -
isSelectable
final
-
rectsForCharacterRange_
→ ObjCProtocolMethod<
NSArray? Function(NSRange)> -
rectsForCharacterRange:
final
-
replaceCharactersInRange_withString_
→ ObjCProtocolListenableMethod<
void Function(NSRange, NSString)> -
replaceCharactersInRange:withString:
final
-
scrollRangeToVisible_
→ ObjCProtocolListenableMethod<
void Function(NSRange range)> -
scrollRangeToVisible:
final
-
selectedRanges
→ ObjCProtocolMethod<
NSArray Function()> -
selectedRanges
final
-
setSelectedRanges_
→ ObjCProtocolListenableMethod<
void Function(NSArray constraints$1)> -
setSelectedRanges:
final
-
shouldReplaceCharactersInRanges_withStrings_
→ ObjCProtocolMethod<
bool Function(NSArray, NSArray)> -
shouldReplaceCharactersInRanges:withStrings:
final
-
string
→ ObjCProtocolMethod<
DartCADynamicRange Function()> -
string
final
-
stringAtIndex_effectiveRange_endsWithSearchBoundary_
→ ObjCProtocolMethod<
NSString Function(DartNSUInteger, NSRangePointer, Pointer< Bool> )> -
stringAtIndex:effectiveRange:endsWithSearchBoundary:
final
-
stringLength
→ ObjCProtocolMethod<
int Function()> -
stringLength
final
-
visibleCharacterRanges
→ ObjCProtocolMethod<
NSArray Function()> -
visibleCharacterRanges
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {bool isSelectable()?, bool allowsMultipleSelection()?, bool isEditable()?, NSString string()?, NSString stringAtIndex_effectiveRange_endsWithSearchBoundary_(DartNSUInteger, NSRangePointer, Pointer< Bool> )?, DartNSInteger stringLength()?, NSRange firstSelectedRange()?, NSArray selectedRanges()?, void setSelectedRanges_(NSArray)?, void scrollRangeToVisible_(NSRange)?, bool shouldReplaceCharactersInRanges_withStrings_(NSArray, NSArray)?, void replaceCharactersInRange_withString_(NSRange, NSString)?, void didReplaceCharacters()?, NSView contentViewAtIndex_effectiveCharacterRange_(DartNSUInteger, NSRangePointer)?, NSArray? rectsForCharacterRange_(NSRange)?, NSArray visibleCharacterRanges()?, void drawCharactersInRange_forContentView_(NSRange, NSView)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextFinderClient protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {bool isSelectable()?, bool allowsMultipleSelection()?, bool isEditable()?, NSString string()?, NSString stringAtIndex_effectiveRange_endsWithSearchBoundary_(DartNSUInteger, NSRangePointer, Pointer< Bool> )?, DartNSInteger stringLength()?, NSRange firstSelectedRange()?, NSArray selectedRanges()?, void setSelectedRanges_(NSArray)?, void scrollRangeToVisible_(NSRange)?, bool shouldReplaceCharactersInRanges_withStrings_(NSArray, NSArray)?, void replaceCharactersInRange_withString_(NSRange, NSString)?, void didReplaceCharacters()?, NSView contentViewAtIndex_effectiveCharacterRange_(DartNSUInteger, NSRangePointer)?, NSArray? rectsForCharacterRange_(NSRange)?, NSArray visibleCharacterRanges()?, void drawCharactersInRange_forContentView_(NSRange, NSView)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextFinderClient protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {bool isSelectable()?, bool allowsMultipleSelection()?, bool isEditable()?, NSString string()?, NSString stringAtIndex_effectiveRange_endsWithSearchBoundary_(DartNSUInteger, NSRangePointer, Pointer< Bool> )?, DartNSInteger stringLength()?, NSRange firstSelectedRange()?, NSArray selectedRanges()?, void setSelectedRanges_(NSArray)?, void scrollRangeToVisible_(NSRange)?, bool shouldReplaceCharactersInRanges_withStrings_(NSArray, NSArray)?, void replaceCharactersInRange_withString_(NSRange, NSString)?, void didReplaceCharacters()?, NSView contentViewAtIndex_effectiveCharacterRange_(DartNSUInteger, NSRangePointer)?, NSArray? rectsForCharacterRange_(NSRange)?, NSArray visibleCharacterRanges()?, void drawCharactersInRange_forContentView_(NSRange, NSView)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextFinderClient 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 NSTextFinderClient. -
implement(
{bool isSelectable()?, bool allowsMultipleSelection()?, bool isEditable()?, NSString string()?, NSString stringAtIndex_effectiveRange_endsWithSearchBoundary_(DartNSUInteger, NSRangePointer, Pointer< Bool> )?, DartNSInteger stringLength()?, NSRange firstSelectedRange()?, NSArray selectedRanges()?, void setSelectedRanges_(NSArray)?, void scrollRangeToVisible_(NSRange)?, bool shouldReplaceCharactersInRanges_withStrings_(NSArray, NSArray)?, void replaceCharactersInRange_withString_(NSRange, NSString)?, void didReplaceCharacters()?, NSView contentViewAtIndex_effectiveCharacterRange_(DartNSUInteger, NSRangePointer)?, NSArray? rectsForCharacterRange_(NSRange)?, NSArray visibleCharacterRanges()?, void drawCharactersInRange_forContentView_(NSRange, NSView)?, bool $keepIsolateAlive = true}) → NSTextFinderClient -
Builds an object that implements the NSTextFinderClient protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{bool isSelectable()?, bool allowsMultipleSelection()?, bool isEditable()?, NSString string()?, NSString stringAtIndex_effectiveRange_endsWithSearchBoundary_(DartNSUInteger, NSRangePointer, Pointer< Bool> )?, DartNSInteger stringLength()?, NSRange firstSelectedRange()?, NSArray selectedRanges()?, void setSelectedRanges_(NSArray)?, void scrollRangeToVisible_(NSRange)?, bool shouldReplaceCharactersInRanges_withStrings_(NSArray, NSArray)?, void replaceCharactersInRange_withString_(NSRange, NSString)?, void didReplaceCharacters()?, NSView contentViewAtIndex_effectiveCharacterRange_(DartNSUInteger, NSRangePointer)?, NSArray? rectsForCharacterRange_(NSRange)?, NSArray visibleCharacterRanges()?, void drawCharactersInRange_forContentView_(NSRange, NSView)?, bool $keepIsolateAlive = true}) → NSTextFinderClient -
Builds an object that implements the NSTextFinderClient protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{bool isSelectable()?, bool allowsMultipleSelection()?, bool isEditable()?, NSString string()?, NSString stringAtIndex_effectiveRange_endsWithSearchBoundary_(DartNSUInteger, NSRangePointer, Pointer< Bool> )?, DartNSInteger stringLength()?, NSRange firstSelectedRange()?, NSArray selectedRanges()?, void setSelectedRanges_(NSArray)?, void scrollRangeToVisible_(NSRange)?, bool shouldReplaceCharactersInRanges_withStrings_(NSArray, NSArray)?, void replaceCharactersInRange_withString_(NSRange, NSString)?, void didReplaceCharacters()?, NSView contentViewAtIndex_effectiveCharacterRange_(DartNSUInteger, NSRangePointer)?, NSArray? rectsForCharacterRange_(NSRange)?, NSArray visibleCharacterRanges()?, void drawCharactersInRange_forContentView_(NSRange, NSView)?, bool $keepIsolateAlive = true}) → NSTextFinderClient -
Builds an object that implements the NSTextFinderClient protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.