Package org.jdesktop.swingx.plaf.synth
Class SynthXListUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ListUI
org.jdesktop.swingx.plaf.YListUI
org.jdesktop.swingx.plaf.basic.BasicYListUI
org.jdesktop.swingx.plaf.basic.core.BasicXListUI
org.jdesktop.swingx.plaf.synth.SynthXListUI
- All Implemented Interfaces:
PropertyChangeListener,EventListener,SynthConstants,SynthUI
Extends BasicXListUI for synth,
copied from javax.swing.plaf.synth.SynthListUI, which extends BasicListUI
- Author:
- Jeanette Winzenburg
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.core.BasicXListUI
BasicXListUI.Actions, BasicXListUI.HandlerNested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.BasicYListUI
BasicYListUI.FocusHandler, BasicYListUI.ListDataHandler, BasicYListUI.ListSelectionHandler, BasicYListUI.MouseInputHandler, BasicYListUI.PropertyChangeHandler -
Field Summary
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicYListUI
BASELINE_COMPONENT_KEY, CHANGE_LEAD, CHANGE_SELECTION, defaultTransferHandler, DROP_LINE_THICKNESS, EXTEND_SELECTION, handlerFields inherited from class org.jdesktop.swingx.plaf.YListUI
cellHeight, cellHeights, cellRendererChanged, cellWidth, columnCount, componentOrientationChanged, fixedCellHeightChanged, fixedCellWidthChanged, focusListener, fontChanged, heightChanged, isFileList, isLeftToRight, layoutOrientation, layoutOrientationChanged, list, listDataListener, listHeight, listSelectionListener, listWidth, modelChanged, mouseInputListener, preferredHeight, propertyChangeListener, prototypeCellValueChanged, rendererPane, rowsPerColumn, selectionModelChanged, timeFactor, updateLayoutStateNeeded, widthChangedFields inherited from interface javax.swing.plaf.synth.SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIFactory: Returns a new instance of SynthXListUI.protected voidthis method is called at installUI() time.protected voidthis method is called at installUI() time.protected voidthis method is called at installUI() time.protected voidInstalls a SynthBorder from the current style, if ui-installable.voidvoidpaintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) voidMethods inherited from class org.jdesktop.swingx.plaf.basic.core.BasicXListUI
createListDataListener, createListSelectionListener, createPropertyChangeListener, getElementAt, getElementCount, getHandler, getSortUI, getViewModel, installSortUI, invalidateCellSizeCache, loadActionMap, maybeUpdateLayoutState, processedBySortUI, processedBySortUI, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallSortUI, uninstallUI, updateIsFileList, updateSortUIMethods inherited from class org.jdesktop.swingx.plaf.basic.BasicYListUI
checkBaselinePrecondition, createFocusListener, createMouseInputListener, getBaseline, getBaselineResizeBehavior, getCellBounds, getDropLineRect, getPreferredSize, paint, paintCell, paintDropLine, paintImpl, redrawList, selectNextIndex, selectPreviousIndexMethods inherited from class org.jdesktop.swingx.plaf.YListUI
convertLocationToColumn, convertLocationToRow, convertModelToColumn, convertModelToRow, convertRowToY, convertYToRow, getCellBounds, getHeight, getModelIndex, getRowCount, indexToLocation, locationToIndex, updateLayoutStateMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, update
-
Constructor Details
-
SynthXListUI
-
-
Method Details
-
createUI
Factory: Returns a new instance of SynthXListUI. SynthXListUI delegates are allocated one per JList.- Returns:
- A new ListUI implementation for the Synth look and feel.
-
paintBorder
- Specified by:
paintBorderin interfaceSynthUI
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
installUI
Initializes
super.listwithJComponent cby calling protected void installDefaults() protected void installListeners() protected void installKeyboardActions()Initializes
super.listwithJComponent cby calling protected void installDefaults() protected void installListeners() protected void installKeyboardActions()Also installs
ListSortUI()- Overrides:
installUIin classBasicXListUI
-
installDefaults
protected void installDefaults()this method is called at installUI() time.- Overrides:
installDefaultsin classBasicXListUI- See Also:
-
installListeners
protected void installListeners()this method is called at installUI() time.- Overrides:
installListenersin classBasicXListUI- See Also:
-
installKeyboardActions
protected void installKeyboardActions()this method is called at installUI() time.- Overrides:
installKeyboardActionsin classBasicXListUI- See Also:
-
installSynthBorder
protected void installSynthBorder()Installs a SynthBorder from the current style, if ui-installable. -
getContext
- Specified by:
getContextin interfaceSynthUI
-