Skip to end of metadata
Go to start of metadata

Generated Object

The generated object is one ore more nested CompoundBorders creating a border from the supplied border.

Value Argument

The optional value argument is an array of one or more border objects. If only one border object is passed in then the result of the node is that border. Otherwise the result is one or more nested compound borders containing the borders in an outside to inside order. The compound border representing the innermost border and it's parent compound will be returned.

If the value argument is used the outerBorder: and innerBorder: attribute arguments are prohibited.


Only the simple two border compound can be created via attributes. Both inner: and outer: attributes are required.

  • outerBorder <Border> the outside border
  • innerBorder <Border> the inside border
  • parent <boolean> Whether or not this border is to be added to the parent JComponent


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


  • No labels