|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.RootPaneUI
javax.swing.plaf.basic.BasicRootPaneUI
javax.swing.plaf.metal.MetalRootPaneUI
public class MetalRootPaneUI
A UI delegate for the JRootPane
component. This implementation
supports the JRootPane windowDecorationStyle
property.
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. |
Methods inherited from class javax.swing.plaf.basic.BasicRootPaneUI |
---|
installComponents, installDefaults, installKeyboardActions, installListeners, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetalRootPaneUI()
MetalRootPaneUI
.
Method Detail |
---|
public static ComponentUI createUI(JComponent component)
MetalRootPaneUI
.
component
- the component for which we return an UI instance
MetalRootPaneUI
.public void installUI(JComponent c)
windowDecorationsStyle
property is set on the root pane,
the Metal window decorations are installed on the root pane.
installUI
in class BasicRootPaneUI
c
- ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent c)
installUI(javax.swing.JComponent)
.
uninstallUI
in class BasicRootPaneUI
c
- the root paneComponentUI.installUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void propertyChange(PropertyChangeEvent ev)
windowDecorationStyle
property and installs the window decorations accordingly.
propertyChange
in interface PropertyChangeListener
propertyChange
in class BasicRootPaneUI
ev
- the property change event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |