RingJavafor Ring

javax.swing.border

11 classes of the module java.desktop.

Load them with:

using {
	"javax.swing.border"
}

All packages

AbstractBorder#

abstract · extends Object · javax.swing.border.AbstractBorder

Implements: Border, Serializable

Methods

MethodRing callJava overloads
getBaselinegetBaseline(c,width,height)int getBaseline(Component c, int width, int height)
getBaselineResizeBehaviorgetBaselineResizeBehavior(c)BaselineResizeBehavior getBaselineResizeBehavior(Component c)
getBorderInsetsgetBorderInsets(c)
getBorderInsets([c,insets])
getBorderInsets([ :c = v, :insets = v ])
Insets getBorderInsets(Component c)
Insets getBorderInsets(Component c, Insets insets)
getInteriorRectanglegetInteriorRectangle([c,x,y,width,height])
getInteriorRectangle([ :c = v, :x = v, :y = v, :width = v, :height = v ])
getInteriorRectangle([c,b,x,y,width,height])
getInteriorRectangle([ :c = v, :b = v, :x = v, :y = v, :width = v, :height = v ])
Rectangle getInteriorRectangle(Component c, int x, int y, int width, int height)
static Rectangle getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)
isBorderOpaqueisBorderOpaque()boolean isBorderOpaque()
paintBorderpaintBorder(c,g,x,y,width,height)void paintBorder(Component c, Graphics g, int x, int y, int width, int height)

The methods and fields of Object are inherited.

BevelBorder#

class · extends AbstractBorder · javax.swing.border.BevelBorder

Constructors

new BevelBorder(int bevelType)
new BevelBorder(int bevelType, Color highlight, Color shadow)
new BevelBorder(int bevelType, Color highlightOuterColor, Color highlightInnerColor, Color shadowOuterColor, Color shadowInnerColor)

Ring: new BevelBorder(args) uses the constructor with the fewest parameters (at least one); new BevelBorder makes the object with the constructor without parameters; the others: (new BevelBorder).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
RAISEDintconstant · statico.RAISED
LOWEREDintconstant · statico.LOWERED

Methods

MethodRing callJava overloads
@getHighlightInnerColor@getHighlightInnerColor(c)Color getHighlightInnerColor(Component c)
@getHighlightOuterColor@getHighlightOuterColor(c)Color getHighlightOuterColor(Component c)
@getShadowInnerColor@getShadowInnerColor(c)Color getShadowInnerColor(Component c)
@getShadowOuterColor@getShadowOuterColor(c)Color getShadowOuterColor(Component c)
getBevelTypegetBevelType()int getBevelType()
getHighlightInnerColorgetHighlightInnerColor()Color getHighlightInnerColor()
getHighlightOuterColorgetHighlightOuterColor()Color getHighlightOuterColor()
getShadowInnerColorgetShadowInnerColor()Color getShadowInnerColor()
getShadowOuterColorgetShadowOuterColor()Color getShadowOuterColor()

The methods and fields of AbstractBorder are inherited.

Border#

interface · javax.swing.border.Border

Methods

MethodRing callJava overloads
getBorderInsetsgetBorderInsets(c)Insets getBorderInsets(Component c)
isBorderOpaqueisBorderOpaque()boolean isBorderOpaque()
paintBorderpaintBorder(c,g,x,y,width,height)void paintBorder(Component c, Graphics g, int x, int y, int width, int height)

CompoundBorder#

class · extends AbstractBorder · javax.swing.border.CompoundBorder

Constructors

new CompoundBorder()
new CompoundBorder(Border outsideBorder, Border insideBorder)

Ring: new CompoundBorder(args) uses the constructor with the fewest parameters (at least one); new CompoundBorder makes the object with the constructor without parameters; the others: (new CompoundBorder).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getInsideBordergetInsideBorder()Border getInsideBorder()
getOutsideBordergetOutsideBorder()Border getOutsideBorder()

The methods and fields of AbstractBorder are inherited.

EmptyBorder#

class · extends AbstractBorder · javax.swing.border.EmptyBorder

Implements: Serializable

Constructors

new EmptyBorder(Insets borderInsets)
new EmptyBorder(int top, int left, int bottom, int right)

Ring: new EmptyBorder(args) uses the constructor with the fewest parameters (at least one); new EmptyBorder makes the object with the constructor without parameters; the others: (new EmptyBorder).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@getBorderInsets@getBorderInsets(c)
@getBorderInsets([c,insets])
@getBorderInsets([ :c = v, :insets = v ])
Insets getBorderInsets(Component c)
Insets getBorderInsets(Component c, Insets insets)
getBorderInsetsgetBorderInsets()Insets getBorderInsets()

The methods and fields of AbstractBorder are inherited.

EtchedBorder#

class · extends AbstractBorder · javax.swing.border.EtchedBorder

Constructors

new EtchedBorder()
new EtchedBorder(int etchType)
new EtchedBorder(Color highlight, Color shadow)
new EtchedBorder(int etchType, Color highlight, Color shadow)

Ring: new EtchedBorder(args) uses the constructor with the fewest parameters (at least one); new EtchedBorder makes the object with the constructor without parameters; the others: (new EtchedBorder).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
RAISEDintconstant · statico.RAISED
LOWEREDintconstant · statico.LOWERED

Methods

MethodRing callJava overloads
@getHighlightColor@getHighlightColor(c)Color getHighlightColor(Component c)
@getShadowColor@getShadowColor(c)Color getShadowColor(Component c)
getEtchTypegetEtchType()int getEtchType()
getHighlightColorgetHighlightColor()Color getHighlightColor()
getShadowColorgetShadowColor()Color getShadowColor()

The methods and fields of AbstractBorder are inherited.

LineBorder#

class · extends AbstractBorder · javax.swing.border.LineBorder

Constructors

new LineBorder(Color color)
new LineBorder(Color color, int thickness)
new LineBorder(Color color, int thickness, boolean roundedCorners)

Ring: new LineBorder(args) uses the constructor with the fewest parameters (at least one); new LineBorder makes the object with the constructor without parameters; the others: (new LineBorder).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
createBlackLineBordercreateBlackLineBorder()static Border createBlackLineBorder()
createGrayLineBordercreateGrayLineBorder()static Border createGrayLineBorder()
getLineColorgetLineColor()Color getLineColor()
getRoundedCornersgetRoundedCorners()boolean getRoundedCorners()
getThicknessgetThickness()int getThickness()

The methods and fields of AbstractBorder are inherited.

MatteBorder#

class · extends EmptyBorder · javax.swing.border.MatteBorder

Constructors

new MatteBorder(Icon tileIcon)
new MatteBorder(Insets borderInsets, Icon tileIcon)
new MatteBorder(Insets borderInsets, Color matteColor)
new MatteBorder(int top, int left, int bottom, int right, Icon tileIcon)
new MatteBorder(int top, int left, int bottom, int right, Color matteColor)

Ring: new MatteBorder(args) uses the constructor with the fewest parameters (at least one); new MatteBorder makes the object with the constructor without parameters; the others: (new MatteBorder).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getMatteColorgetMatteColor()Color getMatteColor()
getTileIcongetTileIcon()Icon getTileIcon()

The methods and fields of EmptyBorder are inherited.

SoftBevelBorder#

class · extends BevelBorder · javax.swing.border.SoftBevelBorder

Constructors

new SoftBevelBorder(int bevelType)
new SoftBevelBorder(int bevelType, Color highlight, Color shadow)
new SoftBevelBorder(int bevelType, Color highlightOuterColor, Color highlightInnerColor, Color shadowOuterColor, Color shadowInnerColor)

Ring: new SoftBevelBorder(args) uses the constructor with the fewest parameters (at least one); new SoftBevelBorder makes the object with the constructor without parameters; the others: (new SoftBevelBorder).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of BevelBorder are inherited.

StrokeBorder#

class · extends AbstractBorder · javax.swing.border.StrokeBorder

Constructors

new StrokeBorder(BasicStroke stroke)
new StrokeBorder(BasicStroke stroke, Paint paint)

Ring: new StrokeBorder(args) uses the constructor with the fewest parameters (at least one); new StrokeBorder makes the object with the constructor without parameters; the others: (new StrokeBorder).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getPaintgetPaint()Paint getPaint()
getStrokegetStroke()BasicStroke getStroke()

The methods and fields of AbstractBorder are inherited.

TitledBorder#

class · extends AbstractBorder · javax.swing.border.TitledBorder

Constructors

new TitledBorder(String title)
new TitledBorder(Border border)
new TitledBorder(Border border, String title)
new TitledBorder(Border border, String title, int titleJustification, int titlePosition)
new TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
new TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)

Ring: new TitledBorder(args) uses the constructor with the fewest parameters (at least one); new TitledBorder makes the object with the constructor without parameters; the others: (new TitledBorder).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
DEFAULT_POSITIONintconstant · statico.DEFAULT_POSITION
ABOVE_TOPintconstant · statico.ABOVE_TOP
TOPintconstant · statico.TOP
BELOW_TOPintconstant · statico.BELOW_TOP
ABOVE_BOTTOMintconstant · statico.ABOVE_BOTTOM
BOTTOMintconstant · statico.BOTTOM
BELOW_BOTTOMintconstant · statico.BELOW_BOTTOM
DEFAULT_JUSTIFICATIONintconstant · statico.DEFAULT_JUSTIFICATION
LEFTintconstant · statico.LEFT
CENTERintconstant · statico.CENTER
RIGHTintconstant · statico.RIGHT
LEADINGintconstant · statico.LEADING
TRAILINGintconstant · statico.TRAILING

Methods

MethodRing callJava overloads
getBordergetBorder()Border getBorder()
getMinimumSizegetMinimumSize(c)Dimension getMinimumSize(Component c)
getTitlegetTitle()String getTitle()
getTitleColorgetTitleColor()Color getTitleColor()
getTitleFontgetTitleFont()Font getTitleFont()
getTitleJustificationgetTitleJustification()int getTitleJustification()
getTitlePositiongetTitlePosition()int getTitlePosition()
setBordersetBorder(border)void setBorder(Border border)
setTitlesetTitle(title)void setTitle(String title)
setTitleColorsetTitleColor(titleColor)void setTitleColor(Color titleColor)
setTitleFontsetTitleFont(titleFont)void setTitleFont(Font titleFont)
setTitleJustificationsetTitleJustification(titleJustification)void setTitleJustification(int titleJustification)
setTitlePositionsetTitlePosition(titlePosition)void setTitlePosition(int titlePosition)

The methods and fields of AbstractBorder are inherited.

RingJava - use Java classes and methods from Ring programs.