|
Quaqua 8.0 2011-10-02 | ||||||||
| 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
ch.randelshofer.quaqua.QuaquaRootPaneUI
public class QuaquaRootPaneUI
QuaquaRootPaneUI.
| Constructor Summary | |
|---|---|
QuaquaRootPaneUI()
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected javax.swing.event.AncestorListener |
createAncestorListener()
|
protected java.awt.event.ComponentListener |
createComponentListener()
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
protected void |
installDefaults(javax.swing.JRootPane c)
|
protected void |
installListeners(javax.swing.JRootPane root)
|
void |
installUI(javax.swing.JComponent c)
Invokes supers implementation of installUI to install
the necessary state onto the passed in JRootPane
to render the metal look and feel implementation of
RootPaneUI. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
void |
propertyChange(java.beans.PropertyChangeEvent e)
Invoked when a property changes on the root pane. |
protected void |
uninstallListeners(javax.swing.JRootPane root)
|
void |
uninstallUI(javax.swing.JComponent c)
Invokes supers implementation to uninstall any of its state. |
void |
update(java.awt.Graphics gr,
javax.swing.JComponent c)
|
| Methods inherited from class javax.swing.plaf.basic.BasicRootPaneUI |
|---|
installComponents, installKeyboardActions, uninstallComponents, uninstallDefaults, uninstallKeyboardActions |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuaquaRootPaneUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void installUI(javax.swing.JComponent c)
installUI to install
the necessary state onto the passed in JRootPane
to render the metal look and feel implementation of
RootPaneUI. If
the windowDecorationStyle property of the
JRootPane is other than JRootPane.NONE,
this will add a custom Component to render the widgets to
JRootPane, as well as installing a custom
Border and LayoutManager on the
JRootPane.
installUI in class javax.swing.plaf.basic.BasicRootPaneUIc - the JRootPane to install state onto
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUIpublic void uninstallUI(javax.swing.JComponent c)
LayoutManager of the JRootPane.
If a Component has been added to the JRootPane
to render the window decoration style, this method will remove it.
Similarly, this will revert the Border and LayoutManager of the
JRootPane to what it was before installUI
was invoked.
uninstallUI in class javax.swing.plaf.basic.BasicRootPaneUIc - the JRootPane to uninstall state fromprotected void installDefaults(javax.swing.JRootPane c)
installDefaults in class javax.swing.plaf.basic.BasicRootPaneUI
public void update(java.awt.Graphics gr,
javax.swing.JComponent c)
update in class javax.swing.plaf.ComponentUIprotected void installListeners(javax.swing.JRootPane root)
installListeners in class javax.swing.plaf.basic.BasicRootPaneUIprotected void uninstallListeners(javax.swing.JRootPane root)
uninstallListeners in class javax.swing.plaf.basic.BasicRootPaneUIprotected java.awt.event.ComponentListener createComponentListener()
protected javax.swing.event.AncestorListener createAncestorListener()
public void propertyChange(java.beans.PropertyChangeEvent e)
defaultButton has changed, this will
reinstall the keyboard actions.
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class javax.swing.plaf.basic.BasicRootPaneUI
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||