Package com.formdev.flatlaf.ui
Class FlatListCellBorder
-
- All Implemented Interfaces:
Serializable,Border,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 classFlatListCellBorder.DefaultBorder for unselected cell that uses margins, but does not paint focus indicator border.static classFlatListCellBorder.FocusedBorder for focused unselected cell that uses margins and paints focus indicator border.static classFlatListCellBorder.SelectedBorder for selected cell that uses margins and paints focus indicator border if enabled (List.showCellFocusIndicator=true) and exactly one item is selected.
-
Field Summary
-
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFlatListCellBorder()
-
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, getUnscaledBorderInsets
-
Methods inherited from class javax.swing.border.EmptyBorder
isBorderOpaque
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-