EmptyBorder
(empty) |
Property Type |
Note |
Creation Properties |
||
top |
Integer |
Defaults to 0. |
left |
Integer | Defaults to 0. |
bottom |
Integer | Defaults to 0. |
right |
Integer | Defaults to 0. |
EtchedBorder
(etched) |
Property Type |
Note |
Creation Properties |
||
type |
String |
Either "raised" or "lowered", defaults to raised. |
highlight |
Color |
|
shadow |
Color |
MatteBorder
(matte) |
Property Type |
Note |
Creation Properties | ||
top |
Integer |
Defaults to 0. |
left |
Integer | Defaults to 0. |
bottom |
Integer | Defaults to 0. |
right |
Integer | Defaults to 0. |
color |
Color |
Cannot be used in conjunction
with icon. |
icon |
ImageIcon |
May also be set with an instance
of Icon. Cannot be used in conjunction with color. |
LineBorder
(line) |
Property Type |
Note |
Creation Properties | ||
color |
Color |
Defaults to black. |
thickness |
Integer |
|
rounded |
Boolean |
Requires the thickness property to be set. |
BevelBorder
(bevel) |
Property Type |
Note |
Creation Properties | ||
type |
String |
Either "raised" or "lowered", defaults to raised. |
highlight |
Color |
Must be used in conjuction with shadow. |
shadow |
Color | Must be used in conjuction with highlight. |
highlightOuter |
Color | Must be used in conjuction with shadowOuter, highlightInner, and shadowInner. |
shadowOuter |
Color | Must be used in conjuction with highlightOuter, highlightInner, and shadowInner. |
highlightInner |
Color | Must be used in conjuction with highlightOuter, shadowOuter, and shadowInner. |
shadowInner |
Color | Must be used in conjuction with highlightOuter, shadowOuter, and highlightInner. |
Soft
BevelBorder (softbevel) |
Property Type |
Note |
Creation Properties | ||
type |
String |
Either "raised" or "lowered", defaults to raised. |
highlight |
Color |
Must be used in conjuction with shadow. |
shadow |
Color | Must be used in conjuction with highlight. |
highlightOuter |
Color | Must be used in conjuction with shadowOuter, highlightInner, and shadowInner. |
shadowOuter |
Color | Must be used in conjuction with highlightOuter, highlightInner, and shadowInner. |
highlightInner |
Color | Must be used in conjuction with highlightOuter, shadowOuter, and shadowInner. |
shadowInner |
Color | Must be used in conjuction with highlightOuter, shadowOuter, and highlightInner. |
TitledBorder
(titled) |
Property Type |
Note |
Creation Properties |
||
title |
Quoted String |
|
border |
Border |
|
justification | String |
One of "left", "center", "right", "leading", "trailing", or "default". |
position |
String |
One of "aboveTop", "top", "belowTop", "bottom", "belowBottom", or "default". |
font |
Font |
|
fontColor |
Color |
Must be used in conjunction with
font. |
CompoundBorder
(compound) |
Property Type |
Note |
Creation Properties | ||
inner |
Border |
|
outer |
Border |