Class UIDesignManager


  • public final class UIDesignManager
    extends java.lang.Object
    UI Design Manager.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void ensureDockablesVisible​(com.vlsolutions.swing.docking.DockingDesktop desktop)
      Ensure that any "closed" Dockables are made visible.
      static com.vlsolutions.swing.docking.DockingDesktop getDesktop​(java.awt.Container c)
      Traverse the given container's parents until either an instance of DockingDesktop is found, or null is found.
      static void initialize​(java.lang.ClassLoader mainClassLoader)
      Initialize docking subsystem.
      static void loadDefaultColors​(javax.swing.UIDefaults uiDefaults)
      Load application default colors
      static void removeUnusedMenuSeparators​(javax.swing.JPopupMenu menu)
      Removes first, last and duplicate separators from menu.
      static void setTheme​(java.lang.String lafClassName, java.lang.ClassLoader classLoader)  
      • Methods inherited from class java.lang.Object

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

      • setTheme

        public static void setTheme​(java.lang.String lafClassName,
                                    java.lang.ClassLoader classLoader)
      • initialize

        public static void initialize​(java.lang.ClassLoader mainClassLoader)
                               throws java.io.IOException
        Initialize docking subsystem.
        Throws:
        java.io.IOException
      • removeUnusedMenuSeparators

        public static void removeUnusedMenuSeparators​(javax.swing.JPopupMenu menu)
        Removes first, last and duplicate separators from menu.
      • ensureDockablesVisible

        public static void ensureDockablesVisible​(com.vlsolutions.swing.docking.DockingDesktop desktop)
        Ensure that any "closed" Dockables are made visible.
      • getDesktop

        public static com.vlsolutions.swing.docking.DockingDesktop getDesktop​(java.awt.Container c)
        Traverse the given container's parents until either an instance of DockingDesktop is found, or null is found.
        Parameters:
        c - The container to search
        Returns:
        Either the parent DockingDesktop, or null
      • loadDefaultColors

        public static void loadDefaultColors​(javax.swing.UIDefaults uiDefaults)
                                      throws java.io.IOException
        Load application default colors
        Throws:
        java.io.IOException