public class ITunesTableUI extends BasicTableUI
Sorting indicators will be rendered if a
TableUtils.SortDelegate is installed on
the associated JTable via the
TableUtils.makeSortable(javax.swing.JTable, com.explodingpixels.widgets.TableUtils.SortDelegate)
method.BasicTableUI.FocusHandler, BasicTableUI.KeyHandler, BasicTableUI.MouseInputHandler| Modifier and Type | Field and Description |
|---|---|
protected static Color |
EVEN_ROW_COLOR |
protected static Color |
SELECTION_ACTIVE_BOTTOM_BORDER_COLOR |
protected static Color |
SELECTION_ACTIVE_SELECTION_BACKGROUND_COLOR |
protected static Color |
SELECTION_ACTIVE_SELECTION_FOREGROUND_COLOR |
protected static Color |
SELECTION_INACTIVE_BOTTOM_BORDER_COLOR |
protected static Color |
SELECTION_INACTIVE_SELECTION_BACKGROUND_COLOR |
protected static Color |
SELECTION_INACTIVE_SELECTION_FOREGROUND_COLOR |
protected static Color |
TABLE_GRID_COLOR |
protected static Color |
TRANSPARENT_COLOR |
focusListener, keyListener, mouseInputListener, rendererPane, table| Constructor and Description |
|---|
ITunesTableUI() |
| Modifier and Type | Method and Description |
|---|---|
protected CellRendererPane |
createCustomCellRendererPane()
Creates a custom
CellRendererPane that sets the renderer
component to be non-opqaque if the associated row isn't selected. |
Border |
getRowBorder() |
Border |
getSelectedRowBorder() |
protected void |
installListeners() |
void |
installUI(JComponent c) |
createFocusListener, createKeyListener, createMouseInputListener, createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installKeyboardActions, paint, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updateprotected static final Color EVEN_ROW_COLOR
protected static final Color TABLE_GRID_COLOR
protected static final Color SELECTION_ACTIVE_SELECTION_FOREGROUND_COLOR
protected static final Color SELECTION_ACTIVE_SELECTION_BACKGROUND_COLOR
protected static final Color SELECTION_INACTIVE_SELECTION_FOREGROUND_COLOR
protected static final Color SELECTION_INACTIVE_SELECTION_BACKGROUND_COLOR
protected static final Color SELECTION_ACTIVE_BOTTOM_BORDER_COLOR
protected static final Color SELECTION_INACTIVE_BOTTOM_BORDER_COLOR
protected static final Color TRANSPARENT_COLOR
public void installUI(JComponent c)
installUI in class BasicTableUIprotected void installListeners()
installListeners in class BasicTableUIpublic Border getRowBorder()
public Border getSelectedRowBorder()
protected CellRendererPane createCustomCellRendererPane()
CellRendererPane that sets the renderer
component to be non-opqaque if the associated row isn't selected. This
custom CellRendererPane is needed because a table UI delegate has
no prepare renderer like JTable has.