Class FlatTableUI


  • public class FlatTableUI
    extends javax.swing.plaf.basic.BasicTableUI
    Provides the Flat LaF UI delegate for JTable.
    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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTableUI

        javax.swing.plaf.basic.BasicTableUI.FocusHandler, javax.swing.plaf.basic.BasicTableUI.KeyHandler, javax.swing.plaf.basic.BasicTableUI.MouseInputHandler
    • 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
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • FlatTableUI

        public FlatTableUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • installDefaults

        protected void installDefaults()
        Overrides:
        installDefaults in class javax.swing.plaf.basic.BasicTableUI
      • uninstallDefaults

        protected void uninstallDefaults()
        Overrides:
        uninstallDefaults in class javax.swing.plaf.basic.BasicTableUI
      • createFocusListener

        protected java.awt.event.FocusListener createFocusListener()
        Overrides:
        createFocusListener in class javax.swing.plaf.basic.BasicTableUI