Class GTrableColumn<R,C>

java.lang.Object
docking.widgets.trable.GTrableColumn<R,C>
Type Parameters:
R - the row object type
C - the column value type

public abstract class GTrableColumn<R,C> extends Object
Abstract base class for GTrable column objects in the GTrableColumnModel
  • Constructor Details

    • GTrableColumn

      public GTrableColumn()
  • Method Details

    • getWidth

      public int getWidth()
    • getRenderer

      public GTrableCellRenderer<C> getRenderer()
    • getValue

      public abstract C getValue(R row)
      Returns the column value given the row object
      Parameters:
      row - the row object containing the data for the entire row
      Returns:
      the value to be displayed in this column
    • getPreferredWidth

      protected int getPreferredWidth()
    • getMinWidth

      public int getMinWidth()
    • isResizable

      public boolean isResizable()