public abstract class LafWidgetAdapter<T extends javax.swing.JComponent> extends java.lang.Object implements LafWidget<T>
LafWidget interface.| Modifier and Type | Field and Description |
|---|---|
protected T |
jcomp
Associated component.
|
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 and Description |
|---|
LafWidgetAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
installComponents()
Installs components for the associated component.
|
void |
installDefaults()
Installs default settings for the associated component.
|
void |
installListeners()
Installs listeners for the associated component.
|
void |
installUI()
Installs UI on the associated component.
|
void |
setComponent(T jcomp)
Associates a component with
this widget. |
void |
uninstallComponents()
Uninstalls components for the associated component.
|
void |
uninstallDefaults()
Uninstalls default settings for the associated component.
|
void |
uninstallListeners()
Uninstalls listeners for the associated component.
|
void |
uninstallUI()
Uninstalls UI on the associated component.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequiresCustomLafSupportprotected T extends javax.swing.JComponent jcomp
public void setComponent(T jcomp)
LafWidgetthis widget.setComponent in interface LafWidget<T extends javax.swing.JComponent>jcomp - Component.public void installUI()
LafWidgetpublic void installComponents()
LafWidgetinstallComponents in interface LafWidget<T extends javax.swing.JComponent>public void installDefaults()
LafWidgetinstallDefaults in interface LafWidget<T extends javax.swing.JComponent>public void installListeners()
LafWidgetinstallListeners in interface LafWidget<T extends javax.swing.JComponent>public void uninstallUI()
LafWidgetuninstallUI in interface LafWidget<T extends javax.swing.JComponent>public void uninstallComponents()
LafWidgetuninstallComponents in interface LafWidget<T extends javax.swing.JComponent>public void uninstallDefaults()
LafWidgetuninstallDefaults in interface LafWidget<T extends javax.swing.JComponent>public void uninstallListeners()
LafWidgetuninstallListeners in interface LafWidget<T extends javax.swing.JComponent>