NSAppearanceCustomization class interface
NSAppearanceCustomization
Constructors
- NSAppearanceCustomization.castFrom(ObjCObjectBase other)
-
Constructs a NSAppearanceCustomization that points to the same underlying object as
other. -
NSAppearanceCustomization.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSAppearanceCustomization 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 -
appearance
→ ObjCProtocolMethod<
NSAppearance? Function()> -
appearance
final
-
effectiveAppearance
→ ObjCProtocolMethod<
NSAppearance Function()> -
effectiveAppearance
final
-
setAppearance_
→ ObjCProtocolListenableMethod<
void Function(NSAppearance?)> -
setAppearance:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required NSAppearance? appearance(), required void setAppearance_(NSAppearance?), required NSAppearance effectiveAppearance(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSAppearanceCustomization protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {required NSAppearance? appearance(), required void setAppearance_(NSAppearance?), required NSAppearance effectiveAppearance(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSAppearanceCustomization protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {required NSAppearance? appearance(), required void setAppearance_(NSAppearance?), required NSAppearance effectiveAppearance(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSAppearanceCustomization 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 NSAppearanceCustomization. -
implement(
{required NSAppearance? appearance(), required void setAppearance_(NSAppearance?), required NSAppearance effectiveAppearance(), bool $keepIsolateAlive = true}) → NSAppearanceCustomization -
Builds an object that implements the NSAppearanceCustomization protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{required NSAppearance? appearance(), required void setAppearance_(NSAppearance?), required NSAppearance effectiveAppearance(), bool $keepIsolateAlive = true}) → NSAppearanceCustomization -
Builds an object that implements the NSAppearanceCustomization protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{required NSAppearance? appearance(), required void setAppearance_(NSAppearance?), required NSAppearance effectiveAppearance(), bool $keepIsolateAlive = true}) → NSAppearanceCustomization -
Builds an object that implements the NSAppearanceCustomization protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.