setOnColorChange
setOnColorChange: (ColorPicker, (Color) -> ()) -> ()A Consumer<Color> (a function, or a table with accept) told each new colour.
colorPickerManager:create(…)| Method | Returns | Description |
|---|---|---|
setOnColorChange((Color) -> ()) | () | A Consumer<Color> (a function, or a table with accept) told each new colour. |
setOnClose((Color) -> ()) | () | A Consumer<Color> told the colour when the dialog closes. |
setVisible(boolean) | () | true shows the dialog (once); false withdraws it. |
| Method | Returns | Description |
|---|---|---|
ColorPickerManager.create | ColorPicker | A ColorPicker (closing the open one); owner (a component or the client) places nothing. |
setOnColorChangesetOnColorChange: (ColorPicker, (Color) -> ()) -> ()A Consumer<Color> (a function, or a table with accept) told each new colour.
setOnClosesetOnClose: (ColorPicker, (Color) -> ()) -> ()A Consumer<Color> told the colour when the dialog closes.
setVisiblesetVisible: (ColorPicker, boolean) -> ()true shows the dialog (once); false withdraws it.