javax.swing.plaf.basic
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, update
public BasicPanelUI()
public static ComponentUI createUI(JComponent panel)
panel
- the panel.public void installUI(JComponent c)
installUI
in class ComponentUI
c
- 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 ComponentUI
c
- 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).