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