Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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.

Attributes

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

Content

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

Examples

  • No labels