Class SubstanceViewportUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ViewportUI
-
- javax.swing.plaf.basic.BasicViewportUI
-
- org.pushingpixels.substance.internal.ui.SubstanceViewportUI
-
public class SubstanceViewportUI extends BasicViewportUI
UI for panels in Substance look and feel.
-
-
Constructor Summary
Constructors Constructor Description SubstanceViewportUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUIcreateUI(JComponent comp)protected voidinstallDefaults(JComponent c)protected booleantoPaintBackground(JComponent c)Returns indication whether the viewport background should be filled.voidupdate(Graphics g, JComponent c)-
Methods inherited from class javax.swing.plaf.basic.BasicViewportUI
installUI, uninstallDefaults, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent comp)
-
installDefaults
protected void installDefaults(JComponent c)
- Overrides:
installDefaultsin classBasicViewportUI
-
update
public void update(Graphics g, JComponent c)
- Overrides:
updatein classComponentUI
-
toPaintBackground
protected boolean toPaintBackground(JComponent c)
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.
-
-