Module java.desktop

Class BasicBorders.SplitPaneBorder

  • All Implemented Interfaces:
    Border, UIResource
    Enclosing class:
    BasicBorders

    public static class BasicBorders.SplitPaneBorder
    extends Object
    implements Border, UIResource
    Draws the border around the splitpane. To work correctly you should also install a border on the divider (property SplitPaneDivider.border).
    • Field Detail

      • highlight

        protected Color highlight
        The color of highlight
      • shadow

        protected Color shadow
        The color of shadow
    • Constructor Detail

      • SplitPaneBorder

        public SplitPaneBorder​(Color highlight,
                               Color shadow)
        Constructs a new instance of a SplitPaneBorder.
        Parameters:
        highlight - a color of highlight
        shadow - a color of shadow