Class SubstanceWidget<T extends javax.swing.JComponent>



  • public abstract class SubstanceWidget<T extends javax.swing.JComponent>
    extends java.lang.Object
    Interface for Substance widgets (behavioral traits).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected T jcomp
      Associated component.
    • Constructor Summary

      Constructors 
      Constructor Description
      SubstanceWidget​()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • jcomp

        protected T extends javax.swing.JComponent jcomp
        Associated component.
    • Constructor Detail

      • SubstanceWidget

        public SubstanceWidget​()
    • Method Detail

      • setComponent

        public void setComponent​(T jcomp)
        Associates a component with this widget.
        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.