Package com.formdev.flatlaf.ui
Class FlatViewportUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ViewportUI
-
- javax.swing.plaf.basic.BasicViewportUI
-
- com.formdev.flatlaf.ui.FlatViewportUI
-
public class FlatViewportUI extends BasicViewportUI
Provides the Flat LaF UI delegate forJViewport
.- UiDefault:
- Viewport.font Font unused, Viewport.background Color, Viewport.foreground Color unused
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FlatViewportUI.ViewportPainter
-
Constructor Summary
Constructors Constructor Description FlatViewportUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUI
createUI(JComponent c)
void
paint(Graphics g, JComponent c)
-
Methods inherited from class javax.swing.plaf.basic.BasicViewportUI
installDefaults, installUI, uninstallDefaults, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paint
in classComponentUI
-
-