public class SubstancePanelUI extends BasicPanelUI
Constructor | Description |
---|---|
SubstancePanelUI() |
Modifier and Type | Method | Description |
---|---|---|
static ComponentUI |
createUI(JComponent comp) |
|
protected void |
installDefaults(JPanel p) |
|
protected boolean |
toPaintBackground(JComponent c) |
Returns indication whether the panel background should be filled.
|
void |
update(Graphics g,
JComponent c) |
getBaseline, getBaselineResizeBehavior, installUI, uninstallDefaults, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint
public static ComponentUI createUI(JComponent comp)
protected void installDefaults(JPanel p)
installDefaults
in class BasicPanelUI
public void update(Graphics g, JComponent c)
update
in class ComponentUI
protected boolean toPaintBackground(JComponent c)
c
- Component (should be JPanel
).true
if the panel background should be filled with
the background color, false
otherwise.