class ColorPalette.ColorSquare
extends StackPane
Modifier and Type | Field and Description |
---|---|
(package private) ColorPalette.ColorType |
colorType |
(package private) int |
index |
(package private) boolean |
isEmpty |
(package private) Rectangle |
rectangle |
Constructor and Description |
---|
ColorSquare() |
ColorSquare(Color color,
int index) |
ColorSquare(Color color,
int index,
ColorPalette.ColorType type) |
Modifier and Type | Method and Description |
---|---|
void |
selectColor(KeyEvent event) |
Rectangle rectangle
int index
boolean isEmpty
ColorPalette.ColorType colorType
public ColorSquare()
public ColorSquare(Color color, int index)
public ColorSquare(Color color, int index, ColorPalette.ColorType type)