public class BasicRootPaneUI extends javax.swing.plaf.RootPaneUI implements java.beans.PropertyChangeListener
| Constructor and Description |
|---|
BasicRootPaneUI() |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x) |
protected void |
installComponents(javax.swing.JRootPane rp)
Installs additional look and feel components to the root pane.
|
protected void |
installDefaults(javax.swing.JRootPane rp)
Installs the look and feel defaults for JRootPane.
|
protected void |
installKeyboardActions(javax.swing.JRootPane rp)
Installs look and feel keyboard actions on the root pane.
|
protected void |
installListeners(javax.swing.JRootPane rp)
Installs any look and feel specific listeners on the root pane.
|
void |
installUI(javax.swing.JComponent c)
Sets up the specified component so it conforms the the design
guidelines of the implemented look and feel.
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
Fired after a Bean's property has changed.
|
protected void |
uninstallComponents(javax.swing.JRootPane rp)
Uninstalls look and feel components from the root pane.
|
protected void |
uninstallDefaults(javax.swing.JRootPane rp)
Uninstalls the look and feel defaults that have been installed in
installDefaults(javax.swing.JRootPane). |
protected void |
uninstallKeyboardActions(javax.swing.JRootPane rp)
Uninstalls look and feel keyboard actions from the root pane.
|
protected void |
uninstallListeners(javax.swing.JRootPane rp)
Uninstalls any look and feel specific listeners from the root pane.
|
void |
uninstallUI(javax.swing.JComponent c)
Uninstalls this UI from the root pane.
|
public BasicRootPaneUI()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
public void installUI(javax.swing.JComponent c)
javax.swing.plaf.ComponentUIComponentUI delegate is created.
The delegate object then receives an installUI
message.
This method should perform the following tasks:
UIResource marker
interface, such as BorderUIResource or ColorUIResource.LayoutManager.JSplitPane might install a special
component for the divider.installUI in class javax.swing.plaf.ComponentUIc - the component for which this delegate will provide
services.ComponentUI.uninstallUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()protected void installDefaults(javax.swing.JRootPane rp)
rp - the root pane to install the defaults toprotected void installComponents(javax.swing.JRootPane rp)
rp - the root pane to install the components toprotected void installListeners(javax.swing.JRootPane rp)
rp - the root pane to install the listeners toprotected void installKeyboardActions(javax.swing.JRootPane rp)
rp - the root pane to install the keyboard actions topublic void propertyChange(java.beans.PropertyChangeEvent event)
java.beans.PropertyChangeListenerpropertyChange in interface java.beans.PropertyChangeListenerevent - the change (containing the old and new values)public void uninstallUI(javax.swing.JComponent c)
uninstallDefaults(javax.swing.JRootPane), uninstallComponents(javax.swing.JRootPane),
uninstallListeners(javax.swing.JRootPane), uninstallKeyboardActions(javax.swing.JRootPane)
in this order.uninstallUI in class javax.swing.plaf.ComponentUIc - the root pane to uninstall the UI fromComponentUI.installUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()protected void uninstallDefaults(javax.swing.JRootPane rp)
installDefaults(javax.swing.JRootPane).rp - the root pane to uninstall the defaults fromprotected void uninstallComponents(javax.swing.JRootPane rp)
rp - the root pane to uninstall the components fromprotected void uninstallListeners(javax.swing.JRootPane rp)
rp - the root pane to uninstall the listeners fromprotected void uninstallKeyboardActions(javax.swing.JRootPane rp)
rp - the root pane to uninstall the keyboard actions from