NSColorPickingCustom class interface
NSColorPickingCustom
- Implemented types
Constructors
- NSColorPickingCustom.castFrom(ObjCObjectBase other)
-
Constructs a NSColorPickingCustom that points to the same underlying object as
other. -
NSColorPickingCustom.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSColorPickingCustom 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 -
alphaControlAddedOrRemoved_
→ ObjCProtocolListenableMethod<
void Function(ObjCObjectBase? sender)> -
alphaControlAddedOrRemoved:
final
-
attachColorList_
→ ObjCProtocolListenableMethod<
void Function(NSColorList)> -
attachColorList:
final
-
buttonToolTip
final
-
currentMode
→ ObjCProtocolMethod<
NSColorPanelMode Function()> -
currentMode
final
-
detachColorList_
→ ObjCProtocolListenableMethod<
void Function(NSColorList)> -
detachColorList:
final
-
initWithPickerMask_colorPanel_
→ ObjCProtocolMethod<
Dartinstancetype? Function(DartNSUInteger, NSColorPanel$1)> -
initWithPickerMask:colorPanel:
final
-
insertNewButtonImage_in_
→ ObjCProtocolListenableMethod<
void Function(NSImage, NSButtonCell)> -
insertNewButtonImage:in:
final
-
minContentSize
→ ObjCProtocolMethod<
CGSize Function()> -
minContentSize
final
-
provideNewButtonImage
→ ObjCProtocolMethod<
NSImage Function()> -
provideNewButtonImage
final
-
provideNewView_
→ ObjCProtocolMethod<
NSView Function(bool)> -
provideNewView:
final
-
setColor_
→ ObjCProtocolListenableMethod<
void Function(NSColor)> -
setColor:
final
-
setMode_
→ ObjCProtocolListenableMethod<
void Function(NSColorPanelMode)> -
setMode:
final
-
supportsMode_
→ ObjCProtocolMethod<
bool Function(NSColorPanelMode)> -
supportsMode:
final
-
viewSizeChanged_
→ ObjCProtocolListenableMethod<
void Function(ObjCObjectBase? sender)> -
viewSizeChanged:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required bool supportsMode_(NSColorPanelMode), required NSColorPanelMode currentMode(), required NSView provideNewView_(bool), required void setColor_(NSColor), required Dartinstancetype? initWithPickerMask_colorPanel_(DartNSUInteger, NSColorPanel$1), required NSImage provideNewButtonImage(), required void insertNewButtonImage_in_(NSImage, NSButtonCell), required void viewSizeChanged_(ObjCObjectBase? sender), required void alphaControlAddedOrRemoved_(ObjCObjectBase? sender), required void attachColorList_(NSColorList), required void detachColorList_(NSColorList), required void setMode_(NSColorPanelMode), required DartCADynamicRange buttonToolTip(), required CGSize minContentSize(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSColorPickingCustom protocol to an existing
objc.ObjCProtocolBuilder.override -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {required bool supportsMode_(NSColorPanelMode), required NSColorPanelMode currentMode(), required NSView provideNewView_(bool), required void setColor_(NSColor), required Dartinstancetype? initWithPickerMask_colorPanel_(DartNSUInteger, NSColorPanel$1), required NSImage provideNewButtonImage(), required void insertNewButtonImage_in_(NSImage, NSButtonCell), required void viewSizeChanged_(ObjCObjectBase? sender), required void alphaControlAddedOrRemoved_(ObjCObjectBase? sender), required void attachColorList_(NSColorList), required void detachColorList_(NSColorList), required void setMode_(NSColorPanelMode), required DartCADynamicRange buttonToolTip(), required CGSize minContentSize(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSColorPickingCustom protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.override -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {required bool supportsMode_(NSColorPanelMode), required NSColorPanelMode currentMode(), required NSView provideNewView_(bool), required void setColor_(NSColor), required Dartinstancetype? initWithPickerMask_colorPanel_(DartNSUInteger, NSColorPanel$1), required NSImage provideNewButtonImage(), required void insertNewButtonImage_in_(NSImage, NSButtonCell), required void viewSizeChanged_(ObjCObjectBase? sender), required void alphaControlAddedOrRemoved_(ObjCObjectBase? sender), required void attachColorList_(NSColorList), required void detachColorList_(NSColorList), required void setMode_(NSColorPanelMode), required DartCADynamicRange buttonToolTip(), required CGSize minContentSize(), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSColorPickingCustom protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.override -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSColorPickingCustom.override -
implement(
{required bool supportsMode_(NSColorPanelMode), required NSColorPanelMode currentMode(), required NSView provideNewView_(bool), required void setColor_(NSColor), required Dartinstancetype? initWithPickerMask_colorPanel_(DartNSUInteger, NSColorPanel$1), required NSImage provideNewButtonImage(), required void insertNewButtonImage_in_(NSImage, NSButtonCell), required void viewSizeChanged_(ObjCObjectBase? sender), required void alphaControlAddedOrRemoved_(ObjCObjectBase? sender), required void attachColorList_(NSColorList), required void detachColorList_(NSColorList), required void setMode_(NSColorPanelMode), required DartCADynamicRange buttonToolTip(), required CGSize minContentSize(), bool $keepIsolateAlive = true}) → NSColorPickingCustom -
Builds an object that implements the NSColorPickingCustom protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.override -
implementAsBlocking(
{required bool supportsMode_(NSColorPanelMode), required NSColorPanelMode currentMode(), required NSView provideNewView_(bool), required void setColor_(NSColor), required Dartinstancetype? initWithPickerMask_colorPanel_(DartNSUInteger, NSColorPanel$1), required NSImage provideNewButtonImage(), required void insertNewButtonImage_in_(NSImage, NSButtonCell), required void viewSizeChanged_(ObjCObjectBase? sender), required void alphaControlAddedOrRemoved_(ObjCObjectBase? sender), required void attachColorList_(NSColorList), required void detachColorList_(NSColorList), required void setMode_(NSColorPanelMode), required DartCADynamicRange buttonToolTip(), required CGSize minContentSize(), bool $keepIsolateAlive = true}) → NSColorPickingCustom -
Builds an object that implements the NSColorPickingCustom protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be.override -
implementAsListener(
{required bool supportsMode_(NSColorPanelMode), required NSColorPanelMode currentMode(), required NSView provideNewView_(bool), required void setColor_(NSColor), required Dartinstancetype? initWithPickerMask_colorPanel_(DartNSUInteger, NSColorPanel$1), required NSImage provideNewButtonImage(), required void insertNewButtonImage_in_(NSImage, NSButtonCell), required void viewSizeChanged_(ObjCObjectBase? sender), required void alphaControlAddedOrRemoved_(ObjCObjectBase? sender), required void attachColorList_(NSColorList), required void detachColorList_(NSColorList), required void setMode_(NSColorPanelMode), required DartCADynamicRange buttonToolTip(), required CGSize minContentSize(), bool $keepIsolateAlive = true}) → NSColorPickingCustom -
Builds an object that implements the NSColorPickingCustom protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.override