Class MyCellRenderer

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

class MyCellRenderer extends DefaultTableCellRenderer
The Class MyCellRenderer.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      The Constant serialVersionUID.
      See Also:
    • smallArrowIcon

      private ImageIcon smallArrowIcon
      The small arrow icon.
  • Constructor Details

    • MyCellRenderer

      MyCellRenderer()
  • Method Details

    • getTableCellRendererComponent

      public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column, ArrayList styleList)
      Gets the table cell renderer component.
      Parameters:
      table - the table
      value - the value
      isSelected - the is selected
      hasFocus - the has focus
      row - the row
      column - the column
      styleList - the style list
      Returns:
      the table cell renderer component