Class RadiancePanelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- javax.swing.plaf.basic.BasicPanelUI
-
- org.pushingpixels.radiance.theming.internal.ui.RadiancePanelUI
-
public class RadiancePanelUI extends javax.swing.plaf.basic.BasicPanelUIUI for panels in Radiance look and feel.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRadiancePanelUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent comp)protected voidinstallDefaults(javax.swing.JPanel p)private booleantoPaintBackground(javax.swing.JComponent c)Returns indication whether the panel background should be filled.voidupdate(java.awt.Graphics g, javax.swing.JComponent c)-
Methods inherited from class javax.swing.plaf.basic.BasicPanelUI
getBaseline, getBaselineResizeBehavior, installUI, uninstallDefaults, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
-
installDefaults
protected void installDefaults(javax.swing.JPanel p)
- Overrides:
installDefaultsin classjavax.swing.plaf.basic.BasicPanelUI
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)- Overrides:
updatein classjavax.swing.plaf.ComponentUI
-
toPaintBackground
private boolean toPaintBackground(javax.swing.JComponent c)
Returns indication whether the panel background should be filled.- Parameters:
c- Component (should beJPanel).- Returns:
trueif the panel background should be filled with the background color,falseotherwise.
-
-