Java javax.swing BorderFactory fields, constructors, methods, implement or subclass

Example usage for Java javax.swing BorderFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing BorderFactory.

The text is from its open source code.

Method

BordercreateBevelBorder(int type, Color highlight, Color shadow)
Creates a beveled border of the specified type, using the specified highlighting and shadowing.
BordercreateBevelBorder(int type)
Creates a beveled border of the specified type, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
BordercreateBevelBorder(int type, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner)
Creates a beveled border of the specified type, using the specified colors for the inner and outer highlight and shadow areas.
CompoundBordercreateCompoundBorder(Border outsideBorder, Border insideBorder)
Creates a compound border specifying the border objects to use for the outside and inside edges.
CompoundBordercreateCompoundBorder()
Creates a compound border with a null inside edge and a null outside edge.
BordercreateDashedBorder(Paint paint, float length, float spacing)
Creates a dashed border of the specified paint , relative length , and relative spacing .
BordercreateDashedBorder(Paint paint)
Creates a dashed border of the specified paint .
BordercreateDashedBorder(Paint paint, float thickness, float length, float spacing, boolean rounded)
Creates a dashed border of the specified paint , thickness , line shape, relative length , and relative spacing .
BordercreateEmptyBorder()
Creates an empty border that takes up no space.
BordercreateEmptyBorder(int top, int left, int bottom, int right)
Creates an empty border that takes up space but which does no drawing, specifying the width of the top, left, bottom, and right sides.
BordercreateEtchedBorder()
Creates a border with an "etched" look using the component's current background color for highlighting and shading.
BordercreateEtchedBorder(int type)
Creates a border with an "etched" look using the component's current background color for highlighting and shading.
BordercreateEtchedBorder(Color highlight, Color shadow)
Creates a border with an "etched" look using the specified highlighting and shading colors.
BordercreateEtchedBorder(int type, Color highlight, Color shadow)
Creates a border with an "etched" look using the specified highlighting and shading colors.
BordercreateLineBorder(Color color)
Creates a line border with the specified color.
BordercreateLineBorder(Color color, int thickness)
Creates a line border with the specified color and width.
BordercreateLineBorder(Color color, int thickness, boolean rounded)
Creates a line border with the specified color, thickness, and corner shape.
BordercreateLoweredBevelBorder()
Creates a border with a lowered beveled edge, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
BordercreateLoweredSoftBevelBorder()
Creates a beveled border with a lowered edge and softened corners, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
MatteBordercreateMatteBorder(int top, int left, int bottom, int right, Color color)
Creates a matte-look border using a solid color.
MatteBordercreateMatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
Creates a matte-look border that consists of multiple tiles of a specified icon.
BordercreateRaisedBevelBorder()
Creates a border with a raised beveled edge, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
BordercreateRaisedSoftBevelBorder()
Creates a beveled border with a raised edge and softened corners, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
BordercreateSoftBevelBorder(int type)
Creates a beveled border of the specified type with softened corners, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
BordercreateSoftBevelBorder(int type, Color highlight, Color shadow)
Creates a beveled border of the specified type with softened corners, using the specified highlighting and shadowing.
BordercreateStrokeBorder(BasicStroke stroke)
Creates a border of the specified stroke .
BordercreateStrokeBorder(BasicStroke stroke, Paint paint)
Creates a border of the specified stroke and paint .
TitledBordercreateTitledBorder(String title)
Creates a new titled border with the specified title, the default border type (determined by the current look and feel), the default text position (determined by the current look and feel), the default justification (leading), and the default font and text color (determined by the current look and feel).
TitledBordercreateTitledBorder(Border border)
Creates a new titled border with an empty title, the specified border object, the default text position (determined by the current look and feel), the default justification (leading), and the default font and text color (determined by the current look and feel).
TitledBordercreateTitledBorder(Border border, String title)
Adds a title to an existing border, with default positioning (determined by the current look and feel), default justification (leading) and the default font and text color (determined by the current look and feel).
TitledBordercreateTitledBorder(Border border, String title, int titleJustification, int titlePosition)
Adds a title to an existing border, with the specified positioning and using the default font and text color (determined by the current look and feel).
TitledBordercreateTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
Adds a title to an existing border, with the specified positioning and font, and using the default text color (determined by the current look and feel).
TitledBordercreateTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
Adds a title to an existing border, with the specified positioning, font and color.