root / branches / v2_0_0_prep / libraries / libUIComponent / src / org / gvsig / gui / ColorTablePainter.java @ 38371
History | View | Annotate | Download (319 Bytes)
1 |
package org.gvsig.gui; |
---|---|
2 |
|
3 |
import java.awt.Color; |
4 |
import java.awt.Graphics2D; |
5 |
|
6 |
|
7 |
public interface ColorTablePainter { |
8 |
|
9 |
public Color[] getColors(); |
10 |
|
11 |
/**
|
12 |
* Method to paint the color table
|
13 |
*
|
14 |
* @param g
|
15 |
* @param isSelected
|
16 |
*/
|
17 |
public void paint(Graphics2D g, boolean isSelected); |
18 |
|
19 |
public String getTableName(); |
20 |
} |
21 |
|