Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Generated Object

A javax.swing.border.BevelBorder with type BevelBorder.RAISED, a border that looks recessed into the panel.

Value Argument

raisedBevelBorder() 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

raisedBevelBorder() is a leaf node, no child content is allowed.

Examples

Code Block
panel(border:raisedBevelBorder())

panel {
    raisedBevelBorder(shadow:Color.RED, highlight:Color.PINK, parent:true)
}

raisedBevelBorder(
    shadowOuter:Color.BLACK, shadowInner:Color.GRAY,
    highlightOuter:Color.RED, highlightInner:Color.PINK)