|Home >> All >> javax >> swing >> [ border Javadoc ]|
javax.swing.border: Javadoc index of package javax.swing.border.
BevelBorder: A rectangular, two pixel thick border that causes the enclosed area to appear as if it was raising out of or lowered into the screen. Some LookAndFeels use this kind of border for rectangular buttons. A BevelBorder has a highlight and a shadow color. In the raised variant, the highlight color is used for the top and left edges, and the shadow color is used for the bottom and right edge. For an image, see the documentation of the individual constructors.
EtchedBorder: A border that looks like an engraving etched into the background surface, or (in its raised variant) coming out of the surface plane. Using different constructors, it is possible to either explicitly specify the border colors, or to let the colors derive from the background color of the enclosed Component.
SoftBevelBorder: A rectangular, three pixel thick border that looks like a BevelBorder with slightly softened corners. Like BevelBorder, SoftBevelBorder has a highlight and a shadow color. In the raised variant, the highlight color is used for the top and left edges, and the shadow color is used for the bottom and right edge. In the lowered variant, color usage is reversed. For an image, see the documentation of the individual constructors.
Border: An public interface for decorative or spacing borders around a Component. To reduce memory consumption, several Components may share a single Border instance. javax.swing.BorderFactory is a factory class for producing commonly used shared borders.
EmptyBorder: A border for leaving a specifiable number of pixels empty around the enclosed component. An EmptyBorder requires some space on each edge, but does not perform any drawing.
MatteBorder: A border that is filled with either a solid color or with repeated icon tiles.
CompoundBorder: A Border that is composed of an interior and an exterior border, where the interior border is tightly nested into the exterior.
LineBorder: A border that consists of a line whose thickness and color can be specified. There also is a variant with rounded corners.
AbstractBorder: An invisible zero-width border, serving as a base class for implementing more interesting borders.
TitledBorder: A border that paints a title on top of another border.