Class SubstancePanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
javax.swing.plaf.basic.BasicPanelUI
org.pushingpixels.substance.internal.ui.SubstancePanelUI
UI for panels in Substance look and feel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent comp) protected voidprotected booleanReturns indication whether the panel background should be filled.voidupdate(Graphics g, JComponent c) Methods inherited from class javax.swing.plaf.basic.BasicPanelUI
getBaseline, getBaselineResizeBehavior, installUI, uninstallDefaults, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint
-
Constructor Details
-
SubstancePanelUI
public SubstancePanelUI()
-
-
Method Details
-
createUI
-
installDefaults
- Overrides:
installDefaultsin classBasicPanelUI
-
update
- Overrides:
updatein classComponentUI
-
toPaintBackground
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.
-