public class SubstanceViewportUI
extends javax.swing.plaf.basic.BasicViewportUI
Constructor and Description |
---|
SubstanceViewportUI() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent comp) |
protected void |
installDefaults(javax.swing.JComponent c) |
protected boolean |
toPaintBackground(javax.swing.JComponent c)
Returns indication whether the viewport background should be filled.
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c) |
installUI, uninstallDefaults, uninstallUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
protected void installDefaults(javax.swing.JComponent c)
installDefaults
in class javax.swing.plaf.basic.BasicViewportUI
public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
in class javax.swing.plaf.ComponentUI
protected boolean toPaintBackground(javax.swing.JComponent c)
c
- Component (should be JViewport
).true
if the viewport background should be filled
with the background color, false
otherwise.