org.jvnet.substance
Class SubstanceRootPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.RootPaneUI
javax.swing.plaf.basic.BasicRootPaneUI
org.jvnet.substance.SubstanceRootPaneUI
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class SubstanceRootPaneUI
- extends BasicRootPaneUI
UI for root panes in Substance look and feel.
- Author:
- Kirill Grouchnikov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstanceRootPaneUI
public SubstanceRootPaneUI()
createUI
public static ComponentUI createUI(JComponent c)
- Creates a UI for a
JRootPane
.
- Parameters:
c
- the JRootPane the RootPaneUI will be created for
- Returns:
- the RootPaneUI implementation for the passed in JRootPane
installUI
public void installUI(JComponent c)
- Overrides:
installUI
in class BasicRootPaneUI
uninstallUI
public void uninstallUI(JComponent c)
- 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.
- Overrides:
uninstallUI
in class BasicRootPaneUI
- Parameters:
c
- the JRootPane to uninstall state from
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange
in interface PropertyChangeListener
- Overrides:
propertyChange
in class BasicRootPaneUI
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
paint
in class ComponentUI