Package org.pushingpixels.lafwidget
Class LafWidgetAdapter<T extends JComponent>
- java.lang.Object
-
- org.pushingpixels.lafwidget.LafWidgetAdapter<T>
-
- All Implemented Interfaces:
LafWidget<T>
- Direct Known Subclasses:
AutoScrollWidget,DesktopIconHoverPreviewWidget,EditContextMenuWidget,GhostAnimationWidget,LockBorderWidget,MenuSearchWidget,PasswordStrengthCheckerWidget,ScrollPaneSelectorWidget,SelectAllOnFocusGainWidget,SelectOnEscapeWidget,TabHoverPreviewWidget,TabOverviewDialogWidget,TabPagerWidget,TreeDragAndDropWidget
public abstract class LafWidgetAdapter<T extends JComponent> extends Object implements LafWidget<T>
Base implementation ofLafWidgetinterface.
-
-
Field Summary
Fields Modifier and Type Field Description protected TjcompAssociated component.-
Fields 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 Constructor Description LafWidgetAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinstallComponents()Installs components for the associated component.voidinstallDefaults()Installs default settings for the associated component.voidinstallListeners()Installs listeners for the associated component.voidinstallUI()Installs UI on the associated component.voidsetComponent(T jcomp)Associates a component withthiswidget.voiduninstallComponents()Uninstalls components for the associated component.voiduninstallDefaults()Uninstalls default settings for the associated component.voiduninstallListeners()Uninstalls listeners for the associated component.voiduninstallUI()Uninstalls UI on the associated component.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pushingpixels.lafwidget.LafWidget
requiresCustomLafSupport
-
-
-
-
Field Detail
-
jcomp
protected T extends JComponent jcomp
Associated component.
-
-
Method Detail
-
setComponent
public void setComponent(T jcomp)
Description copied from interface:LafWidgetAssociates a component withthiswidget.- Specified by:
setComponentin interfaceLafWidget<T extends JComponent>- Parameters:
jcomp- Component.
-
installUI
public void installUI()
Description copied from interface:LafWidgetInstalls UI on the associated component.- Specified by:
installUIin interfaceLafWidget<T extends JComponent>
-
installComponents
public void installComponents()
Description copied from interface:LafWidgetInstalls components for the associated component.- Specified by:
installComponentsin interfaceLafWidget<T extends JComponent>
-
installDefaults
public void installDefaults()
Description copied from interface:LafWidgetInstalls default settings for the associated component.- Specified by:
installDefaultsin interfaceLafWidget<T extends JComponent>
-
installListeners
public void installListeners()
Description copied from interface:LafWidgetInstalls listeners for the associated component.- Specified by:
installListenersin interfaceLafWidget<T extends JComponent>
-
uninstallUI
public void uninstallUI()
Description copied from interface:LafWidgetUninstalls UI on the associated component.- Specified by:
uninstallUIin interfaceLafWidget<T extends JComponent>
-
uninstallComponents
public void uninstallComponents()
Description copied from interface:LafWidgetUninstalls components for the associated component.- Specified by:
uninstallComponentsin interfaceLafWidget<T extends JComponent>
-
uninstallDefaults
public void uninstallDefaults()
Description copied from interface:LafWidgetUninstalls default settings for the associated component.- Specified by:
uninstallDefaultsin interfaceLafWidget<T extends JComponent>
-
uninstallListeners
public void uninstallListeners()
Description copied from interface:LafWidgetUninstalls listeners for the associated component.- Specified by:
uninstallListenersin interfaceLafWidget<T extends JComponent>
-
-