javax.swing.plaf.basic

Class BasicPanelUI

public class BasicPanelUI extends PanelUI

A UI delegate for the {@link JPanel} component.
Method Summary
static ComponentUIcreateUI(JComponent panel)
Returns a UI delegate for the specified component.
protected voidinstallDefaults(JPanel p)
Installs the defaults for this UI delegate in the specified panel.
voidinstallUI(JComponent c)
Installs this UI delegate in the specified component.
protected voiduninstallDefaults(JPanel p)
Uninstalls the UI defaults for the specified panel.
voiduninstallUI(JComponent c)
Uninstalls this UI delegate from the specified component.

Method Detail

createUI

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

Parameters: panel the panel.

installDefaults

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

Parameters: p the panel (null not permitted).

installUI

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

Parameters: c the component (should be a {@link JPanel}, null not permitted).

uninstallDefaults

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

Parameters: p the panel (null not permitted).

uninstallUI

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

Parameters: c the component (null not permitted).