javax.swing.plaf.metal
public class MetalRootPaneUI extends BasicRootPaneUI
windowDecorationStyle property.
Since: 1.4
| Constructor Summary | |
|---|---|
| MetalRootPaneUI()
Constructs a shared instance of MetalRootPaneUI. | |
| Method Summary | |
|---|---|
| static ComponentUI | createUI(JComponent component)
Returns a shared instance of MetalRootPaneUI.
|
| void | installUI(JComponent c)
Installs this UI to the root pane. |
| void | propertyChange(PropertyChangeEvent ev)
Receives notification if any of the JRootPane's property changes. |
| void | uninstallUI(JComponent c)
Uninstalls the UI from the root pane. |
MetalRootPaneUI.MetalRootPaneUI.
Parameters: component the component for which we return an UI instance
Returns: A shared instance of MetalRootPaneUI.
windowDecorationsStyle property is set on the root pane,
the Metal window decorations are installed on the root pane.
Parameters: c
windowDecorationStyle
property and installs the window decorations accordingly.
Parameters: ev the property change event
Parameters: c the root pane