public class ColorTableIconPainter extends Object implements IIconPaint, ColorTablePainter
Constructor and Description |
---|
ColorTableIconPainter(ColorTable colorTable)
Construye un ColorTablePaint con una tabla de color pasada por parametro
|
Modifier and Type | Method and Description |
---|---|
Color[] |
getColors() |
ColorTable |
getColorTable()
Obtiene el ColorTable
|
String |
getTableName() |
void |
paint(Graphics2D g,
boolean isSelected)
Metodo de pintado de la tabla de color
|
void |
setInterpolated(boolean value)
Define si los valores estan interpolados o no entre si
|
public ColorTableIconPainter(ColorTable colorTable)
colorTable
- public void setInterpolated(boolean value)
value
- public ColorTable getColorTable()
public Color[] getColors()
getColors
in interface ColorTablePainter
public void paint(Graphics2D g, boolean isSelected)
paint
in interface IIconPaint
paint
in interface ColorTablePainter
g
- isSelected
- public String getTableName()
getTableName
in interface ColorTablePainter