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

Generated Object

A javax.swing.border.LineBorder, a border that consists of a colored line.

Value Argument

No value argument is accepted. 

Attributes

color: is required.

  • color <Color> The color of the line
  • roundedCorners <boolean> Whether or not the border should appear rounded.  Only effective with a thickness of 1, otherwise you will get a wierd quasi-bevel effect.  Default is false.
  • thickness <int> The thickness of the line, in pixels.  Default is 1.
  • parent <boolean> Whether or not this border is to be added to the parent JComponent

Content

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