Package com.formdev.flatlaf.ui
Class FlatListCellBorder
- 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
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.border.Border
,javax.swing.plaf.UIResource
- Direct Known Subclasses:
FlatListCellBorder.Default
,FlatListCellBorder.Focused
,FlatListCellBorder.Selected
public class FlatListCellBorder extends FlatLineBorder
Cell border forDefaultListCellRenderer
(used byJList
).Uses separate cell margins from UI defaults to allow easy customizing.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlatListCellBorder.Default
Border for unselected cell that uses margins, but does not paint focus indicator border.static class
FlatListCellBorder.Focused
Border for focused unselected cell that uses margins and paints focus indicator border.static class
FlatListCellBorder.Selected
Border for selected cell that uses margins and paints focus indicator border if enabled (List.showCellFocusIndicator=true) and exactly one item is selected.
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlatListCellBorder()
-
Method Summary
-
Methods inherited from class com.formdev.flatlaf.ui.FlatLineBorder
getLineColor, getLineThickness, paintBorder
-
Methods inherited from class com.formdev.flatlaf.ui.FlatEmptyBorder
getBorderInsets, getBorderInsets
-
-