Class LogTimestampColumnRenderer

All Implemented Interfaces:
AutoResizableTableCellRenderer, ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TableCellRenderer

public class LogTimestampColumnRenderer extends DBDateTimeRenderer
See Also:
  • Constructor Details

    • LogTimestampColumnRenderer

      public LogTimestampColumnRenderer(@NotNull GuiColumn column)
  • Method Details

    • getBackground

      public Color getBackground(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
      Description copied from class: ColumnRenderer
      Get the background color for the current cell. If the GuiColumn specified a background and the row is not selected it will use the GuiColumn's color. Otherwise it will use the colors specified by the UIDefaults. If the model indicates that the cell is stale, it will wash the color.
      Overrides:
      getBackground in class ColumnRenderer
      Parameters:
      table - The table being rendered.
      value - The value to render.
      isSelected - If this cell is selected.
      hasFocus - If this cell has focus.
      row - The current row number.
      column - The current column index.
      Returns:
      A Color to use for this cell's background.
      See Also: