public class ScrollPaneSelectorWidget extends LafWidgetAdapter<javax.swing.JScrollPane>
Modifier and Type | Field and Description |
---|---|
protected java.awt.event.HierarchyListener |
hierarchyListener
Hierarchy listener - remove the selector in the scroll pane of a combo
popup.
|
protected java.beans.PropertyChangeListener |
propertyChangeListener
Property change listener - listens on the changes to
LafWidget.COMPONENT_PREVIEW_PAINTER property. |
protected ScrollPaneSelector |
scrollPaneSelector
The scroll pane selector for the associated scroll pane.
|
jcomp
ANIMATION_KIND, AUTO_SCROLL, COMPONENT_PREVIEW_PAINTER, IGNORE_GLOBAL_LOCALE, NO_LOCK_ICON, 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 and Description |
---|
ScrollPaneSelectorWidget() |
Modifier and Type | Method and Description |
---|---|
void |
installListeners()
Installs listeners for the associated component.
|
void |
installUI()
Installs UI on the associated component.
|
boolean |
requiresCustomLafSupport()
Returns indication whether
this widget requires custom LAF
support. |
void |
uninstallListeners()
Uninstalls listeners for the associated component.
|
void |
uninstallUI()
Uninstalls UI on the associated component.
|
installComponents, installDefaults, setComponent, uninstallComponents, uninstallDefaults
protected ScrollPaneSelector scrollPaneSelector
protected java.awt.event.HierarchyListener hierarchyListener
protected java.beans.PropertyChangeListener propertyChangeListener
LafWidget.COMPONENT_PREVIEW_PAINTER
property.public boolean requiresCustomLafSupport()
LafWidget
this
widget requires custom LAF
support. Some widgets such as TabOverviewDialogWidget
or
TabHoverPreviewWidget
require custom implementation based on the
internals of the specific LAF. Relevant functions in the base
LafWidgetSupport
support throw
UnsupportedOperationException
.true
if this
widget requires custom
LAF support, false
otherwise.public void installUI()
LafWidget
installUI
in interface LafWidget<javax.swing.JScrollPane>
installUI
in class LafWidgetAdapter<javax.swing.JScrollPane>
public void uninstallUI()
LafWidget
uninstallUI
in interface LafWidget<javax.swing.JScrollPane>
uninstallUI
in class LafWidgetAdapter<javax.swing.JScrollPane>
public void installListeners()
LafWidget
installListeners
in interface LafWidget<javax.swing.JScrollPane>
installListeners
in class LafWidgetAdapter<javax.swing.JScrollPane>
public void uninstallListeners()
LafWidget
uninstallListeners
in interface LafWidget<javax.swing.JScrollPane>
uninstallListeners
in class LafWidgetAdapter<javax.swing.JScrollPane>