Class RadianceViewportUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ViewportUI
-
- javax.swing.plaf.basic.BasicViewportUI
-
- org.pushingpixels.radiance.theming.internal.ui.RadianceViewportUI
-
public class RadianceViewportUI extends javax.swing.plaf.basic.BasicViewportUI
UI for panels in Radiance look and feel.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RadianceViewportUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent comp)
protected void
installDefaults(javax.swing.JComponent c)
private 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)
-
Methods inherited from class javax.swing.plaf.basic.BasicViewportUI
installUI, uninstallDefaults, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
-
installDefaults
protected void installDefaults(javax.swing.JComponent c)
- Overrides:
installDefaults
in classjavax.swing.plaf.basic.BasicViewportUI
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
update
in classjavax.swing.plaf.ComponentUI
-
toPaintBackground
private boolean toPaintBackground(javax.swing.JComponent c)
Returns indication whether the viewport background should be filled.- Parameters:
c
- Component (should beJViewport
).- Returns:
true
if the viewport background should be filled with the background color,false
otherwise.
-
-