Class 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 multiple items are selected.
    See Also:
    Serialized Form
    • Constructor Detail

      • Selected

        public Selected()
    • Method Detail

      • paintBorder

        public void paintBorder​(java.awt.Component c,
                                java.awt.Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
        Specified by:
        paintBorder in interface javax.swing.border.Border
        Overrides:
        paintBorder in class FlatListCellBorder