| javax.swing.plaf.basic.BasicRootPaneUI org.underworldlabs.swing.plaf.smoothgradient.SmoothGradientRootPaneUI
SmoothGradientRootPaneUI | public class SmoothGradientRootPaneUI extends BasicRootPaneUI (Code) | | author: Takis Diakoumis version: $Revision: 1.4 $ |
createUI | public static ComponentUI createUI(JComponent c)(Code) | | Creates a UI for a JRootPane .
Parameters: c - the JRootPane the RootPaneUI will be created for the RootPaneUI implementation for the passed in JRootPane |
installBorder | void installBorder(JRootPane root)(Code) | | Installs the appropriate Border onto the
JRootPane .
|
installUI | public void installUI(JComponent c)(Code) | | 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 . 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 .
Parameters: c - the JRootPane to install state onto |
propertyChange | public void propertyChange(PropertyChangeEvent e)(Code) | | Invoked when a property changes. PolishedRootPaneUI is
primarily interested in events originating from the
JRootPane it has been installed on identifying the
property windowDecorationStyle . If the
windowDecorationStyle has changed to a value other
than JRootPane.NONE , this will add a Component
to the JRootPane to render the window decorations, as well
as installing a Border on the JRootPane .
On the other hand, if the windowDecorationStyle has
changed to JRootPane.NONE , this will remove the
Component that has been added to the JRootPane
as well resetting the Border to what it was before
installUI was invoked.
Parameters: e - A PropertyChangeEvent object describing the event source and the property that has changed. |
uninstallUI | public void uninstallUI(JComponent c)(Code) | | Invokes supers implementation to uninstall any of its state. This will
also reset the 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.
Parameters: c - the JRootPane to uninstall state from |
|
|