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).

Fields

Modifier and Type Field Description
protected Color highlight

The color of highlight

protected Color shadow

The color of shadow

Constructors

Constructor Description
SplitPaneBorder​(Color highlight, Color shadow)

Constructs a new instance of a SplitPaneBorder.

Methods

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods declared in interface javax.swing.border.Border

getBorderInsets, isBorderOpaque, paintBorder

Fields

highlight

protected Color highlight

The color of highlight

shadow

protected Color shadow

The color of shadow

Constructors

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

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/plaf/basic/BasicBorders.SplitPaneBorder.html