SwingBuilder.compoundBorder Add comment to Wiki View in Wiki Edit Wiki page Printable Version

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

 

Search

Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified