public class ColorTableIconPainter extends java.lang.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 |
|---|---|
java.awt.Color[] |
getColors() |
ColorTable |
getColorTable()
Obtiene el ColorTable
|
java.lang.String |
getTableName() |
void |
paint(java.awt.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 java.awt.Color[] getColors()
getColors in interface ColorTablePainterpublic void paint(java.awt.Graphics2D g,
boolean isSelected)
paint in interface IIconPaintpaint in interface ColorTablePainterg - isSelected - public java.lang.String getTableName()
getTableName in interface ColorTablePainter