public class SubstanceViewportUI extends BasicViewportUI
| Constructor | Description |
|---|---|
SubstanceViewportUI() |
| Modifier and Type | Method | Description |
|---|---|---|
static ComponentUI |
createUI(JComponent comp) |
|
protected void |
installDefaults(JComponent c) |
|
protected boolean |
toPaintBackground(JComponent c) |
Returns indication whether the viewport background should be filled.
|
void |
update(Graphics g,
JComponent c) |
installUI, uninstallDefaults, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paintpublic static ComponentUI createUI(JComponent comp)
protected void installDefaults(JComponent c)
installDefaults in class BasicViewportUIpublic void update(Graphics g, JComponent c)
update in class ComponentUIprotected boolean toPaintBackground(JComponent c)
c - Component (should be JViewport).true if the viewport background should be filled
with the background color, false otherwise.