public class BasicPanelUI extends PanelUI
JPanel component.| Constructor and Description |
|---|
BasicPanelUI() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, updatepublic BasicPanelUI()
public static ComponentUI createUI(JComponent panel)
panel - the panel.public void installUI(JComponent c)
installUI in class ComponentUIc - the component (should be a JPanel, null not
permitted).ComponentUI.uninstallUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()protected void installDefaults(JPanel p)
p - the panel (null not permitted).public void uninstallUI(JComponent c)
uninstallUI in class ComponentUIc - the component (null not permitted).ComponentUI.installUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()protected void uninstallDefaults(JPanel p)
p - the panel (null not permitted).