Class FunctionTableCellRenderer
java.lang.Object
jmri.jmrit.roster.swing.functiontable.FunctionTableCellRenderer
- All Implemented Interfaces:
TableCellRenderer
A TableCellRenderer that provides a way for the user to view details of functions of a decoder in the roster.
It is used in the FunctionLabelPane.
This file is part of JMRI.
This file is part of JMRI.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final String[]static final int[]static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
-
Field Details
-
CELL_HEIGHT
- See Also:
-
LABEL_WIDTH
- See Also:
-
columnWidths
-
columnTooltips
-
-
Constructor Details
-
FunctionTableCellRenderer
public FunctionTableCellRenderer()
-
-
Method Details
-
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) - Specified by:
getTableCellRendererComponentin interfaceTableCellRenderer
-