Package com.formdev.flatlaf.ui
Class FlatTableUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TableUI
-
- javax.swing.plaf.basic.BasicTableUI
-
- com.formdev.flatlaf.ui.FlatTableUI
-
public class FlatTableUI extends javax.swing.plaf.basic.BasicTableUI
Provides the Flat LaF UI delegate forJTable
.- UiDefault:
- Table.font Font, Table.background Color, Table.foreground Color, Table.selectionBackground Color, Table.selectionForeground Color, Table.gridColor Color, Table.scrollPaneBorder Border, Table.dropLineColor Color, Table.dropLineShortColor Color , Table.cellNoFocusBorder Border, Table.focusCellHighlightBorder Border, Table.focusSelectedCellHighlightBorder Border, Table.dropCellBackground Color, Table.dropCellForeground Color, Table.alternateRowColor Color, Table.focusCellBackground Color, Table.focusCellForeground Color , Table.rowHeight int, Table.showHorizontalLines boolean, Table.showVerticalLines boolean, Table.intercellSpacing Dimension, Table.selectionInactiveBackground Color, Table.selectionInactiveForeground Color , Table.cellMargins Insets, Table.cellFocusColor Color, Table.showCellFocusIndicator boolean , Table.consistentHomeEndKeyBehavior boolean
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Dimension
intercellSpacing
protected java.awt.Color
selectionBackground
protected java.awt.Color
selectionForeground
protected java.awt.Color
selectionInactiveBackground
protected java.awt.Color
selectionInactiveForeground
protected boolean
showHorizontalLines
protected boolean
showVerticalLines
-
Constructor Summary
Constructors Constructor Description FlatTableUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.event.FocusListener
createFocusListener()
static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
protected void
installDefaults()
protected void
uninstallDefaults()
-
Methods inherited from class javax.swing.plaf.basic.BasicTableUI
createKeyListener, createMouseInputListener, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paint, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
-
-
-
Field Detail
-
showHorizontalLines
protected boolean showHorizontalLines
-
showVerticalLines
protected boolean showVerticalLines
-
intercellSpacing
protected java.awt.Dimension intercellSpacing
-
selectionBackground
protected java.awt.Color selectionBackground
-
selectionForeground
protected java.awt.Color selectionForeground
-
selectionInactiveBackground
protected java.awt.Color selectionInactiveBackground
-
selectionInactiveForeground
protected java.awt.Color selectionInactiveForeground
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installDefaults
protected void installDefaults()
- Overrides:
installDefaults
in classjavax.swing.plaf.basic.BasicTableUI
-
uninstallDefaults
protected void uninstallDefaults()
- Overrides:
uninstallDefaults
in classjavax.swing.plaf.basic.BasicTableUI
-
createFocusListener
protected java.awt.event.FocusListener createFocusListener()
- Overrides:
createFocusListener
in classjavax.swing.plaf.basic.BasicTableUI
-
-