Class SubstanceViewportUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ViewportUI
javax.swing.plaf.basic.BasicViewportUI
org.pushingpixels.substance.internal.ui.SubstanceViewportUI
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 viewport background should be filled.voidupdate(Graphics g, JComponent c) Methods inherited from class javax.swing.plaf.basic.BasicViewportUI
installUI, uninstallDefaults, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
-
Constructor Details
-
SubstanceViewportUI
public SubstanceViewportUI()
-
-
Method Details
-
createUI
-
installDefaults
- Overrides:
installDefaultsin classBasicViewportUI
-
update
- Overrides:
updatein classComponentUI
-
toPaintBackground
Returns indication whether the viewport background should be filled.- Parameters:
c- Component (should beJViewport).- Returns:
trueif the viewport background should be filled with the background color,falseotherwise.
-