Class ITunesTableUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TableUI
javax.swing.plaf.basic.BasicTableUI
com.explodingpixels.macwidgets.plaf.ITunesTableUI
A UI delegate that renders an iTunes style table.
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.-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTableUI
BasicTableUI.FocusHandler, BasicTableUI.KeyHandler, BasicTableUI.MouseInputHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Color
protected static final Color
protected static final Color
protected static final Color
protected static final Color
protected static final Color
protected static final Color
protected static final Color
protected static final Color
Fields inherited from class javax.swing.plaf.basic.BasicTableUI
focusListener, keyListener, mouseInputListener, rendererPane, table
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CellRendererPane
Creates a customCellRendererPane
that sets the renderer component to be non-opqaque if the associated row isn't selected.protected void
void
Methods inherited from class javax.swing.plaf.basic.BasicTableUI
createFocusListener, createKeyListener, createMouseInputListener, createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installKeyboardActions, paint, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Field Details
-
EVEN_ROW_COLOR
-
TABLE_GRID_COLOR
-
SELECTION_ACTIVE_SELECTION_FOREGROUND_COLOR
-
SELECTION_ACTIVE_SELECTION_BACKGROUND_COLOR
-
SELECTION_INACTIVE_SELECTION_FOREGROUND_COLOR
-
SELECTION_INACTIVE_SELECTION_BACKGROUND_COLOR
-
SELECTION_ACTIVE_BOTTOM_BORDER_COLOR
-
SELECTION_INACTIVE_BOTTOM_BORDER_COLOR
-
TRANSPARENT_COLOR
-
-
Constructor Details
-
ITunesTableUI
public ITunesTableUI()
-
-
Method Details
-
installUI
- Overrides:
installUI
in classBasicTableUI
-
installListeners
protected void installListeners()- Overrides:
installListeners
in classBasicTableUI
-
getRowBorder
-
getSelectedRowBorder
-
createCustomCellRendererPane
Creates a customCellRendererPane
that sets the renderer component to be non-opqaque if the associated row isn't selected. This customCellRendererPane
is needed because a table UI delegate has no prepare renderer likeJTable
has.
-