Class DataTableStyling


  • public final class DataTableStyling
    extends java.lang.Object
    • Field Detail

      • COLOR_STANDARD_FG

        public static final java.awt.Color COLOR_STANDARD_FG
      • COLOR_STANDARD_BG

        public static final java.awt.Color COLOR_STANDARD_BG
      • COLOR_SELECTION_FG

        public static final java.awt.Color COLOR_SELECTION_FG
      • COLOR_SELECTION_BG

        public static final java.awt.Color COLOR_SELECTION_BG
      • COLOR_ALTERNATING_HILITE

        public static final java.awt.Color COLOR_ALTERNATING_HILITE
      • TABLE_FOCUS_BORDER

        public static final javax.swing.border.Border TABLE_FOCUS_BORDER
      • TABLE_NO_FOCUS_BORDER

        public static final javax.swing.border.Border TABLE_NO_FOCUS_BORDER
      • NUMBER_FORMAT

        public static final java.text.DecimalFormat NUMBER_FORMAT
    • Method Detail

      • applyColors

        public static void applyColors​(javax.swing.JTable table)
      • applyFont

        public static void applyFont​(javax.swing.JTable table,
                                     java.awt.Font font)
      • getNumberCellRenderer

        public static javax.swing.table.TableCellRenderer getNumberCellRenderer()
      • getTextCellRenderer

        public static javax.swing.table.TableCellRenderer getTextCellRenderer()
      • getHeaderTextCellRenderer

        public static javax.swing.table.TableCellRenderer getHeaderTextCellRenderer()