| public interface javax.swing.border Border
|
Java SE 6 |
In the Swing component set, borders supercede Insets as the mechanism for creating a (decorated or plain) area around the edge of a component.
Usage Notes:
setInsets).
| version | 1.20 11/17/05 |
| See also | javax.swing.BorderFactory, javax.swing.border.EmptyBorder, javax.swing.border.CompoundBorder |
| 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.
| ||||||||||||
| Properties | |||
|---|---|---|---|
| public Insets | getBorderInsets(Component c) Returns the insets of the border.
| ||
| 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. | ||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2013 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|