com.sun.grid.installer.gui
public class StateCellRenderer extends java.lang.Object implements javax.swing.table.TableCellRenderer
Host.State| Constructor and Description |
|---|
StateCellRenderer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) |
int |
toModel(javax.swing.JTable table,
int vColIndex)
Converts a visible column index to a column index in the model.
|
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
getTableCellRendererComponent in interface javax.swing.table.TableCellRendererpublic int toModel(javax.swing.JTable table,
int vColIndex)
table - The table which contains the columnvColIndex - The visible column index