Class AutoScrollWidget
java.lang.Object
org.pushingpixels.lafwidget.LafWidgetAdapter<JScrollPane>
org.pushingpixels.lafwidget.scroll.AutoScrollWidget
- All Implemented Interfaces:
LafWidget<JScrollPane>
Widget that decorates scroll panes with auto scroll.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PropertyChangeListenerProperty change listener - listens on the changes toLafWidget.AUTO_SCROLLproperty.Fields inherited from class org.pushingpixels.lafwidget.LafWidgetAdapter
jcompFields inherited from interface org.pushingpixels.lafwidget.LafWidget
AUTO_SCROLL, COMPONENT_PREVIEW_PAINTER, HAS_LOCK_ICON, IGNORE_GLOBAL_LOCALE, PASSWORD_STRENGTH_CHECKER, TABBED_PANE_PREVIEW_PAINTER, TEXT_EDIT_CONTEXT_MENU, TEXT_FLIP_SELECT_ON_ESCAPE, TEXT_SELECT_ON_FOCUS, TREE_AUTO_DND_SUPPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInstalls listeners for the associated component.voidInstalls UI on the associated component.booleanReturns indication whetherthiswidget requires custom LAF support.voidUninstalls listeners for the associated component.voidUninstalls UI on the associated component.Methods inherited from class org.pushingpixels.lafwidget.LafWidgetAdapter
installComponents, installDefaults, setComponent, uninstallComponents, uninstallDefaults
-
Field Details
-
propertyChangeListener
Property change listener - listens on the changes toLafWidget.AUTO_SCROLLproperty.
-
-
Constructor Details
-
AutoScrollWidget
public AutoScrollWidget()
-
-
Method Details
-
requiresCustomLafSupport
public boolean requiresCustomLafSupport()Description copied from interface:LafWidgetReturns indication whetherthiswidget requires custom LAF support. Some widgets such asTabOverviewDialogWidgetorTabHoverPreviewWidgetrequire custom implementation based on the internals of the specific LAF. Relevant functions in the baseLafWidgetSupportsupport throwUnsupportedOperationException.- Returns:
trueifthiswidget requires custom LAF support,falseotherwise.
-
installUI
public void installUI()Description copied from interface:LafWidgetInstalls UI on the associated component.- Specified by:
installUIin interfaceLafWidget<JScrollPane>- Overrides:
installUIin classLafWidgetAdapter<JScrollPane>
-
uninstallUI
public void uninstallUI()Description copied from interface:LafWidgetUninstalls UI on the associated component.- Specified by:
uninstallUIin interfaceLafWidget<JScrollPane>- Overrides:
uninstallUIin classLafWidgetAdapter<JScrollPane>
-
installListeners
public void installListeners()Description copied from interface:LafWidgetInstalls listeners for the associated component.- Specified by:
installListenersin interfaceLafWidget<JScrollPane>- Overrides:
installListenersin classLafWidgetAdapter<JScrollPane>
-
uninstallListeners
public void uninstallListeners()Description copied from interface:LafWidgetUninstalls listeners for the associated component.- Specified by:
uninstallListenersin interfaceLafWidget<JScrollPane>- Overrides:
uninstallListenersin classLafWidgetAdapter<JScrollPane>
-