You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
526 B
25 lines
526 B
4 years ago
|
package com.fr.design.style.color;
|
||
|
|
||
|
import com.fr.base.FineColor;
|
||
|
|
||
|
import java.awt.Color;
|
||
|
|
||
|
public class FineColorCell extends ColorCell {
|
||
|
private final int x;
|
||
|
private final int y;
|
||
|
|
||
|
public FineColorCell(Color color, ColorSelectable colorSelectable, int x, int y) {
|
||
|
super(color, colorSelectable);
|
||
|
this.x = x;
|
||
|
this.y = y;
|
||
|
}
|
||
|
|
||
|
public Color getColor() {
|
||
|
Color color = super.getColor();
|
||
|
FineColor fineColor = new FineColor(x, y, color);
|
||
|
return fineColor;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|