Package mdlaf.components.rootpane
Class MaterialRootPaneUIv2
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.RootPaneUI
-
- javax.swing.plaf.basic.BasicRootPaneUI
-
- mdlaf.components.rootpane.MaterialRootPaneUIv2
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener,java.util.EventListener
public class MaterialRootPaneUIv2 extends javax.swing.plaf.basic.BasicRootPaneUI
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classMaterialRootPaneUIv2.MaterialLayout
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String[]borderKeysprotected java.awt.LayoutManagerlayoutManagerprotected javax.swing.JRootPanerootprotected java.awt.LayoutManagersavedOldLayoutprotected javax.swing.JComponenttitlePaneprotected java.awt.Windowwindowprotected FlatWindowResizerwindowResizer
-
Constructor Summary
Constructors Constructor Description MaterialRootPaneUIv2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.LayoutManagercreateLayoutManager()protected javax.swing.JComponentcreateTitlePane(javax.swing.JRootPane root)static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)protected FlatWindowResizercreateWindowResizer()protected javax.swing.JComponentgetTitlePane()protected voidinstallBorder(javax.swing.JRootPane root)protected voidinstallClientDecorations(javax.swing.JRootPane root)protected voidinstallLayout(javax.swing.JRootPane root)protected voidinstallListeners(javax.swing.JRootPane root)voidinstallUI(javax.swing.JComponent c)voidpropertyChange(java.beans.PropertyChangeEvent e)protected voidsetTitlePane(javax.swing.JRootPane root, javax.swing.JComponent titlePane)protected voiduninstallBorder(javax.swing.JRootPane root)protected voiduninstallClientDecorations(javax.swing.JRootPane root)protected voiduninstallLayout(javax.swing.JRootPane root)protected voiduninstallListeners(javax.swing.JRootPane root)voiduninstallUI(javax.swing.JComponent c)-
Methods inherited from class javax.swing.plaf.basic.BasicRootPaneUI
installComponents, installDefaults, installKeyboardActions, uninstallComponents, uninstallDefaults, uninstallKeyboardActions
-
-
-
-
Field Detail
-
borderKeys
protected static final java.lang.String[] borderKeys
-
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
-
windowResizer
protected FlatWindowResizer windowResizer
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installListeners
protected void installListeners(javax.swing.JRootPane root)
- Overrides:
installListenersin classjavax.swing.plaf.basic.BasicRootPaneUI
-
uninstallListeners
protected void uninstallListeners(javax.swing.JRootPane root)
- Overrides:
uninstallListenersin classjavax.swing.plaf.basic.BasicRootPaneUI
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUIin classjavax.swing.plaf.basic.BasicRootPaneUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUIin classjavax.swing.plaf.basic.BasicRootPaneUI
-
createWindowResizer
protected FlatWindowResizer createWindowResizer()
-
uninstallBorder
protected void uninstallBorder(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()
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener- Overrides:
propertyChangein classjavax.swing.plaf.basic.BasicRootPaneUI
-
installBorder
protected void installBorder(javax.swing.JRootPane root)
-
-