Class CustomColumn<X>

java.lang.Object
gg.xp.xivsupport.gui.tables.CustomColumn<X>

public class CustomColumn<X> extends Object
  • Constructor Details

    • CustomColumn

      public CustomColumn(String columnName, Function<X,@Nullable Object> getter)
    • CustomColumn

      public CustomColumn(String columnName, Function<X,@Nullable Object> getter, Consumer<TableColumn> columnConfigurer)
      Custom table column
      Parameters:
      columnName - Name of the column
      getter - Function to convert an instance in the table to whatever this column cares about. Note that this is executed **in the table rendering code** so it should under no circumstances involve non-trivial computation or access.
      columnConfigurer - Lets you configure the column, e.g. to override the renderer.
    • CustomColumn

      public CustomColumn(String columnName, Function<X,@Nullable Object> getter, int fixedWidth)
  • Method Details