Package net.sf.freecol.client.gui.panel
Class PlayersTable.HeaderRenderer
- java.lang.Object
-
- net.sf.freecol.client.gui.panel.PlayersTable.HeaderRenderer
-
- All Implemented Interfaces:
javax.swing.table.TableCellRenderer
- Enclosing class:
- PlayersTable
private static class PlayersTable.HeaderRenderer extends java.lang.Object implements javax.swing.table.TableCellRenderer
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Component[]
components
private static int
NO_COLUMN
private int
pressedColumn
-
Constructor Summary
Constructors Constructor Description HeaderRenderer(java.awt.Component... components)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Component
getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
void
setPressedColumn(int column)
-
-
-
Field Detail
-
NO_COLUMN
private static final int NO_COLUMN
- See Also:
- Constant Field Values
-
pressedColumn
private int pressedColumn
-
components
private final java.awt.Component[] components
-
-
Method Detail
-
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
- Specified by:
getTableCellRendererComponent
in interfacejavax.swing.table.TableCellRenderer
-
setPressedColumn
public void setPressedColumn(int column)
-
-