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, handler
Fields 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, widthChanged
Fields inherited from interface javax.swing.plaf.synth.SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
protected void
this method is called at installUI() time.protected void
this method is called at installUI() time.protected void
this method is called at installUI() time.protected void
Installs a SynthBorder from the current style, if ui-installable.void
void
paintBorder
(SynthContext context, Graphics g, int x, int y, int w, int h) void
Methods 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, updateIsFileList
Methods inherited from class org.jdesktop.swingx.plaf.YListUI
convertLocationToColumn, convertLocationToRow, convertModelToColumn, convertModelToRow, convertRowToY, convertYToRow, getCellBounds, getElementCount, getHeight, getModelIndex, getRowCount, getViewModel, indexToLocation, locationToIndex, maybeUpdateLayoutState, updateLayoutState
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, update
-
Constructor Details
-
SynthYListUI
-
-
Method Details
-
createUI
-
paintBorder
- Specified by:
paintBorder
in interfaceSynthUI
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
installUI
Initializes
super.list
withJComponent c
by calling protected void installDefaults() protected void installListeners() protected void installKeyboardActions()Initializes
super.list
withJComponent c
by calling protected void installDefaults() protected void installListeners() protected void installKeyboardActions()- Overrides:
installUI
in classBasicYListUI
-
installDefaults
protected void installDefaults()this method is called at installUI() time.- Overrides:
installDefaults
in classBasicYListUI
- See Also:
-
installListeners
protected void installListeners()this method is called at installUI() time.- Overrides:
installListeners
in classBasicYListUI
- See Also:
-
installKeyboardActions
protected void installKeyboardActions()this method is called at installUI() time.- Overrides:
installKeyboardActions
in classBasicYListUI
- See Also:
-
installSynthBorder
protected void installSynthBorder()Installs a SynthBorder from the current style, if ui-installable. -
getContext
- Specified by:
getContext
in interfaceSynthUI
-