...
Only the simple two border compound can be created via attributes. Both inner: and outer: attributes are required.
- outerBorder - <Border> the ouside outside border
- innerBorder - <Border> the inside border
- parent - if <boolean> Whether or not this border is to be added to the parent object then pass in parent:trueJComponent
Content
compoundBorder() is a leaf node, no child content is allowed.
...
| Code Block |
|---|
panel(border: compoundBorder([emptyBorder(3), titledBorder('title')]))
panel {
compoundBorder(outerBorder:emptyBorder(3), insideBorder:titledBorder('title'), parent:true)
}
compoundBorder([raisedBevelBorder(), loweredBevelBorder, etchedBorder])
|