LafWidget<JTabbedPane>
, Resettable
public class TabPagerWidget extends LafWidgetAdapter<JTabbedPane> implements Resettable
Modifier and Type | Field | Description |
---|---|---|
protected MouseListener |
mouseListener |
Mouse listener for Ctrl paging (from version 2.1).
|
protected MouseWheelListener |
mouseWheelListener |
Mouse wheel listener for Ctrl paging (from version 2.1).
|
protected PropertyChangeListener |
propertyChangeListener |
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
jcomp
Constructor | Description |
---|---|
TabPagerWidget() |
Modifier and Type | Method | 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 |
reset() |
Resets the state of
this widget. |
void |
uninstallListeners() |
Uninstalls listeners for the associated component.
|
void |
uninstallUI() |
Uninstalls UI on the associated component.
|
installComponents, installDefaults, setComponent, uninstallComponents, uninstallDefaults
protected MouseWheelListener mouseWheelListener
protected MouseListener mouseListener
protected PropertyChangeListener propertyChangeListener
public void installUI()
LafWidget
installUI
in interface LafWidget<JTabbedPane>
installUI
in class LafWidgetAdapter<JTabbedPane>
public void uninstallUI()
LafWidget
uninstallUI
in interface LafWidget<JTabbedPane>
uninstallUI
in class LafWidgetAdapter<JTabbedPane>
public void installListeners()
LafWidget
installListeners
in interface LafWidget<JTabbedPane>
installListeners
in class LafWidgetAdapter<JTabbedPane>
public void uninstallListeners()
LafWidget
uninstallListeners
in interface LafWidget<JTabbedPane>
uninstallListeners
in class LafWidgetAdapter<JTabbedPane>
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
.requiresCustomLafSupport
in interface LafWidget<JTabbedPane>
true
if this
widget requires custom LAF
support, false
otherwise.public void reset()
Resettable
this
widget.reset
in interface Resettable