public class BasicTableHeaderUI extends TableHeaderUI
Modifier and Type | Class | Description |
---|---|---|
class |
BasicTableHeaderUI.MouseInputHandler |
This class should be treated as a "protected" inner class.
|
Modifier and Type | Field | Description |
---|---|---|
protected JTableHeader |
header |
The JTableHeader that is delegating the painting to this UI.
|
protected MouseInputListener |
mouseInputListener |
|
protected CellRendererPane |
rendererPane |
Constructor | Description |
---|---|
BasicTableHeaderUI() |
Modifier and Type | Method | Description |
---|---|---|
protected MouseInputListener |
createMouseInputListener() |
Creates the mouse listener for the JTableHeader.
|
static ComponentUI |
createUI(JComponent h) |
|
int |
getBaseline(JComponent c,
int width,
int height) |
Returns the baseline.
|
Dimension |
getMaximumSize(JComponent c) |
Return the maximum size of the header.
|
Dimension |
getMinimumSize(JComponent c) |
Return the minimum size of the header.
|
Dimension |
getPreferredSize(JComponent c) |
Return the preferred size of the header.
|
protected int |
getRolloverColumn() |
Returns the index of the column header over which the mouse
currently is.
|
protected void |
installDefaults() |
Initializes JTableHeader properties such as font, foreground, and background.
|
protected void |
installKeyboardActions() |
Register all keyboard actions on the JTableHeader.
|
protected void |
installListeners() |
Attaches listeners to the JTableHeader.
|
void |
installUI(JComponent c) |
Configures the specified component appropriately for the look and feel.
|
void |
paint(Graphics g,
JComponent c) |
Paints the specified component appropriately for the look and feel.
|
protected void |
|