Class CustomEditorTable.CustomTableHeader

java.lang.Object
v1.sulphurapi.structure.custom.jtable.CustomEditorTable.CustomTableHeader
Enclosing class:
CustomEditorTable

public static class CustomEditorTable.CustomTableHeader extends Object
  • Constructor Details

    • CustomTableHeader

      public CustomTableHeader()
  • Method Details

    • getColumnIndices

      public static com.google.common.collect.BiMap<String,Integer> 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

      public static int getIndexByColumnName(String columnName)
      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

      public static Set<String> getColumnNames()