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.EtchedBorder with type of EtchedBorder.RAISED, a border that looks like a groove has been raised out of the panel.

Value Argument

raisedEtchedBorder() takes no value arguments.

Attributes

If any of shadow: or highlight: are specified, all must be specified.

  • highlight <Color> The color that is to be painted on the highlight side of the raised etch.
  • shadow <Color> The color that is to be painted on the shadow side of the raised etch.
  • parent <boolean> Whether or not this border is to be added to the parent JComponent.

Content

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

Examples

Code Block
panel(border:raisedEtchedBorder())

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