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, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
public static ComponentUI createUI(JComponent comp)
protected void installDefaults(JComponent c)
installDefaults
in class BasicViewportUI
public void update(Graphics g, JComponent c)
update
in class ComponentUI
protected boolean toPaintBackground(JComponent c)
c
- Component (should be JViewport
).true
if the viewport background should be filled
with the background color, false
otherwise.