Generated Object
A javax.swing.border.BevelBorder with type BevelBorder.LOWERED, a border that looks recessed into the panel.
Value Argument
loweredBevelBorder() takes no value arguments.
Attributes
If either shadow: or highlight: are specified, both must be specified.
If any of shadowInner:, shadowOuter:, highlightInner:, or highlightOuter are specified, all must be specified.
The attributes shadow: and highlight: are mutually exclusive to shadowInner:, shadowOuter:, highlightInner:, and highlightOuter:.
- highlight <Color> The color that is to be painted on the highlight side of the devel.
- shadow <Color> The color that is to be painted on the shadow side of the bevel.
- highlightInner <Color> The inner color that is to be painted on the highlight side of the bevel.
- highlightOuter <Color> The outer color that is to be painted on the highlight side of the bevel.
- shadowInner <Color> The inner color that is to be painted on the shadow side of the bevel.
- shadowOuter <Color> The outer color that is to be painted on the shadow side of the bevel.
- parent <boolean> Whether or not this border is to be added to the parent JComponent.
Content
loweredBevelBorder() is a leaf node, no child content is allowed.
Examples
| Code Block |
|---|
panel(border:loweredBevelBorder())
panel {
loweredBevelBorder(shadow:Color.RED, highlight:Color.PINK, parent:true)
}
loweredBevelBorder(
shadowOuter:Color.BLACK, shadowInner:Color.GREY,
highlightOuter:Color.RED, highlightInner:Color.PINK)
|