NSTextInput class interface
NSTextInput
- Implementers
Constructors
- NSTextInput.castFrom(ObjCObjectBase other)
-
Constructs a NSTextInput that points to the same underlying object as
other. -
NSTextInput.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSTextInput 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 -
attributedSubstringFromRange_
→ ObjCProtocolMethod<
NSAttributedString Function(NSRange range)> -
attributedSubstringFromRange:
final
-
characterIndexForPoint_
→ ObjCProtocolMethod<
DartNSInteger Function(NSPoint point)> -
characterIndexForPoint:
final
-
conversationIdentifier
→ ObjCProtocolMethod<
int Function()> -
conversationIdentifier
final
-
doCommandBySelector_
→ ObjCProtocolListenableMethod<
void Function(Pointer< ObjCSelector> aSelector)> -
doCommandBySelector:
final
-
firstRectForCharacterRange_
→ ObjCProtocolMethod<
NSRect Function(NSRange)> -
firstRectForCharacterRange:
final
-
hasMarkedText
→ ObjCProtocolMethod<
bool Function()> -
hasMarkedText
final
-
insertText_
→ ObjCProtocolListenableMethod<
void Function(ObjCObjectBase object)> -
insertText:
final
-
markedRange
→ ObjCProtocolMethod<
NSRange Function()> -
markedRange
final
-
selectedRange
→ ObjCProtocolMethod<
NSRange Function()> -
selectedRange
final
-
setMarkedText_selectedRange_
→ ObjCProtocolListenableMethod<
void Function(ObjCObjectBase, NSRange)> -
setMarkedText:selectedRange:
final
-
unmarkText
→ ObjCProtocolListenableMethod<
void Function()> -
unmarkText
final
-
validAttributesForMarkedText
→ ObjCProtocolMethod<
NSArray Function()> -
validAttributesForMarkedText
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required void insertText_(ObjCObjectBase object), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_(ObjCObjectBase, NSRange), required void unmarkText(), required bool hasMarkedText(), required int conversationIdentifier(), required NSAttributedString attributedSubstringFromRange_(NSRange range), required NSRange markedRange(), required NSRange selectedRange(), required NSRect firstRectForCharacterRange_(NSRange), required DartNSInteger characterIndexForPoint_(NSPoint point), required NSArray validAttributesForMarkedText(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextInput protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {required void insertText_(ObjCObjectBase object), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_(ObjCObjectBase, NSRange), required void unmarkText(), required bool hasMarkedText(), required int conversationIdentifier(), required NSAttributedString attributedSubstringFromRange_(NSRange range), required NSRange markedRange(), required NSRange selectedRange(), required NSRect firstRectForCharacterRange_(NSRange), required DartNSInteger characterIndexForPoint_(NSPoint point), required NSArray validAttributesForMarkedText(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextInput protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {required void insertText_(ObjCObjectBase object), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_(ObjCObjectBase, NSRange), required void unmarkText(), required bool hasMarkedText(), required int conversationIdentifier(), required NSAttributedString attributedSubstringFromRange_(NSRange range), required NSRange markedRange(), required NSRange selectedRange(), required NSRect firstRectForCharacterRange_(NSRange), required DartNSInteger characterIndexForPoint_(NSPoint point), required NSArray validAttributesForMarkedText(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextInput 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 NSTextInput. -
implement(
{required void insertText_(ObjCObjectBase object), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_(ObjCObjectBase, NSRange), required void unmarkText(), required bool hasMarkedText(), required int conversationIdentifier(), required NSAttributedString attributedSubstringFromRange_(NSRange range), required NSRange markedRange(), required NSRange selectedRange(), required NSRect firstRectForCharacterRange_(NSRange), required DartNSInteger characterIndexForPoint_(NSPoint point), required NSArray validAttributesForMarkedText(), bool $keepIsolateAlive = true}) → NSTextInput -
Builds an object that implements the NSTextInput protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{required void insertText_(ObjCObjectBase object), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_(ObjCObjectBase, NSRange), required void unmarkText(), required bool hasMarkedText(), required int conversationIdentifier(), required NSAttributedString attributedSubstringFromRange_(NSRange range), required NSRange markedRange(), required NSRange selectedRange(), required NSRect firstRectForCharacterRange_(NSRange), required DartNSInteger characterIndexForPoint_(NSPoint point), required NSArray validAttributesForMarkedText(), bool $keepIsolateAlive = true}) → NSTextInput -
Builds an object that implements the NSTextInput protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{required void insertText_(ObjCObjectBase object), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_(ObjCObjectBase, NSRange), required void unmarkText(), required bool hasMarkedText(), required int conversationIdentifier(), required NSAttributedString attributedSubstringFromRange_(NSRange range), required NSRange markedRange(), required NSRange selectedRange(), required NSRect firstRectForCharacterRange_(NSRange), required DartNSInteger characterIndexForPoint_(NSPoint point), required NSArray validAttributesForMarkedText(), bool $keepIsolateAlive = true}) → NSTextInput -
Builds an object that implements the NSTextInput protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.