Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • top <int> the top margin of the border
  • left <int> the left margin of the border
  • bottom <int> the bottom margin of the border
  • right <int> the right margin of the border
  • parent <boolean> Whether or not this border is to be added to the parent JComponent

Content

[Describe the content accepted in the node closure. If no content is accepted, state that]

Usage

[Describe the usage cases for this node, if they are not obvious. Remove section if not needed.]

Examples

[Provide an example of the node. Remove section if not needed.]emptyBorder() is a leaf node, no child content is allowed.

Examples

Code Block

panel(border:emptyBorder(3))
 
panel {
    emptyBorder([6,6,3,3], parent:true)
}
 
emptyBorder(top:5, left:15, bottom:15, right:5)