Package com.formdev.flatlaf.ui
Class FlatListCellBorder.Selected
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
-
- com.formdev.flatlaf.ui.FlatEmptyBorder
-
- com.formdev.flatlaf.ui.FlatLineBorder
-
- com.formdev.flatlaf.ui.FlatListCellBorder
-
- com.formdev.flatlaf.ui.FlatListCellBorder.Selected
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.border.Border,javax.swing.plaf.UIResource
- Enclosing class:
- FlatListCellBorder
public static class FlatListCellBorder.Selected extends FlatListCellBorder
Border for selected cell that uses margins and paints focus indicator border if enabled (List.showCellFocusIndicator=true) and exactly one item is selected.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.formdev.flatlaf.ui.FlatListCellBorder
FlatListCellBorder.Default, FlatListCellBorder.Focused, FlatListCellBorder.Selected
-
-
Constructor Summary
Constructors Constructor Description Selected()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpaintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)-
Methods inherited from class com.formdev.flatlaf.ui.FlatLineBorder
getLineColor, getLineThickness
-
Methods inherited from class com.formdev.flatlaf.ui.FlatEmptyBorder
getBorderInsets, getBorderInsets, getUnscaledBorderInsets
-
-
-
-
Method Detail
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)- Specified by:
paintBorderin interfacejavax.swing.border.Border- Overrides:
paintBorderin classFlatLineBorder
-
-