public static class DataBatchAssistantDataTableUI.WrapperColumnHeaderRenderer extends Object implements TableCellRenderer
DataBatchAssistantTableModel
Constructor and Description |
---|
WrapperColumnHeaderRenderer(JIPipeDataTable dataTable)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
Component |
getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) |
int |
toAnnotationColumnIndex(int columnIndex)
Converts the column index to an annotation column index, or returns -1 if the column is not one
|
int |
toDataAnnotationColumnIndex(int columnIndex)
Converts the column index to a data annotation column index, or returns -1 if the column is not one
|
public WrapperColumnHeaderRenderer(JIPipeDataTable dataTable)
dataTable
- The tablepublic int toAnnotationColumnIndex(int columnIndex)
columnIndex
- absolute column indexpublic int toDataAnnotationColumnIndex(int columnIndex)
columnIndex
- absolute column indexpublic Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
getTableCellRendererComponent
in interface TableCellRenderer
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.