Class PlayersTable.PlayerCellRenderer

  • All Implemented Interfaces:
    javax.swing.table.TableCellRenderer
    Enclosing class:
    PlayersTable

    private static class PlayersTable.PlayerCellRenderer
    extends java.lang.Object
    implements javax.swing.table.TableCellRenderer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.JButton button  
      private javax.swing.JLabel label  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Component getTableCellRendererComponent​(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • label

        private final javax.swing.JLabel label
      • button

        private final javax.swing.JButton button
    • Constructor Detail

      • PlayerCellRenderer

        public PlayerCellRenderer()
    • Method Detail

      • getTableCellRendererComponent

        public java.awt.Component getTableCellRendererComponent​(javax.swing.JTable table,
                                                                java.lang.Object value,
                                                                boolean isSelected,
                                                                boolean hasFocus,
                                                                int row,
                                                                int column)
        Specified by:
        getTableCellRendererComponent in interface javax.swing.table.TableCellRenderer