public static class

WindowsBorders.DashedBorder

extends LineBorder
implements UIResource
java.lang.Object
   ↳ javax.swing.border.AbstractBorder
     ↳ javax.swing.border.LineBorder
       ↳ com.sun.java.swing.plaf.windows.WindowsBorders.DashedBorder

Class Overview

This class is an implementation of a dashed border.

Summary

[Expand]
Inherited Fields
From class javax.swing.border.LineBorder
Public Constructors
WindowsBorders.DashedBorder(Color color)
WindowsBorders.DashedBorder(Color color, int thickness)
Public Methods
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 javax.swing.border.LineBorder
From class javax.swing.border.AbstractBorder
From class java.lang.Object
From interface javax.swing.border.Border

Public Constructors

public WindowsBorders.DashedBorder (Color color)

public WindowsBorders.DashedBorder (Color color, int thickness)

Public Methods

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