public class HeaderAsPropertyRendererWrapper extends Object implements TableCellRenderer
TableCellRenderer
to renders items in a JTable by using resource names
and control some formatting (centering, fonts and border)Constructor and Description |
---|
HeaderAsPropertyRendererWrapper(TableCellRenderer renderer) |
HeaderAsPropertyRendererWrapper(TableCellRenderer renderer,
Object[][] columnsMsgParameters)
Deprecated.
don't use
columnsMsgParameters as they are not moved, when
the corresponding columns in the tables object model are moved |
Modifier and Type | Method and Description |
---|---|
Component |
getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) |
static void |
setupDefaultRenderer(JTable table) |
static void |
setupDefaultRenderer(JTable table,
Object[][] columnsMsgParameters)
Deprecated.
don't use
columnsMsgParameters as they are not moved when the columns
of the corresponding tables object model are moved |
@Deprecated public HeaderAsPropertyRendererWrapper(TableCellRenderer renderer, Object[][] columnsMsgParameters)
columnsMsgParameters
as they are not moved, when
the corresponding columns in the tables object model are movedrenderer
- TableCellRenderer
to delegate tocolumnsMsgParameters
- ignoredpublic HeaderAsPropertyRendererWrapper(TableCellRenderer renderer)
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
getTableCellRendererComponent
in interface TableCellRenderer
public static void setupDefaultRenderer(JTable table)
table
- JTable
@Deprecated public static void setupDefaultRenderer(JTable table, Object[][] columnsMsgParameters)
columnsMsgParameters
as they are not moved when the columns
of the corresponding tables object model are movedtable
- JTable
columnsMsgParameters
- ignoredCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.