Package docking

Class DisabledComponentLayerFactory


  • public class DisabledComponentLayerFactory
    extends java.lang.Object
    A factory to create JLayer instances to provide the L&F and functionality of a disabled panel -- the component assumes a disabled color, and selection via mouse and keyboard is prevented. As this is simply a layer in the UI stack, previous states of components is maintained and unmodified.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.JLayer<javax.swing.JComponent> getDisabledLayer​(javax.swing.JComponent component)  
      • Methods inherited from class java.lang.Object

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

      • getDisabledLayer

        public static javax.swing.JLayer<javax.swing.JComponent> getDisabledLayer​(javax.swing.JComponent component)