@OpenApiAll
public class RendererHelper
extends java.lang.Object
Constructor and Description |
---|
RendererHelper() |
Modifier and Type | Method and Description |
---|---|
static Element |
getHeaderElement(javax.swing.JTable table,
int row,
int column)
Gets element from row or column header according to the row and column indexes
This method because custom column header components do not return exact element as value of the column
|
static java.lang.String |
getNameExtension(javax.swing.JTable table,
int row,
int column,
java.lang.String currentText)
Returns name of the column with regards of its hierarchy (collapsed package names in compact tree mode)
|
static boolean |
isExpandedColumnGroupHeader(int column)
Checks if this column is one of the expanded group headers (e.g.
|
@CheckForNull public static Element getHeaderElement(javax.swing.JTable table, int row, int column)
table
- main table componentrow
- row indexcolumn
- column indexpublic static java.lang.String getNameExtension(javax.swing.JTable table, int row, int column, java.lang.String currentText)
table
- main table componentrow
- row indexcolumn
- column indexcurrentText
- text to add extension topublic static boolean isExpandedColumnGroupHeader(int column)
column
- column index