javax.swing.plaf.basic
Class BasicPanelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by javax.swing.plaf.basic.BasicPanelUI

public class BasicPanelUI
extends PanelUI

A UI delegate for the JPanel component.


Constructor Summary
BasicPanelUI()
           
 
Method Summary
static ComponentUI createUI(JComponent panel)
          Returns a UI delegate for the specified component.
protected  void installDefaults(JPanel p)
          Installs the defaults for this UI delegate in the specified panel.
 void installUI(JComponent c)
          Installs this UI delegate in the specified component.
protected  void uninstallDefaults(JPanel p)
          Uninstalls the UI defaults for the specified panel.
 void uninstallUI(JComponent c)
          Uninstalls this UI delegate from the specified component.
 
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

BasicPanelUI

public BasicPanelUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent panel)
Returns a UI delegate for the specified component.

Parameters:
panel - the panel.

installUI

public void installUI(JComponent c)
Installs this UI delegate in the specified component.

Overrides:
installUI in class ComponentUI
Parameters:
c - the component (should be a JPanel, null not permitted).
See Also:
ComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()

installDefaults

protected void installDefaults(JPanel p)
Installs the defaults for this UI delegate in the specified panel.

Parameters:
p - the panel (null not permitted).

uninstallUI

public void uninstallUI(JComponent c)
Uninstalls this UI delegate from the specified component.

Overrides:
uninstallUI in class ComponentUI
Parameters:
c - the component (null not permitted).
See Also:
ComponentUI.installUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()

uninstallDefaults

protected void uninstallDefaults(JPanel p)
Uninstalls the UI defaults for the specified panel.

Parameters:
p - the panel (null not permitted).