public class BaseTableHeaderUI extends BasicTableHeaderUI
BasicTableHeaderUI.MouseInputHandler| Modifier and Type | Field and Description |
|---|---|
protected MouseAdapter |
myMouseAdapter |
protected MouseMotionAdapter |
myMouseMotionAdapter |
protected int |
rolloverCol |
header, mouseInputListener, rendererPane| Constructor and Description |
|---|
BaseTableHeaderUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent h) |
protected boolean |
drawAlwaysActive() |
protected boolean |
drawRolloverBar() |
protected Component |
getHeaderRenderer(int col) |
Dimension |
getPreferredSize(JComponent c)
Return the preferred size of the header.
|
void |
installListeners() |
void |
installUI(JComponent c) |
void |
paint(Graphics g,
JComponent c) |
protected void |
paintBackground(Graphics g,
Rectangle cellRect,
int col) |
protected void |
paintCell(Graphics g,
Rectangle cellRect,
int col) |
protected void |
rolloverColumnUpdated(int oldColumn,
int newColumn) |
void |
uninstallListeners() |
void |
uninstallUI(JComponent c) |
protected void |
updateRolloverColumn(int oldColumn,
int newColumn) |
createMouseInputListener, getBaseline, getMaximumSize, getMinimumSize, getRolloverColumn, installDefaults, installKeyboardActions, uninstallDefaults, uninstallKeyboardActionscontains, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, updateprotected MouseAdapter myMouseAdapter
protected MouseMotionAdapter myMouseMotionAdapter
protected int rolloverCol
public static ComponentUI createUI(JComponent h)
public void installUI(JComponent c)
installUI in class BasicTableHeaderUIpublic void uninstallUI(JComponent c)
uninstallUI in class BasicTableHeaderUIpublic void installListeners()
installListeners in class BasicTableHeaderUIpublic void uninstallListeners()
uninstallListeners in class BasicTableHeaderUIprotected boolean drawAlwaysActive()
protected boolean drawRolloverBar()
protected Component getHeaderRenderer(int col)
public Dimension getPreferredSize(JComponent c)
getPreferredSize in class BasicTableHeaderUIprotected void updateRolloverColumn(int oldColumn,
int newColumn)
protected void rolloverColumnUpdated(int oldColumn,
int newColumn)
rolloverColumnUpdated in class BasicTableHeaderUIpublic void paint(Graphics g, JComponent c)
paint in class BasicTableHeaderUICopyright © 2014. All Rights Reserved.