public class BasicTableUI extends TableUI
Modifier and Type | Class | Description |
---|---|---|
class |
BasicTableUI.FocusHandler |
This class should be treated as a "protected" inner class.
|
class |
BasicTableUI.KeyHandler |
This class should be treated as a "protected" inner class.
|
class |
BasicTableUI.MouseInputHandler |
This class should be treated as a "protected" inner class.
|
Modifier and Type | Field | Description |
---|---|---|
protected FocusListener |
focusListener |
|
protected KeyListener |
keyListener |
|
protected MouseInputListener |
mouseInputListener |
|
protected CellRendererPane |
rendererPane |
|
protected JTable |
table |
Constructor | Description |
---|---|
BasicTableUI() |
Modifier and Type | Method | Description |
---|---|---|
protected FocusListener |
createFocusListener() |
Creates the focus listener for handling keyboard navigation in the JTable.
|
protected KeyListener |
createKeyListener() |
Creates the key listener for handling keyboard navigation in the JTable.
|
protected MouseInputListener |
createMouseInputListener() |
Creates the mouse listener for the JTable.
|
static ComponentUI |
createUI(JComponent c) |
|
int |
getBaseline(JComponent c,
int width,
int height) |
Returns the baseline.
|
Component.BaselineResizeBehavior |
getBaselineResizeBehavior(JComponent c) |
Returns an enum indicating how the baseline of the component
changes as the size changes.
|
Dimension |
getMaximumSize(JComponent c) |
Return the maximum size of the table.
|
Dimension |
getMinimumSize(JComponent c) |
Return the minimum size of the table.
|
Dimension |
getPreferredSize(JComponent c) |
Return the preferred size of the table.
|
protected void |
installDefaults() |
Initialize JTable properties, e.g.
|
protected void |
installKeyboardActions() |
Register all keyboard actions on the JTable.
|
protected void |
installListeners() |
Attaches listeners to the JTable.
|
void |
installUI(JComponent c) |
Configures the specified component appropriately for the look and feel.
|
void |
paint(Graphics g,
JComponent c) |
Paint a representation of the
table instance
that was set in installUI(). |
protected void |
uninstallDefaults() |
|
protected void |
uninstallKeyboardActions() |
|
protected void |
uninstallListeners() |
|
void |
uninstallUI(JComponent c) |
Reverses configuration which was done on the specified component during
installUI . |
contains, getAccessibleChild, getAccessibleChildrenCount, update
protected JTable table
protected CellRendererPane rendererPane
protected KeyListener keyListener
protected FocusListener focusListener
protected MouseInputListener mouseInputListener
protected KeyListener createKeyListener()
protected FocusListener createFocusListener()