org.jvnet.substance
Class SubstancePanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
javax.swing.plaf.basic.BasicPanelUI
org.jvnet.substance.SubstancePanelUI
public class SubstancePanelUI
- extends javax.swing.plaf.basic.BasicPanelUI
UI for panels in Substance look and feel.
- Author:
- Kirill Grouchnikov
Method Summary |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b)
|
protected boolean |
toPaintBackground(javax.swing.JComponent c)
Returns indication whether the panel background should be filled. |
void |
update(java.awt.Graphics g,
javax.swing.JComponent c)
|
Methods inherited from class javax.swing.plaf.basic.BasicPanelUI |
getBaseline, getBaselineResizeBehavior, installDefaults, installUI, uninstallDefaults, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstancePanelUI
protected SubstancePanelUI()
- Simple constructor.
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
update
public void update(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
update
in class javax.swing.plaf.ComponentUI
toPaintBackground
protected boolean toPaintBackground(javax.swing.JComponent c)
- Returns indication whether the panel background should be filled.
- Parameters:
c
- Component (should be JPanel
).
- Returns:
true
if the panel background should be filled with
the background color, false
otherwise.