Package org.apache.jmeter.gui.util
Class HeaderAsPropertyRendererWrapper
java.lang.Object
org.apache.jmeter.gui.util.HeaderAsPropertyRendererWrapper
- All Implemented Interfaces:
TableCellRenderer
Wraps
TableCellRenderer
to renders items in a JTable by using resource names
and control some formatting (centering, fonts and border)-
Constructor Summary
ConstructorDescriptionHeaderAsPropertyRendererWrapper
(TableCellRenderer renderer, Object[][] columnsMsgParameters) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetTableCellRendererComponent
(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 usecolumnsMsgParameters
as they are not moved when the columns of the corresponding tables object model are moved
-
Constructor Details
-
HeaderAsPropertyRendererWrapper
@Deprecated public HeaderAsPropertyRendererWrapper(TableCellRenderer renderer, Object[][] columnsMsgParameters) Deprecated.don't usecolumnsMsgParameters
as they are not moved, when the corresponding columns in the tables object model are moved- Parameters:
renderer
-TableCellRenderer
to delegate tocolumnsMsgParameters
- ignored
-
HeaderAsPropertyRendererWrapper
-
-
Method Details
-
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) - Specified by:
getTableCellRendererComponent
in interfaceTableCellRenderer
-
setupDefaultRenderer
- Parameters:
table
-JTable
-
setupDefaultRenderer
Deprecated.don't usecolumnsMsgParameters
as they are not moved when the columns of the corresponding tables object model are moved- Parameters:
table
-JTable
columnsMsgParameters
- ignored
-
columnsMsgParameters
as they are not moved, when the corresponding columns in the tables object model are moved