public final class DataTableStyling
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DataTableStyling.AlternatingHighlightRenderer |
static class |
DataTableStyling.FancyRenderer<T extends javax.swing.JComponent> |
static class |
DataTableStyling.PatternHighlightRenderer |
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
COLOR_ALTERNATING_HILITE |
static java.awt.Color |
COLOR_SELECTION_BG |
static java.awt.Color |
COLOR_SELECTION_FG |
static java.awt.Color |
COLOR_STANDARD_BG |
static java.awt.Color |
COLOR_STANDARD_FG |
static int |
FONT_NO_CHANGE |
static int |
LINE_SPACING |
static java.text.DecimalFormat |
NUMBER_FORMAT |
static javax.swing.border.Border |
TABLE_FOCUS_BORDER |
static javax.swing.border.Border |
TABLE_NO_FOCUS_BORDER |
Modifier and Type | Method and Description |
---|---|
static void |
applyColors(javax.swing.JTable table) |
static void |
applyFont(javax.swing.JTable table,
java.awt.Font font) |
static javax.swing.table.TableCellRenderer |
getHeaderTextCellRenderer() |
static javax.swing.table.TableCellRenderer |
getNumberCellRenderer() |
static javax.swing.table.TableCellRenderer |
getTextCellRenderer() |
public static final java.awt.Color COLOR_STANDARD_FG
public static final java.awt.Color COLOR_STANDARD_BG
public static final java.awt.Color COLOR_SELECTION_FG
public static final java.awt.Color COLOR_SELECTION_BG
public static final java.awt.Color COLOR_ALTERNATING_HILITE
public static final javax.swing.border.Border TABLE_FOCUS_BORDER
public static final javax.swing.border.Border TABLE_NO_FOCUS_BORDER
public static final java.text.DecimalFormat NUMBER_FORMAT
public static final int FONT_NO_CHANGE
public static final int LINE_SPACING
public static void applyColors(javax.swing.JTable table)
public static void applyFont(javax.swing.JTable table, java.awt.Font font)
public static javax.swing.table.TableCellRenderer getNumberCellRenderer()
public static javax.swing.table.TableCellRenderer getTextCellRenderer()
public static javax.swing.table.TableCellRenderer getHeaderTextCellRenderer()