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
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 Colorprotected static final Colorprotected static final Colorprotected static final Colorprotected static final Colorprotected static final Colorprotected static final Colorprotected static final Colorprotected static final ColorFields inherited from class javax.swing.plaf.basic.BasicTableUI
focusListener, keyListener, mouseInputListener, rendererPane, table -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CellRendererPaneCreates a customCellRendererPanethat sets the renderer component to be non-opqaque if the associated row isn't selected.protected voidvoidMethods inherited from class javax.swing.plaf.basic.BasicTableUI
createFocusListener, createKeyListener, createMouseInputListener, createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installKeyboardActions, paint, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods 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:
installUIin classBasicTableUI
-
installListeners
protected void installListeners()- Overrides:
installListenersin classBasicTableUI
-
getRowBorder
-
getSelectedRowBorder
-
createCustomCellRendererPane
Creates a customCellRendererPanethat sets the renderer component to be non-opqaque if the associated row isn't selected. This customCellRendererPaneis needed because a table UI delegate has no prepare renderer likeJTablehas.
-