com.jtattoo.plaf
Class BaseTableHeaderUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TableHeaderUI
javax.swing.plaf.basic.BasicTableHeaderUI
com.jtattoo.plaf.BaseTableHeaderUI
public class BaseTableHeaderUI
- extends BasicTableHeaderUI
- Author:
- Michael Hagen
Methods inherited from class javax.swing.plaf.basic.BasicTableHeaderUI |
createMouseInputListener, getBaseline, getMaximumSize, getMinimumSize, getRolloverColumn, installDefaults, installKeyboardActions, installUI, rolloverColumnUpdated, uninstallDefaults, uninstallKeyboardActions, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myMouseAdapter
protected MouseAdapter myMouseAdapter
myMouseMotionAdapter
protected MouseMotionAdapter myMouseMotionAdapter
rolloverCol
protected int rolloverCol
BaseTableHeaderUI
public BaseTableHeaderUI()
createUI
public static ComponentUI createUI(JComponent c)
installListeners
public void installListeners()
- Overrides:
installListeners
in class BasicTableHeaderUI
uninstallListeners
public void uninstallListeners()
- Overrides:
uninstallListeners
in class BasicTableHeaderUI
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Return the preferred size of the header. The preferred height is the
maximum of the preferred heights of all of the components provided
by the header renderers. The preferred width is the sum of the
preferred widths of each column (plus inter-cell spacing).
- Overrides:
getPreferredSize
in class BasicTableHeaderUI
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
paint
in class BasicTableHeaderUI
getHeaderRenderer
protected Component getHeaderRenderer(int col)
paintCell
protected void paintCell(Graphics g,
Rectangle cellRect,
int col)
paintBackground
protected void paintBackground(Graphics g,
Rectangle cellRect,
int col)
Copyright © 2011. All Rights Reserved.