Package org.pushingpixels.substance.api
Class SubstanceWidget<T extends javax.swing.JComponent>
- java.lang.Object
-
- org.pushingpixels.substance.api.SubstanceWidget<T>
-
public abstract class SubstanceWidget<T extends javax.swing.JComponent> extends java.lang.ObjectInterface for Substance widgets (behavioral traits).
-
-
Constructor Summary
Constructors Constructor Description SubstanceWidget()
-
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.
-
-
-
Field Detail
-
jcomp
protected T extends javax.swing.JComponent jcomp
Associated component.
-
-
Method Detail
-
setComponent
public void setComponent(T jcomp)
Associates a component withthiswidget.- Parameters:
jcomp- Component.
-
installUI
public void installUI()
Installs UI on the associated component.
-
installDefaults
public void installDefaults()
Installs default settings for the associated component.
-
installListeners
public void installListeners()
Installs listeners for the associated component.
-
installComponents
public void installComponents()
Installs components for the associated component.
-
uninstallUI
public void uninstallUI()
Uninstalls UI on the associated component.
-
uninstallDefaults
public void uninstallDefaults()
Uninstalls default settings for the associated component.
-
uninstallListeners
public void uninstallListeners()
Uninstalls listeners for the associated component.
-
uninstallComponents
public void uninstallComponents()
Uninstalls components for the associated component.
-
-