public static class

BasicBorders.SplitPaneBorder

extends Object
implements Border UIResource
java.lang.Object
   ↳ javax.swing.plaf.basic.BasicBorders.SplitPaneBorder

Class Overview

Draws the border around the splitpane. To work correctly you shoudl also install a border on the divider (property SplitPaneDivider.border).

Summary

Fields
protected Color highlight
protected Color shadow
Public Constructors
BasicBorders.SplitPaneBorder(Color highlight, Color shadow)
Public Methods
Insets getBorderInsets(Component c)
Returns the insets of the border.
boolean isBorderOpaque()
Returns whether or not the border is opaque.
void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border for the specified component with the specified position and size.
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.swing.border.Border

Fields

protected Color highlight

protected Color shadow

Public Constructors

public BasicBorders.SplitPaneBorder (Color highlight, Color shadow)

Public Methods

public Insets getBorderInsets (Component c)

Returns the insets of the border.

Parameters
c the component for which this border insets value applies

public boolean isBorderOpaque ()

Returns whether or not the border is opaque. If the border is opaque, it is responsible for filling in it's own background when painting.

public void paintBorder (Component c, Graphics g, int x, int y, int width, int height)

Paints the border for the specified component with the specified position and size.

Parameters
c the component for which this border is being painted
g the paint graphics
x the x position of the painted border
y the y position of the painted border
width the width of the painted border
height the height of the painted border