Package com.formdev.flatlaf.ui
Class FlatRootPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.RootPaneUI
-
- javax.swing.plaf.basic.BasicRootPaneUI
-
- com.formdev.flatlaf.ui.FlatRootPaneUI
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
public class FlatRootPaneUI extends javax.swing.plaf.basic.BasicRootPaneUI
Provides the Flat LaF UI delegate forJRootPane
.- UiDefault:
- RootPane.border Border, RootPane.activeBorderColor Color, RootPane.inactiveBorderColor Color , RootPane.borderDragThickness int, RootPane.cornerDragWidth int, RootPane.honorFrameMinimumSizeOnResize boolean, RootPane.honorDialogMinimumSizeOnResize boolean
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
FlatRootPaneUI.FlatRootLayout
static class
FlatRootPaneUI.FlatWindowBorder
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JRootPane
rootPane
protected static java.lang.Integer
TITLE_PANE_LAYER
protected FlatTitlePane
titlePane
protected FlatWindowResizer
windowResizer
-
Constructor Summary
Constructors Constructor Description FlatRootPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FlatRootPaneUI.FlatRootLayout
createRootLayout()
protected FlatTitlePane
createTitlePane()
static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
protected FlatWindowResizer
createWindowResizer()
protected void
installClientDecorations()
protected void
installDefaults(javax.swing.JRootPane c)
void
installUI(javax.swing.JComponent c)
void
propertyChange(java.beans.PropertyChangeEvent e)
protected void
setTitlePane(FlatTitlePane newTitlePane)
protected void
uninstallClientDecorations()
void
uninstallUI(javax.swing.JComponent c)
-
Methods inherited from class javax.swing.plaf.basic.BasicRootPaneUI
installComponents, installKeyboardActions, installListeners, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
-
-
-
-
Field Detail
-
rootPane
protected javax.swing.JRootPane rootPane
-
titlePane
protected FlatTitlePane titlePane
-
windowResizer
protected FlatWindowResizer windowResizer
-
TITLE_PANE_LAYER
protected static final java.lang.Integer TITLE_PANE_LAYER
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in classjavax.swing.plaf.basic.BasicRootPaneUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in classjavax.swing.plaf.basic.BasicRootPaneUI
-
installDefaults
protected void installDefaults(javax.swing.JRootPane c)
- Overrides:
installDefaults
in classjavax.swing.plaf.basic.BasicRootPaneUI
-
installClientDecorations
protected void installClientDecorations()
-
uninstallClientDecorations
protected void uninstallClientDecorations()
-
createRootLayout
protected FlatRootPaneUI.FlatRootLayout createRootLayout()
-
createWindowResizer
protected FlatWindowResizer createWindowResizer()
-
createTitlePane
protected FlatTitlePane createTitlePane()
-
setTitlePane
protected void setTitlePane(FlatTitlePane newTitlePane)
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
- Overrides:
propertyChange
in classjavax.swing.plaf.basic.BasicRootPaneUI
-
-