Package org.jdesktop.swingx.plaf.synth
Class SynthYListUI
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.synth.SynthYListUI
- All Implemented Interfaces:
PropertyChangeListener,EventListener,SynthConstants,SynthUI
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.BasicYListUI
BasicYListUI.Actions, BasicYListUI.FocusHandler, BasicYListUI.Handler, 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 ComponentUIprotected 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.BasicYListUI
checkBaselinePrecondition, createFocusListener, createListDataListener, createListSelectionListener, createMouseInputListener, createPropertyChangeListener, getBaseline, getBaselineResizeBehavior, getCellBounds, getDropLineRect, getHandler, getPreferredSize, loadActionMap, paint, paintCell, paintDropLine, paintImpl, redrawList, selectNextIndex, selectPreviousIndex, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, updateIsFileListMethods inherited from class org.jdesktop.swingx.plaf.YListUI
convertLocationToColumn, convertLocationToRow, convertModelToColumn, convertModelToRow, convertRowToY, convertYToRow, getCellBounds, getElementCount, getHeight, getModelIndex, getRowCount, getViewModel, indexToLocation, locationToIndex, maybeUpdateLayoutState, updateLayoutStateMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, update
-
Constructor Details
-
SynthYListUI
-
-
Method Details
-
createUI
-
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()- Overrides:
installUIin classBasicYListUI
-
installDefaults
protected void installDefaults()this method is called at installUI() time.- Overrides:
installDefaultsin classBasicYListUI- See Also:
-
installListeners
protected void installListeners()this method is called at installUI() time.- Overrides:
installListenersin classBasicYListUI- See Also:
-
installKeyboardActions
protected void installKeyboardActions()this method is called at installUI() time.- Overrides:
installKeyboardActionsin classBasicYListUI- See Also:
-
installSynthBorder
protected void installSynthBorder()Installs a SynthBorder from the current style, if ui-installable. -
getContext
- Specified by:
getContextin interfaceSynthUI
-