|
|||||||||
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
public class BasicRootPaneUI
Constructor Summary | |
---|---|
BasicRootPaneUI()
|
Method Summary | |
---|---|
static ComponentUI |
createUI(JComponent x)
|
protected void |
installComponents(JRootPane rp)
Installs additional look and feel components to the root pane. |
protected void |
installDefaults(JRootPane rp)
Installs the look and feel defaults for JRootPane. |
protected void |
installKeyboardActions(JRootPane rp)
Installs look and feel keyboard actions on the root pane. |
protected void |
installListeners(JRootPane rp)
Installs any look and feel specific listeners on the root pane. |
void |
installUI(JComponent c)
Sets up the specified component so it conforms the the design guidelines of the implemented look and feel. |
void |
propertyChange(PropertyChangeEvent event)
Fired after a Bean's property has changed. |
protected void |
uninstallComponents(JRootPane rp)
Uninstalls look and feel components from the root pane. |
protected void |
uninstallDefaults(JRootPane rp)
Uninstalls the look and feel defaults that have been installed in installDefaults(javax.swing.JRootPane) . |
protected void |
uninstallKeyboardActions(JRootPane rp)
Uninstalls look and feel keyboard actions from the root pane. |
protected void |
uninstallListeners(JRootPane rp)
Uninstalls any look and feel specific listeners from the root pane. |
void |
uninstallUI(JComponent c)
Uninstalls this UI from the root pane. |
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 BasicRootPaneUI()
Method Detail |
---|
public static ComponentUI createUI(JComponent x)
public void installUI(JComponent c)
ComponentUI
ComponentUI
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 ComponentUI
c
- 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(JRootPane rp)
rp
- the root pane to install the defaults toprotected void installComponents(JRootPane rp)
rp
- the root pane to install the components toprotected void installListeners(JRootPane rp)
rp
- the root pane to install the listeners toprotected void installKeyboardActions(JRootPane rp)
rp
- the root pane to install the keyboard actions topublic void propertyChange(PropertyChangeEvent event)
PropertyChangeListener
propertyChange
in interface PropertyChangeListener
event
- the change (containing the old and new values)public void uninstallUI(JComponent c)
uninstallDefaults(javax.swing.JRootPane)
, uninstallComponents(javax.swing.JRootPane)
,
uninstallListeners(javax.swing.JRootPane)
, uninstallKeyboardActions(javax.swing.JRootPane)
in this order.
uninstallUI
in class ComponentUI
c
- the root pane to uninstall the UI fromComponentUI.installUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
protected void uninstallDefaults(JRootPane rp)
installDefaults(javax.swing.JRootPane)
.
rp
- the root pane to uninstall the defaults fromprotected void uninstallComponents(JRootPane rp)
rp
- the root pane to uninstall the components fromprotected void uninstallListeners(JRootPane rp)
rp
- the root pane to uninstall the listeners fromprotected void uninstallKeyboardActions(JRootPane rp)
rp
- the root pane to uninstall the keyboard actions from
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |