|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.field.table.style.AlternateColorTableStyle
public class AlternateColorTableStyle
Style that alternates colors between rows.
| Constructor Summary | |
|---|---|
AlternateColorTableStyle()
|
|
| Method Summary | |
|---|---|
Color |
getEvenRowColor()
Gets the even row color. |
Color |
getOddRowColor()
Gets the odd row color. |
Style |
getStyle(Object item,
JTable table,
int row,
int column)
Gets the style to apply on the table. |
void |
setEvenRowColor(Color evenRowColor)
Sets the even row color. |
void |
setOddRowColor(Color oddRowColor)
Sets the odd row color. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlternateColorTableStyle()
| Method Detail |
|---|
public Style getStyle(Object item,
JTable table,
int row,
int column)
getStyle in interface TableStyleitem - Item associated to the rowtable - Tablerow - Row indexcolumn - Column index
public Color getEvenRowColor()
public void setEvenRowColor(Color evenRowColor)
evenRowColor - the new even row colorpublic Color getOddRowColor()
public void setOddRowColor(Color oddRowColor)
oddRowColor - the new odd row color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||