Package com.illumon.iris.gui.table
Class DeephavenScrollPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollPaneUI
javax.swing.plaf.basic.BasicScrollPaneUI
com.illumon.iris.gui.table.DeephavenScrollPaneUI
- All Implemented Interfaces:
ScrollPaneConstants
public class DeephavenScrollPaneUI extends BasicScrollPaneUI
An extension of
BasicScrollPaneUI
that will properly synchronize the main viewport with the row viewport
if the position is driven by the row.-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollPaneUI
BasicScrollPaneUI.HSBChangeListener, BasicScrollPaneUI.MouseWheelHandler, BasicScrollPaneUI.PropertyChangeHandler, BasicScrollPaneUI.ViewportChangeHandler, BasicScrollPaneUI.VSBChangeListener
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicScrollPaneUI
hsbChangeListener, scrollpane, spPropertyChangeListener, viewportChangeListener, vsbChangeListener
Fields inherited from interface javax.swing.ScrollPaneConstants
COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT
-
Constructor Summary
Constructors Constructor Description DeephavenScrollPaneUI()
-
Method Summary
Modifier and Type Method Description void
installUI(JComponent x)
protected void
syncMainViewportWithRowViewport()
void
uninstallUI(JComponent c)
protected void
updateRowHeader(PropertyChangeEvent e)
Methods inherited from class javax.swing.plaf.basic.BasicScrollPaneUI
createHSBChangeListener, createMouseWheelListener, createPropertyChangeListener, createUI, createViewportChangeListener, createVSBChangeListener, getBaseline, getBaselineResizeBehavior, getMaximumSize, installDefaults, installKeyboardActions, installListeners, paint, syncScrollPaneWithViewport, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, updateColumnHeader, updateScrollBarDisplayPolicy, updateViewport
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMinimumSize, getPreferredSize, update
-
Constructor Details
-
DeephavenScrollPaneUI
public DeephavenScrollPaneUI()
-
-
Method Details
-
installUI
- Overrides:
installUI
in classBasicScrollPaneUI
-
uninstallUI
- Overrides:
uninstallUI
in classBasicScrollPaneUI
-
updateRowHeader
- Overrides:
updateRowHeader
in classBasicScrollPaneUI
-
syncMainViewportWithRowViewport
protected void syncMainViewportWithRowViewport()
-