NSEditor class interface
NSEditor
- Implementers
Constructors
- NSEditor.castFrom(ObjCObjectBase other)
-
Constructs a NSEditor that points to the same underlying object as
other. -
NSEditor.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSEditor 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 -
commitEditing
→ ObjCProtocolMethod<
bool Function()> -
commitEditing
final
-
commitEditingAndReturnError_
→ ObjCProtocolMethod<
bool Function(Pointer< Pointer< error)>ObjCObject> > -
commitEditingAndReturnError:
final
-
commitEditingWithDelegate_didCommitSelector_contextInfo_
→ ObjCProtocolListenableMethod<
void Function(ObjCObjectBase?, Pointer< ObjCSelector> , Pointer<Void> )> -
commitEditingWithDelegate:didCommitSelector:contextInfo:
final
-
discardEditing
→ ObjCProtocolListenableMethod<
void Function()> -
discardEditing
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required void discardEditing(), required bool commitEditing(), required void commitEditingWithDelegate_didCommitSelector_contextInfo_(ObjCObjectBase?, Pointer< ObjCSelector> , Pointer<Void> ), required bool commitEditingAndReturnError_(Pointer<Pointer< error), bool $keepIsolateAlive = true}) → voidObjCObject> > -
Adds the implementation of the NSEditor protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {required void discardEditing(), required bool commitEditing(), required void commitEditingWithDelegate_didCommitSelector_contextInfo_(ObjCObjectBase?, Pointer< ObjCSelector> , Pointer<Void> ), required bool commitEditingAndReturnError_(Pointer<Pointer< error), bool $keepIsolateAlive = true}) → voidObjCObject> > -
Adds the implementation of the NSEditor protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {required void discardEditing(), required bool commitEditing(), required void commitEditingWithDelegate_didCommitSelector_contextInfo_(ObjCObjectBase?, Pointer< ObjCSelector> , Pointer<Void> ), required bool commitEditingAndReturnError_(Pointer<Pointer< error), bool $keepIsolateAlive = true}) → voidObjCObject> > -
Adds the implementation of the NSEditor 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 NSEditor. -
implement(
{required void discardEditing(), required bool commitEditing(), required void commitEditingWithDelegate_didCommitSelector_contextInfo_(ObjCObjectBase?, Pointer< ObjCSelector> , Pointer<Void> ), required bool commitEditingAndReturnError_(Pointer<Pointer< error), bool $keepIsolateAlive = true}) → NSEditorObjCObject> > -
Builds an object that implements the NSEditor protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{required void discardEditing(), required bool commitEditing(), required void commitEditingWithDelegate_didCommitSelector_contextInfo_(ObjCObjectBase?, Pointer< ObjCSelector> , Pointer<Void> ), required bool commitEditingAndReturnError_(Pointer<Pointer< error), bool $keepIsolateAlive = true}) → NSEditorObjCObject> > -
Builds an object that implements the NSEditor protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{required void discardEditing(), required bool commitEditing(), required void commitEditingWithDelegate_didCommitSelector_contextInfo_(ObjCObjectBase?, Pointer< ObjCSelector> , Pointer<Void> ), required bool commitEditingAndReturnError_(Pointer<Pointer< error), bool $keepIsolateAlive = true}) → NSEditorObjCObject> > -
Builds an object that implements the NSEditor protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.