Class MaterialRootPaneUI

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener

    public class MaterialRootPaneUI
    extends javax.swing.plaf.basic.BasicRootPaneUI
    • Field Detail

      • borderKeys

        protected static final java.lang.String[] borderKeys
      • myLastCursor

        protected java.awt.Cursor myLastCursor
      • window

        protected java.awt.Window window
      • titlePane

        protected javax.swing.JComponent titlePane
      • layoutManager

        protected java.awt.LayoutManager layoutManager
      • savedOldLayout

        protected java.awt.LayoutManager savedOldLayout
      • root

        protected javax.swing.JRootPane root
      • dimensionDevices

        protected java.awt.Dimension dimensionDevices
        With this dimension is set the absolute space dragging What is the space inside the display/displays to move the component
      • parentBounds

        protected java.awt.Dimension parentBounds
        With this dimension is defined the dimension of dragging component
    • Constructor Detail

      • MaterialRootPaneUI

        public MaterialRootPaneUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • setupDragMode

        protected void setupDragMode​(java.awt.Window f)
      • beginDraggingFrame

        public void beginDraggingFrame​(java.awt.Window f)
      • dragFrame

        public void dragFrame​(java.awt.Window w,
                              int newX,
                              int newY)
      • endDraggingFrame

        public void endDraggingFrame​(java.awt.Window f)
      • beginResizingFrame

        public void beginResizingFrame​(java.awt.Window f,
                                       int direction)
      • resizeFrame

        public void resizeFrame​(java.awt.Window f,
                                int newX,
                                int newY,
                                int newWidth,
                                int newHeight)
      • endResizingFrame

        public void endResizingFrame​(java.awt.Window f)
      • setBoundsForFrame

        public void setBoundsForFrame​(java.awt.Window f,
                                      int newX,
                                      int newY,
                                      int newWidth,
                                      int newHeight)
      • installListeners

        protected void installListeners​(javax.swing.JRootPane root)
        Overrides:
        installListeners in class javax.swing.plaf.basic.BasicRootPaneUI
      • uninstallListeners

        protected void uninstallListeners​(javax.swing.JRootPane root)
        Overrides:
        uninstallListeners in class javax.swing.plaf.basic.BasicRootPaneUI
      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.basic.BasicRootPaneUI
      • uninstallUI

        public void uninstallUI​(javax.swing.JComponent c)
        Overrides:
        uninstallUI in class javax.swing.plaf.basic.BasicRootPaneUI
      • uninstallBorder

        protected void uninstallBorder​(javax.swing.JRootPane root)
      • installWindowListeners

        protected void installWindowListeners​(javax.swing.JRootPane root,
                                              java.awt.Component parent)
      • uninstallWindowListeners

        protected void uninstallWindowListeners​(javax.swing.JRootPane root)
      • installLayout

        protected void installLayout​(javax.swing.JRootPane root)
      • uninstallLayout

        protected void uninstallLayout​(javax.swing.JRootPane root)
      • installClientDecorations

        protected void installClientDecorations​(javax.swing.JRootPane root)
      • uninstallClientDecorations

        protected void uninstallClientDecorations​(javax.swing.JRootPane root)
      • createTitlePane

        protected javax.swing.JComponent createTitlePane​(javax.swing.JRootPane root)
      • createLayoutManager

        protected java.awt.LayoutManager createLayoutManager()
      • setTitlePane

        protected void setTitlePane​(javax.swing.JRootPane root,
                                    javax.swing.JComponent titlePane)
      • getTitlePane

        protected javax.swing.JComponent getTitlePane()
      • getRootPane

        protected javax.swing.JRootPane getRootPane()
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent e)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
        Overrides:
        propertyChange in class javax.swing.plaf.basic.BasicRootPaneUI
      • setMaximized

        public void setMaximized()
      • installBorder

        protected void installBorder​(javax.swing.JRootPane root)