Class CustomEditorTable.CustomTableHeader
java.lang.Object
v1.sulphurapi.structure.custom.jtable.CustomEditorTable.CustomTableHeader
- Enclosing class:
CustomEditorTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the column indices map, initializing it if it is empty.static int
getIndexByColumnName
(String columnName) Retrieves the index of a column by its name.
-
Constructor Details
-
CustomTableHeader
public CustomTableHeader()
-
-
Method Details
-
getColumnIndices
Retrieves the column indices map, initializing it if it is empty. This method ensures that the column names are set up correctly before use.- Returns:
- a BiMap containing column names as keys and their indices as values
-
getIndexByColumnName
Retrieves the index of a column by its name.- Parameters:
columnName
- the name of the column- Returns:
- the index of the column, or -1 if the column does not exist
-
getColumnNames
-