// Generated by GenerateSwingBuilderWidgetDocs.groovy - do not edit manually
[[swing-builder-widgets]]
= SwingBuilder Widgets Reference

The following tables list all nodes available in `SwingBuilder`, grouped by category.
Each node name links to its detail section showing properties.

[[swing-group-supportnodes]]
== Support Nodes

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-action,action>>
| `Action`
| false

| <<swing-widget-actions,actions>>
| -
| false

| <<swing-widget-buttonGroup,buttonGroup>>
| `ButtonGroup`
| true

| <<swing-widget-imageIcon,imageIcon>>
| `ImageIcon`
| false

| <<swing-widget-keyStrokeAction,keyStrokeAction>>
| -
| false

| <<swing-widget-map,map>>
| -
| false

| <<swing-widget-noparent,noparent>>
| -
| false

| <<swing-widget-shortcut,shortcut>>
| -
| false

|===

[[swing-group-binding]]
== Binding

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-bind,bind>>
| -
| false

| <<swing-widget-bindGroup,bindGroup>>
| -
| false

| <<swing-widget-bindProxy,bindProxy>>
| -
| true

|===

[[swing-group-passthrunodes]]
== Pass Thru Nodes

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-bean,bean>>
| `Object`
| true

| <<swing-widget-container,container>>
| `Component`
| false

| <<swing-widget-widget,widget>>
| `Component`
| true

|===

[[swing-group-windows]]
== Windows

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-dialog,dialog>>
| `JDialog`
| false

| <<swing-widget-fileChooser,fileChooser>>
| `JFileChooser`
| false

| <<swing-widget-frame,frame>>
| `JFrame`
| false

| <<swing-widget-optionPane,optionPane>>
| `JOptionPane`
| false

| <<swing-widget-window,window>>
| `JWindow`
| false

|===

[[swing-group-actionbuttonwidgets]]
== Action Button Widgets

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-button,button>>
| `JButton`
| false

| <<swing-widget-checkBox,checkBox>>
| `JCheckBox`
| false

| <<swing-widget-checkBoxMenuItem,checkBoxMenuItem>>
| `JCheckBoxMenuItem`
| false

| <<swing-widget-menuItem,menuItem>>
| `JMenuItem`
| false

| <<swing-widget-radioButton,radioButton>>
| `JRadioButton`
| false

| <<swing-widget-radioButtonMenuItem,radioButtonMenuItem>>
| `JRadioButtonMenuItem`
| false

| <<swing-widget-toggleButton,toggleButton>>
| `JToggleButton`
| false

|===

[[swing-group-textwidgets]]
== Text Widgets

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-editorPane,editorPane>>
| `JEditorPane`
| false

| <<swing-widget-formattedTextField,formattedTextField>>
| `JFormattedTextField`
| false

| <<swing-widget-label,label>>
| `JLabel`
| false

| <<swing-widget-passwordField,passwordField>>
| `JPasswordField`
| false

| <<swing-widget-textArea,textArea>>
| `JTextArea`
| false

| <<swing-widget-textField,textField>>
| `JTextField`
| false

| <<swing-widget-textPane,textPane>>
| `JTextPane`
| false

|===

[[swing-group-basicwidgets]]
== Basic Widgets

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-colorChooser,colorChooser>>
| `JColorChooser`
| false

| <<swing-widget-comboBox,comboBox>>
| `JComboBox`
| false

| <<swing-widget-list,list>>
| `JList`
| false

| <<swing-widget-progressBar,progressBar>>
| `JProgressBar`
| false

| <<swing-widget-scrollBar,scrollBar>>
| `JScrollBar`
| false

| <<swing-widget-separator,separator>>
| `JSeparator`
| false

| <<swing-widget-slider,slider>>
| `JSlider`
| false

| <<swing-widget-spinner,spinner>>
| `JSpinner`
| false

| <<swing-widget-tree,tree>>
| `JTree`
| false

|===

[[swing-group-mdiwidgets]]
== MDI Widgets

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-desktopPane,desktopPane>>
| `JDesktopPane`
| false

| <<swing-widget-internalFrame,internalFrame>>
| `JInternalFrame`
| false

|===

[[swing-group-menuwidgets]]
== Menu Widgets

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-menu,menu>>
| `JMenu`
| false

| <<swing-widget-menuBar,menuBar>>
| `JMenuBar`
| false

| <<swing-widget-popupMenu,popupMenu>>
| `JPopupMenu`
| false

|===

[[swing-group-containers]]
== Containers

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-layeredPane,layeredPane>>
| `JLayeredPane`
| false

| <<swing-widget-panel,panel>>
| `JPanel`
| false

| <<swing-widget-scrollPane,scrollPane>>
| `JScrollPane`
| false

| <<swing-widget-splitPane,splitPane>>
| `JSplitPane`
| false

| <<swing-widget-tabbedPane,tabbedPane>>
| `JTabbedPane`
| false

| <<swing-widget-toolBar,toolBar>>
| `JToolBar`
| false

| <<swing-widget-viewport,viewport>>
| `JViewport`
| false

|===

[[swing-group-datamodels]]
== Data Models

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-boundedRangeModel,boundedRangeModel>>
| `DefaultBoundedRangeModel`
| false

| <<swing-widget-spinnerDateModel,spinnerDateModel>>
| `SpinnerDateModel`
| false

| <<swing-widget-spinnerListModel,spinnerListModel>>
| `SpinnerListModel`
| false

| <<swing-widget-spinnerNumberModel,spinnerNumberModel>>
| `SpinnerNumberModel`
| false

|===

[[swing-group-tablecomponents]]
== Table Components

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-closureColumn,closureColumn>>
| -
| false

| <<swing-widget-column,column>>
| -
| false

| <<swing-widget-columnModel,columnModel>>
| -
| false

| <<swing-widget-propertyColumn,propertyColumn>>
| -
| false

| <<swing-widget-table,table>>
| `JTable`
| false

| <<swing-widget-tableColumn,tableColumn>>
| `TableColumn`
| false

| <<swing-widget-tableModel,tableModel>>
| -
| false

|===

[[swing-group-renderers]]
== Renderers

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-cellRenderer,cellRenderer>>
| -
| false

| <<swing-widget-headerRenderer,headerRenderer>>
| -
| false

| <<swing-widget-listCellRenderer,listCellRenderer>>
| -
| false

| <<swing-widget-onRender,onRender>>
| -
| false

| <<swing-widget-tableCellRenderer,tableCellRenderer>>
| -
| false

|===

[[swing-group-editors]]
== Editors

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-cellEditor,cellEditor>>
| -
| false

| <<swing-widget-editorValue,editorValue>>
| -
| false

| <<swing-widget-prepareEditor,prepareEditor>>
| -
| false

|===

[[swing-group-basiclayouts]]
== Basic Layouts

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-borderLayout,borderLayout>>
| `BorderLayout`
| false

| <<swing-widget-cardLayout,cardLayout>>
| `CardLayout`
| false

| <<swing-widget-flowLayout,flowLayout>>
| `FlowLayout`
| false

| <<swing-widget-gbc,gbc>>
| `GridBagConstraints`
| false

| <<swing-widget-gridBagConstraints,gridBagConstraints>>
| `GridBagConstraints`
| false

| <<swing-widget-gridBagLayout,gridBagLayout>>
| `GridBagLayout`
| true

| <<swing-widget-gridLayout,gridLayout>>
| `GridLayout`
| false

| <<swing-widget-overlayLayout,overlayLayout>>
| `OverlayLayout`
| false

| <<swing-widget-springLayout,springLayout>>
| `SpringLayout`
| false

|===

[[swing-group-boxlayout]]
== Box Layout

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-box,box>>
| `Box`
| false

| <<swing-widget-boxLayout,boxLayout>>
| -
| false

| <<swing-widget-glue,glue>>
| -
| false

| <<swing-widget-hbox,hbox>>
| `Box`
| false

| <<swing-widget-hglue,hglue>>
| -
| false

| <<swing-widget-hstrut,hstrut>>
| -
| false

| <<swing-widget-rigidArea,rigidArea>>
| -
| false

| <<swing-widget-vbox,vbox>>
| `Box`
| false

| <<swing-widget-vglue,vglue>>
| -
| false

| <<swing-widget-vstrut,vstrut>>
| -
| false

|===

[[swing-group-tablelayout]]
== Table Layout

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-tableLayout,tableLayout>>
| -
| false

| <<swing-widget-td,td>>
| -
| false

| <<swing-widget-tr,tr>>
| -
| false

|===

[[swing-group-borders]]
== Borders

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-compoundBorder,compoundBorder>>
| -
| true

| <<swing-widget-emptyBorder,emptyBorder>>
| -
| true

| <<swing-widget-etchedBorder,etchedBorder>>
| -
| true

| <<swing-widget-lineBorder,lineBorder>>
| -
| true

| <<swing-widget-loweredBevelBorder,loweredBevelBorder>>
| -
| true

| <<swing-widget-loweredEtchedBorder,loweredEtchedBorder>>
| -
| true

| <<swing-widget-matteBorder,matteBorder>>
| -
| true

| <<swing-widget-raisedBevelBorder,raisedBevelBorder>>
| -
| true

| <<swing-widget-raisedEtchedBorder,raisedEtchedBorder>>
| -
| true

| <<swing-widget-titledBorder,titledBorder>>
| -
| true

|===

[[swing-group-threading]]
== Threading

[cols="2,3,1", options="header"]
|===
| Node Name | Swing Class | Leaf

| <<swing-widget-doLater,doLater>>
| -
| false

| <<swing-widget-doOutside,doOutside>>
| -
| false

| <<swing-widget-edt,edt>>
| -
| false

|===

[[swing-group-methods]]
== Utility Methods

These are explicit methods (not node factories) available on `SwingBuilder`:

[cols="2,4", options="header"]
|===
| Method | Description

| [[swing-widget-doLater]]`doLater()`
| Run a closure on the EDT asynchronously (non-blocking)

| [[swing-widget-doOutside]]`doOutside()`
| Run a closure outside the EDT in a new thread

| [[swing-widget-edt]]`edt()`
| Run a closure on the Event Dispatch Thread (blocking)

| [[swing-widget-keyStrokeAction]]`keyStrokeAction()`
| Create keyboard shortcut bindings on a component

| [[swing-widget-shortcut]]`shortcut()`
| Create a platform-appropriate KeyStroke (uses Cmd on Mac, Ctrl elsewhere)

|===

[[swing-widget-details]]
== Widget Details

'''

[[swing-widget-action]]
=== action

[horizontal]
Swing Class:: `javax.swing.Action`
Leaf:: false
API Docs:: jdk:javax.swing.Action[Action javadoc]

.Basic usage
[source,groovy]
----
swing.action(name: 'MyAction', closure: { println 'action' })
----

'''

[[swing-widget-actions]]
=== actions

.Basic usage
[source,groovy]
----
swing.actions()
----

'''

[[swing-widget-bean]]
=== bean

[horizontal]
Swing Class:: `java.lang.Object`
Leaf:: true

.Basic usage
[source,groovy]
----
swing.bean()
----

'''

[[swing-widget-bind]]
=== bind

.Basic usage
[source,groovy]
----
swing.bind(source: model, sourceProperty: 'name')
----

'''

[[swing-widget-bindGroup]]
=== bindGroup

.Basic usage
[source,groovy]
----
swing.bindGroup()
----

'''

[[swing-widget-bindProxy]]
=== bindProxy

.Basic usage
[source,groovy]
----
swing.bindProxy()
----

'''

[[swing-widget-borderLayout]]
=== borderLayout

[horizontal]
Swing Class:: `java.awt.BorderLayout`
Leaf:: false
API Docs:: jdk:java.awt.BorderLayout[BorderLayout javadoc]

.Basic usage
[source,groovy]
----
swing.borderLayout()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `hgap`
| `int`
| icon:check[]
| icon:check[]

| `vgap`
| `int`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-boundedRangeModel]]
=== boundedRangeModel

[horizontal]
Swing Class:: `javax.swing.DefaultBoundedRangeModel`
Leaf:: false
API Docs:: jdk:javax.swing.DefaultBoundedRangeModel[DefaultBoundedRangeModel javadoc]

.Basic usage
[source,groovy]
----
swing.boundedRangeModel()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `extent`
| `int`
| icon:check[]
| icon:check[]

| `maximum`
| `int`
| icon:check[]
| icon:check[]

| `minimum`
| `int`
| icon:check[]
| icon:check[]

| `value`
| `int`
| icon:check[]
| icon:check[]

| `valueIsAdjusting`
| `boolean`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-box]]
=== box

[horizontal]
Swing Class:: `javax.swing.Box`
Leaf:: false
API Docs:: jdk:javax.swing.Box[Box javadoc]

.Basic usage
[source,groovy]
----
swing.box()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ComponentUI`
| icon:check[]
| 

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-boxLayout]]
=== boxLayout

.Basic usage
[source,groovy]
----
swing.boxLayout()
----

'''

[[swing-widget-button]]
=== button

[horizontal]
Swing Class:: `javax.swing.JButton`
Leaf:: false
API Docs:: jdk:javax.swing.JButton[JButton javadoc]

.Basic usage
[source,groovy]
----
swing.button('Click Me')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ButtonUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentAreaFilled`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `defaultButton`
| `boolean`
| icon:check[]
| 

| `defaultCapable`
| `boolean`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `disabledSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `hideActionText`
| `boolean`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonic`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `ButtonModel`
| icon:check[]
| icon:check[]

| `multiClickThreshhold`
| `long`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `pressedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rolloverSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `selectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-buttonGroup]]
=== buttonGroup

[horizontal]
Swing Class:: `javax.swing.ButtonGroup`
Leaf:: true
API Docs:: jdk:javax.swing.ButtonGroup[ButtonGroup javadoc]

.Basic usage
[source,groovy]
----
swing.buttonGroup()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `buttonCount`
| `int`
| icon:check[]
| 

| `elements`
| `Enumeration`
| icon:check[]
| 

| `selection`
| `ButtonModel`
| icon:check[]
| 

|===

'''

[[swing-widget-cardLayout]]
=== cardLayout

[horizontal]
Swing Class:: `java.awt.CardLayout`
Leaf:: false
API Docs:: jdk:java.awt.CardLayout[CardLayout javadoc]

.Basic usage
[source,groovy]
----
swing.cardLayout()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `hgap`
| `int`
| icon:check[]
| icon:check[]

| `vgap`
| `int`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-cellEditor]]
=== cellEditor

.Basic usage
[source,groovy]
----
swing.cellEditor()
----

'''

[[swing-widget-cellRenderer]]
=== cellRenderer

.Basic usage
[source,groovy]
----
swing.cellRenderer()
----

'''

[[swing-widget-checkBox]]
=== checkBox

[horizontal]
Swing Class:: `javax.swing.JCheckBox`
Leaf:: false
API Docs:: jdk:javax.swing.JCheckBox[JCheckBox javadoc]

.Basic usage
[source,groovy]
----
swing.checkBox('Click Me')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ButtonUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `borderPaintedFlat`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentAreaFilled`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `disabledSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `hideActionText`
| `boolean`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonic`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `ButtonModel`
| icon:check[]
| icon:check[]

| `multiClickThreshhold`
| `long`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `pressedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rolloverSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `selectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-checkBoxMenuItem]]
=== checkBoxMenuItem

[horizontal]
Swing Class:: `javax.swing.JCheckBoxMenuItem`
Leaf:: false
API Docs:: jdk:javax.swing.JCheckBoxMenuItem[JCheckBoxMenuItem javadoc]

.Basic usage
[source,groovy]
----
swing.checkBoxMenuItem('Click Me')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ButtonUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accelerator`
| `KeyStroke`
| icon:check[]
| icon:check[]

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `armed`
| `boolean`
| icon:check[]
| icon:check[]

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `awt.Component`
| icon:check[]
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentAreaFilled`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `disabledSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `hideActionText`
| `boolean`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `menuDragMouseListeners`
| `event.MenuDragMouseListener[]`
| icon:check[]
| 

| `menuKeyListeners`
| `event.MenuKeyListener[]`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonic`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `ButtonModel`
| icon:check[]
| icon:check[]

| `multiClickThreshhold`
| `long`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `pressedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rolloverSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `selectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `state`
| `boolean`
| icon:check[]
| icon:check[]

| `subElements`
| `MenuElement[]`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-closureColumn]]
=== closureColumn

.Basic usage
[source,groovy]
----
swing.closureColumn()
----

'''

[[swing-widget-colorChooser]]
=== colorChooser

[horizontal]
Swing Class:: `javax.swing.JColorChooser`
Leaf:: false
API Docs:: jdk:javax.swing.JColorChooser[JColorChooser javadoc]

.Basic usage
[source,groovy]
----
swing.colorChooser()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ColorChooserUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `chooserPanels`
| `colorchooser.AbstractColorChooserPanel[]`
| icon:check[]
| icon:check[]

| `color`
| `awt.Color`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `previewPanel`
| `JComponent`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selectionModel`
| `colorchooser.ColorSelectionModel`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-column]]
=== column

.Basic usage
[source,groovy]
----
swing.column()
----

'''

[[swing-widget-columnModel]]
=== columnModel

.Basic usage
[source,groovy]
----
swing.columnModel()
----

'''

[[swing-widget-comboBox]]
=== comboBox

[horizontal]
Swing Class:: `javax.swing.JComboBox`
Leaf:: false
API Docs:: jdk:javax.swing.JComboBox[JComboBox javadoc]

.Basic usage
[source,groovy]
----
swing.comboBox()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ComboBoxUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `editable`
| `boolean`
| icon:check[]
| icon:check[]

| `editor`
| `ComboBoxEditor`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `itemAt`
| `Object`
| 
| 

| `itemCount`
| `int`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `keySelectionManager`
| `JComboBox$KeySelectionManager`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `lightWeightPopupEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumRowCount`
| `int`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `model`
| `ComboBoxModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `popupMenuListeners`
| `event.PopupMenuListener[]`
| icon:check[]
| 

| `popupVisible`
| `boolean`
| icon:check[]
| icon:check[]

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `prototypeDisplayValue`
| `Object`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `renderer`
| `ListCellRenderer`
| icon:check[]
| icon:check[]

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selectedIndex`
| `int`
| icon:check[]
| icon:check[]

| `selectedItem`
| `Object`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-compoundBorder]]
=== compoundBorder

.Basic usage
[source,groovy]
----
swing.compoundBorder()
----

'''

[[swing-widget-container]]
=== container

[horizontal]
Swing Class:: `java.awt.Component`
Leaf:: false
API Docs:: jdk:java.awt.Component[Component javadoc]

.Basic usage
[source,groovy]
----
swing.container()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-desktopPane]]
=== desktopPane

[horizontal]
Swing Class:: `javax.swing.JDesktopPane`
Leaf:: false
API Docs:: jdk:javax.swing.JDesktopPane[JDesktopPane javadoc]

.Basic usage
[source,groovy]
----
swing.desktopPane()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.DesktopPaneUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `allFrames`
| `JInternalFrame[]`
| icon:check[]
| 

| `allFramesInLayer`
| `Object`
| 
| 

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentCountInLayer`
| `Object`
| 
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `componentsInLayer`
| `Object`
| 
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `desktopManager`
| `DesktopManager`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragMode`
| `int`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selectedFrame`
| `JInternalFrame`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-dialog]]
=== dialog

[horizontal]
Swing Class:: `javax.swing.JDialog`
Leaf:: false
API Docs:: jdk:javax.swing.JDialog[JDialog javadoc]

.Basic usage
[source,groovy]
----
swing.dialog(title: 'My Window')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `JMenuBar`
| `JMenuBar`
| icon:check[]
| icon:check[]

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `active`
| `boolean`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| 

| `alignmentY`
| `float`
| icon:check[]
| 

| `alwaysOnTop`
| `boolean`
| icon:check[]
| icon:check[]

| `alwaysOnTopSupported`
| `boolean`
| icon:check[]
| 

| `autoRequestFocus`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `bounds`
| `awt.Rectangle`
| 
| icon:check[]

| `bufferStrategy`
| `awt.image.BufferStrategy`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentPane`
| `awt.Container`
| icon:check[]
| icon:check[]

| `cursor`
| `awt.Cursor`
| 
| icon:check[]

| `defaultCloseOperation`
| `int`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRootAncestor`
| `awt.Container`
| icon:check[]
| 

| `focusOwner`
| `awt.Component`
| icon:check[]
| 

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `focusableWindow`
| `boolean`
| icon:check[]
| 

| `focusableWindowState`
| `boolean`
| icon:check[]
| icon:check[]

| `focused`
| `boolean`
| icon:check[]
| 

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `glassPane`
| `awt.Component`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `iconImage`
| `awt.Image`
| 
| icon:check[]

| `iconImages`
| `List`
| icon:check[]
| icon:check[]

| `inputContext`
| `awt.im.InputContext`
| icon:check[]
| 

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layeredPane`
| `JLayeredPane`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `locale`
| `Locale`
| icon:check[]
| 

| `location`
| `awt.Point`
| 
| icon:check[]

| `locationByPlatform`
| `boolean`
| icon:check[]
| icon:check[]

| `locationRelativeTo`
| `awt.Component`
| 
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `modal`
| `boolean`
| icon:check[]
| icon:check[]

| `modalExclusionType`
| `awt.Dialog$ModalExclusionType`
| icon:check[]
| icon:check[]

| `modalityType`
| `awt.Dialog$ModalityType`
| icon:check[]
| icon:check[]

| `mostRecentFocusOwner`
| `awt.Component`
| icon:check[]
| 

| `name`
| `String`
| icon:check[]
| icon:check[]

| `opacity`
| `float`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| 

| `ownedWindows`
| `awt.Window[]`
| icon:check[]
| 

| `owner`
| `awt.Window`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| 

| `resizable`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `shape`
| `awt.Shape`
| icon:check[]
| icon:check[]

| `showing`
| `boolean`
| icon:check[]
| 

| `size`
| `awt.Dimension`
| 
| icon:check[]

| `title`
| `String`
| icon:check[]
| icon:check[]

| `toolkit`
| `awt.Toolkit`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `type`
| `awt.Window$Type`
| icon:check[]
| icon:check[]

| `undecorated`
| `boolean`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `warningString`
| `String`
| icon:check[]
| 

| `windowFocusListeners`
| `awt.event.WindowFocusListener[]`
| icon:check[]
| 

| `windowListeners`
| `awt.event.WindowListener[]`
| icon:check[]
| 

| `windowStateListeners`
| `awt.event.WindowStateListener[]`
| icon:check[]
| 

|===

'''

[[swing-widget-editorPane]]
=== editorPane

[horizontal]
Swing Class:: `javax.swing.JEditorPane`
Leaf:: false
API Docs:: jdk:javax.swing.JEditorPane[JEditorPane javadoc]

.Basic usage
[source,groovy]
----
swing.editorPane(text: 'initial text', columns: 20)
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TextUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `actions`
| `Action[]`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `caret`
| `text.Caret`
| icon:check[]
| icon:check[]

| `caretColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `caretListeners`
| `event.CaretListener[]`
| icon:check[]
| 

| `caretPosition`
| `int`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentOrientation`
| `awt.ComponentOrientation`
| 
| icon:check[]

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentType`
| `String`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `document`
| `text.Document`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `text.JTextComponent$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `editable`
| `boolean`
| icon:check[]
| icon:check[]

| `editorKit`
| `text.EditorKit`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusAccelerator`
| `char`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `highlighter`
| `text.Highlighter`
| icon:check[]
| icon:check[]

| `hyperlinkListeners`
| `event.HyperlinkListener[]`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputMethodRequests`
| `awt.im.InputMethodRequests`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `keymap`
| `text.Keymap`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `navigationFilter`
| `text.NavigationFilter`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `page`
| `java.net.URL`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `selectedText`
| `String`
| icon:check[]
| 

| `selectedTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionEnd`
| `int`
| icon:check[]
| icon:check[]

| `selectionStart`
| `int`
| icon:check[]
| icon:check[]

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-editorValue]]
=== editorValue

.Basic usage
[source,groovy]
----
swing.editorValue()
----

'''

[[swing-widget-emptyBorder]]
=== emptyBorder

.Basic usage
[source,groovy]
----
swing.emptyBorder()
----

'''

[[swing-widget-etchedBorder]]
=== etchedBorder

.Basic usage
[source,groovy]
----
swing.etchedBorder()
----

'''

[[swing-widget-fileChooser]]
=== fileChooser

[horizontal]
Swing Class:: `javax.swing.JFileChooser`
Leaf:: false
API Docs:: jdk:javax.swing.JFileChooser[JFileChooser javadoc]

.Basic usage
[source,groovy]
----
swing.fileChooser()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.FileChooserUI`
| icon:check[]
| 

| `UIClassID`
| `String`
| icon:check[]
| 

| `acceptAllFileFilter`
| `filechooser.FileFilter`
| icon:check[]
| 

| `acceptAllFileFilterUsed`
| `boolean`
| icon:check[]
| icon:check[]

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `accessory`
| `JComponent`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `approveButtonMnemonic`
| `int`
| icon:check[]
| icon:check[]

| `approveButtonText`
| `String`
| icon:check[]
| icon:check[]

| `approveButtonToolTipText`
| `String`
| icon:check[]
| icon:check[]

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `choosableFileFilters`
| `filechooser.FileFilter[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `controlButtonsAreShown`
| `boolean`
| icon:check[]
| icon:check[]

| `currentDirectory`
| `java.io.File`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `dialogTitle`
| `String`
| icon:check[]
| icon:check[]

| `dialogType`
| `int`
| icon:check[]
| icon:check[]

| `directorySelectionEnabled`
| `boolean`
| icon:check[]
| 

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `fileFilter`
| `filechooser.FileFilter`
| icon:check[]
| icon:check[]

| `fileHidingEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `fileSelectionEnabled`
| `boolean`
| icon:check[]
| 

| `fileSelectionMode`
| `int`
| icon:check[]
| icon:check[]

| `fileSystemView`
| `filechooser.FileSystemView`
| icon:check[]
| icon:check[]

| `fileView`
| `filechooser.FileView`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `multiSelectionEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selectedFile`
| `java.io.File`
| icon:check[]
| icon:check[]

| `selectedFiles`
| `java.io.File[]`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-flowLayout]]
=== flowLayout

[horizontal]
Swing Class:: `java.awt.FlowLayout`
Leaf:: false
API Docs:: jdk:java.awt.FlowLayout[FlowLayout javadoc]

.Basic usage
[source,groovy]
----
swing.flowLayout()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `alignOnBaseline`
| `boolean`
| icon:check[]
| icon:check[]

| `alignment`
| `int`
| icon:check[]
| icon:check[]

| `hgap`
| `int`
| icon:check[]
| icon:check[]

| `vgap`
| `int`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-formattedTextField]]
=== formattedTextField

[horizontal]
Swing Class:: `javax.swing.JFormattedTextField`
Leaf:: false
API Docs:: jdk:javax.swing.JFormattedTextField[JFormattedTextField javadoc]

.Basic usage
[source,groovy]
----
swing.formattedTextField()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TextUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| 
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `actions`
| `Action[]`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `caret`
| `text.Caret`
| icon:check[]
| icon:check[]

| `caretColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `caretListeners`
| `event.CaretListener[]`
| icon:check[]
| 

| `caretPosition`
| `int`
| icon:check[]
| icon:check[]

| `columns`
| `int`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentOrientation`
| `awt.ComponentOrientation`
| 
| icon:check[]

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `document`
| `text.Document`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `text.JTextComponent$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `editValid`
| `boolean`
| icon:check[]
| 

| `editable`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusAccelerator`
| `char`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusLostBehavior`
| `int`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `formatter`
| `JFormattedTextField$AbstractFormatter`
| icon:check[]
| 

| `formatterFactory`
| `JFormattedTextField$AbstractFormatterFactory`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `highlighter`
| `text.Highlighter`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalVisibility`
| `BoundedRangeModel`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputMethodRequests`
| `awt.im.InputMethodRequests`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `keymap`
| `text.Keymap`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `navigationFilter`
| `text.NavigationFilter`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `scrollOffset`
| `int`
| icon:check[]
| icon:check[]

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `selectedText`
| `String`
| icon:check[]
| 

| `selectedTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionEnd`
| `int`
| icon:check[]
| icon:check[]

| `selectionStart`
| `int`
| icon:check[]
| icon:check[]

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `value`
| `Object`
| icon:check[]
| icon:check[]

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-frame]]
=== frame

[horizontal]
Swing Class:: `javax.swing.JFrame`
Leaf:: false
API Docs:: jdk:javax.swing.JFrame[JFrame javadoc]

.Basic usage
[source,groovy]
----
swing.frame(title: 'My Window')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `JMenuBar`
| `JMenuBar`
| icon:check[]
| icon:check[]

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `active`
| `boolean`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| 

| `alignmentY`
| `float`
| icon:check[]
| 

| `alwaysOnTop`
| `boolean`
| icon:check[]
| icon:check[]

| `alwaysOnTopSupported`
| `boolean`
| icon:check[]
| 

| `autoRequestFocus`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `bounds`
| `awt.Rectangle`
| 
| icon:check[]

| `bufferStrategy`
| `awt.image.BufferStrategy`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentPane`
| `awt.Container`
| icon:check[]
| icon:check[]

| `cursor`
| `int`
| 
| icon:check[]

| `cursorType`
| `int`
| icon:check[]
| 

| `defaultCloseOperation`
| `int`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `extendedState`
| `int`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRootAncestor`
| `awt.Container`
| icon:check[]
| 

| `focusOwner`
| `awt.Component`
| icon:check[]
| 

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `focusableWindow`
| `boolean`
| icon:check[]
| 

| `focusableWindowState`
| `boolean`
| icon:check[]
| icon:check[]

| `focused`
| `boolean`
| icon:check[]
| 

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `glassPane`
| `awt.Component`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `iconImage`
| `awt.Image`
| icon:check[]
| icon:check[]

| `iconImages`
| `List`
| icon:check[]
| icon:check[]

| `inputContext`
| `awt.im.InputContext`
| icon:check[]
| 

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layeredPane`
| `JLayeredPane`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `locale`
| `Locale`
| icon:check[]
| 

| `location`
| `awt.Point`
| 
| icon:check[]

| `locationByPlatform`
| `boolean`
| icon:check[]
| icon:check[]

| `locationRelativeTo`
| `awt.Component`
| 
| icon:check[]

| `maximizedBounds`
| `awt.Rectangle`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| 

| `menuBar`
| `awt.MenuBar`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `modalExclusionType`
| `awt.Dialog$ModalExclusionType`
| icon:check[]
| icon:check[]

| `mostRecentFocusOwner`
| `awt.Component`
| icon:check[]
| 

| `name`
| `String`
| icon:check[]
| icon:check[]

| `opacity`
| `float`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| 

| `ownedWindows`
| `awt.Window[]`
| icon:check[]
| 

| `owner`
| `awt.Window`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| 

| `resizable`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `shape`
| `awt.Shape`
| icon:check[]
| icon:check[]

| `showing`
| `boolean`
| icon:check[]
| 

| `size`
| `awt.Dimension`
| 
| icon:check[]

| `state`
| `int`
| icon:check[]
| icon:check[]

| `title`
| `String`
| icon:check[]
| icon:check[]

| `toolkit`
| `awt.Toolkit`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `type`
| `awt.Window$Type`
| icon:check[]
| icon:check[]

| `undecorated`
| `boolean`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `warningString`
| `String`
| icon:check[]
| 

| `windowFocusListeners`
| `awt.event.WindowFocusListener[]`
| icon:check[]
| 

| `windowListeners`
| `awt.event.WindowListener[]`
| icon:check[]
| 

| `windowStateListeners`
| `awt.event.WindowStateListener[]`
| icon:check[]
| 

|===

'''

[[swing-widget-gbc]]
=== gbc

[horizontal]
Swing Class:: `java.awt.GridBagConstraints`
Leaf:: false
API Docs:: jdk:java.awt.GridBagConstraints[GridBagConstraints javadoc]

.Basic usage
[source,groovy]
----
swing.gbc()
----

'''

[[swing-widget-glue]]
=== glue

.Basic usage
[source,groovy]
----
swing.glue()
----

'''

[[swing-widget-gridBagConstraints]]
=== gridBagConstraints

[horizontal]
Swing Class:: `java.awt.GridBagConstraints`
Leaf:: false
API Docs:: jdk:java.awt.GridBagConstraints[GridBagConstraints javadoc]

.Basic usage
[source,groovy]
----
swing.gridBagConstraints()
----

'''

[[swing-widget-gridBagLayout]]
=== gridBagLayout

[horizontal]
Swing Class:: `java.awt.GridBagLayout`
Leaf:: true
API Docs:: jdk:java.awt.GridBagLayout[GridBagLayout javadoc]

.Basic usage
[source,groovy]
----
swing.gridBagLayout()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `layoutDimensions`
| `int[][]`
| icon:check[]
| 

| `layoutOrigin`
| `awt.Point`
| icon:check[]
| 

| `layoutWeights`
| `double[][]`
| icon:check[]
| 

|===

'''

[[swing-widget-gridLayout]]
=== gridLayout

[horizontal]
Swing Class:: `java.awt.GridLayout`
Leaf:: false
API Docs:: jdk:java.awt.GridLayout[GridLayout javadoc]

.Basic usage
[source,groovy]
----
swing.gridLayout()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `columns`
| `int`
| icon:check[]
| icon:check[]

| `hgap`
| `int`
| icon:check[]
| icon:check[]

| `rows`
| `int`
| icon:check[]
| icon:check[]

| `vgap`
| `int`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-hbox]]
=== hbox

[horizontal]
Swing Class:: `javax.swing.Box`
Leaf:: false
API Docs:: jdk:javax.swing.Box[Box javadoc]

.Basic usage
[source,groovy]
----
swing.hbox()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ComponentUI`
| icon:check[]
| 

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-headerRenderer]]
=== headerRenderer

.Basic usage
[source,groovy]
----
swing.headerRenderer()
----

'''

[[swing-widget-hglue]]
=== hglue

.Basic usage
[source,groovy]
----
swing.hglue()
----

'''

[[swing-widget-hstrut]]
=== hstrut

.Basic usage
[source,groovy]
----
swing.hstrut()
----

'''

[[swing-widget-imageIcon]]
=== imageIcon

[horizontal]
Swing Class:: `javax.swing.ImageIcon`
Leaf:: false
API Docs:: jdk:javax.swing.ImageIcon[ImageIcon javadoc]

.Basic usage
[source,groovy]
----
swing.imageIcon(url: getClass().getResource('/icon.png'))
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `description`
| `String`
| icon:check[]
| icon:check[]

| `iconHeight`
| `int`
| icon:check[]
| 

| `iconWidth`
| `int`
| icon:check[]
| 

| `image`
| `awt.Image`
| icon:check[]
| icon:check[]

| `imageLoadStatus`
| `int`
| icon:check[]
| 

| `imageObserver`
| `awt.image.ImageObserver`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-internalFrame]]
=== internalFrame

[horizontal]
Swing Class:: `javax.swing.JInternalFrame`
Leaf:: false
API Docs:: jdk:javax.swing.JInternalFrame[JInternalFrame javadoc]

.Basic usage
[source,groovy]
----
swing.internalFrame()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `JMenuBar`
| `JMenuBar`
| icon:check[]
| icon:check[]

| `UI`
| `plaf.InternalFrameUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `closable`
| `boolean`
| icon:check[]
| icon:check[]

| `closed`
| `boolean`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentPane`
| `awt.Container`
| icon:check[]
| icon:check[]

| `cursor`
| `awt.Cursor`
| 
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `defaultCloseOperation`
| `int`
| icon:check[]
| icon:check[]

| `desktopIcon`
| `JInternalFrame$JDesktopIcon`
| icon:check[]
| icon:check[]

| `desktopPane`
| `JDesktopPane`
| icon:check[]
| 

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRootAncestor`
| `awt.Container`
| icon:check[]
| 

| `focusOwner`
| `awt.Component`
| icon:check[]
| 

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `frameIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `glassPane`
| `awt.Component`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `icon`
| `boolean`
| icon:check[]
| icon:check[]

| `iconifiable`
| `boolean`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `internalFrameListeners`
| `event.InternalFrameListener[]`
| icon:check[]
| 

| `lastCursor`
| `awt.Cursor`
| icon:check[]
| 

| `layer`
| `int`
| icon:check[]
| icon:check[]

| `layeredPane`
| `JLayeredPane`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximizable`
| `boolean`
| icon:check[]
| icon:check[]

| `maximum`
| `boolean`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `menuBar`
| `JMenuBar`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mostRecentFocusOwner`
| `awt.Component`
| icon:check[]
| 

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `normalBounds`
| `awt.Rectangle`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `resizable`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `title`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `warningString`
| `String`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-label]]
=== label

[horizontal]
Swing Class:: `javax.swing.JLabel`
Leaf:: false
API Docs:: jdk:javax.swing.JLabel[JLabel javadoc]

.Basic usage
[source,groovy]
----
swing.label('Hello')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.LabelUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonic`
| `int`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `labelFor`
| `awt.Component`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-layeredPane]]
=== layeredPane

[horizontal]
Swing Class:: `javax.swing.JLayeredPane`
Leaf:: false
API Docs:: jdk:javax.swing.JLayeredPane[JLayeredPane javadoc]

.Basic usage
[source,groovy]
----
swing.layeredPane()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ComponentUI`
| icon:check[]
| 

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentCountInLayer`
| `Object`
| 
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `componentsInLayer`
| `Object`
| 
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-lineBorder]]
=== lineBorder

.Basic usage
[source,groovy]
----
swing.lineBorder()
----

'''

[[swing-widget-list]]
=== list

[horizontal]
Swing Class:: `javax.swing.JList`
Leaf:: false
API Docs:: jdk:javax.swing.JList[JList javadoc]

.Basic usage
[source,groovy]
----
swing.list()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ListUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `anchorSelectionIndex`
| `int`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `cellRenderer`
| `ListCellRenderer`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `JList$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `firstVisibleIndex`
| `int`
| icon:check[]
| 

| `fixedCellHeight`
| `int`
| icon:check[]
| icon:check[]

| `fixedCellWidth`
| `int`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `lastVisibleIndex`
| `int`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `layoutOrientation`
| `int`
| icon:check[]
| icon:check[]

| `leadSelectionIndex`
| `int`
| icon:check[]
| 

| `listData`
| `Object[]`
| 
| icon:check[]

| `listSelectionListeners`
| `event.ListSelectionListener[]`
| icon:check[]
| 

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maxSelectionIndex`
| `int`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minSelectionIndex`
| `int`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `model`
| `ListModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `prototypeCellValue`
| `Object`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `selectedIndex`
| `int`
| icon:check[]
| icon:check[]

| `selectedIndices`
| `int[]`
| icon:check[]
| icon:check[]

| `selectedValue`
| `Object`
| icon:check[]
| 

| `selectedValues`
| `Object[]`
| icon:check[]
| 

| `selectedValuesList`
| `List`
| icon:check[]
| 

| `selectionBackground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionEmpty`
| `boolean`
| icon:check[]
| 

| `selectionForeground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionInterval`
| `Object`
| 
| 

| `selectionMode`
| `int`
| icon:check[]
| icon:check[]

| `selectionModel`
| `ListSelectionModel`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `valueIsAdjusting`
| `boolean`
| icon:check[]
| icon:check[]

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `visibleRowCount`
| `int`
| icon:check[]
| icon:check[]

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-listCellRenderer]]
=== listCellRenderer

.Basic usage
[source,groovy]
----
swing.listCellRenderer()
----

'''

[[swing-widget-loweredBevelBorder]]
=== loweredBevelBorder

.Basic usage
[source,groovy]
----
swing.loweredBevelBorder()
----

'''

[[swing-widget-loweredEtchedBorder]]
=== loweredEtchedBorder

.Basic usage
[source,groovy]
----
swing.loweredEtchedBorder()
----

'''

[[swing-widget-map]]
=== map

.Basic usage
[source,groovy]
----
swing.map()
----

'''

[[swing-widget-matteBorder]]
=== matteBorder

.Basic usage
[source,groovy]
----
swing.matteBorder()
----

'''

[[swing-widget-menu]]
=== menu

[horizontal]
Swing Class:: `javax.swing.JMenu`
Leaf:: false
API Docs:: jdk:javax.swing.JMenu[JMenu javadoc]

.Basic usage
[source,groovy]
----
swing.menu()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ButtonUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accelerator`
| `KeyStroke`
| icon:check[]
| icon:check[]

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `armed`
| `boolean`
| icon:check[]
| icon:check[]

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `awt.Component`
| icon:check[]
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentOrientation`
| `awt.ComponentOrientation`
| 
| icon:check[]

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentAreaFilled`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `delay`
| `int`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `disabledSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `hideActionText`
| `boolean`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `item`
| `Object`
| 
| 

| `itemCount`
| `int`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `menuComponent`
| `Object`
| 
| 

| `menuComponentCount`
| `int`
| icon:check[]
| 

| `menuComponents`
| `awt.Component[]`
| icon:check[]
| 

| `menuDragMouseListeners`
| `event.MenuDragMouseListener[]`
| icon:check[]
| 

| `menuKeyListeners`
| `event.MenuKeyListener[]`
| icon:check[]
| 

| `menuListeners`
| `event.MenuListener[]`
| icon:check[]
| 

| `menuLocation`
| `Object`
| 
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonic`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `ButtonModel`
| icon:check[]
| icon:check[]

| `multiClickThreshhold`
| `long`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `popupMenu`
| `JPopupMenu`
| icon:check[]
| 

| `popupMenuVisible`
| `boolean`
| icon:check[]
| icon:check[]

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `pressedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rolloverSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `selectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `subElements`
| `MenuElement[]`
| icon:check[]
| 

| `tearOff`
| `boolean`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `topLevelMenu`
| `boolean`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-menuBar]]
=== menuBar

[horizontal]
Swing Class:: `javax.swing.JMenuBar`
Leaf:: false
API Docs:: jdk:javax.swing.JMenuBar[JMenuBar javadoc]

.Basic usage
[source,groovy]
----
swing.menuBar()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.MenuBarUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `component`
| `awt.Component`
| icon:check[]
| 

| `componentAtIndex`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `helpMenu`
| `JMenu`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `menu`
| `Object`
| 
| 

| `menuCount`
| `int`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| 

| `selectionModel`
| `SingleSelectionModel`
| icon:check[]
| icon:check[]

| `subElements`
| `MenuElement[]`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-menuItem]]
=== menuItem

[horizontal]
Swing Class:: `javax.swing.JMenuItem`
Leaf:: false
API Docs:: jdk:javax.swing.JMenuItem[JMenuItem javadoc]

.Basic usage
[source,groovy]
----
swing.menuItem('Click Me')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ButtonUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accelerator`
| `KeyStroke`
| icon:check[]
| icon:check[]

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `armed`
| `boolean`
| icon:check[]
| icon:check[]

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `awt.Component`
| icon:check[]
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentAreaFilled`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `disabledSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `hideActionText`
| `boolean`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `menuDragMouseListeners`
| `event.MenuDragMouseListener[]`
| icon:check[]
| 

| `menuKeyListeners`
| `event.MenuKeyListener[]`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonic`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `ButtonModel`
| icon:check[]
| icon:check[]

| `multiClickThreshhold`
| `long`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `pressedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rolloverSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `selectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `subElements`
| `MenuElement[]`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-noparent]]
=== noparent

.Basic usage
[source,groovy]
----
swing.noparent()
----

'''

[[swing-widget-onRender]]
=== onRender

.Basic usage
[source,groovy]
----
swing.onRender()
----

'''

[[swing-widget-optionPane]]
=== optionPane

[horizontal]
Swing Class:: `javax.swing.JOptionPane`
Leaf:: false
API Docs:: jdk:javax.swing.JOptionPane[JOptionPane javadoc]

.Basic usage
[source,groovy]
----
swing.optionPane()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.OptionPaneUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `initialSelectionValue`
| `Object`
| icon:check[]
| icon:check[]

| `initialValue`
| `Object`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputValue`
| `Object`
| icon:check[]
| icon:check[]

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maxCharactersPerLineCount`
| `int`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `message`
| `Object`
| icon:check[]
| icon:check[]

| `messageType`
| `int`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `optionType`
| `int`
| icon:check[]
| icon:check[]

| `options`
| `Object[]`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selectionValues`
| `Object[]`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `value`
| `Object`
| icon:check[]
| icon:check[]

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `wantsInput`
| `boolean`
| icon:check[]
| icon:check[]

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-overlayLayout]]
=== overlayLayout

[horizontal]
Swing Class:: `javax.swing.OverlayLayout`
Leaf:: false
API Docs:: jdk:javax.swing.OverlayLayout[OverlayLayout javadoc]

.Basic usage
[source,groovy]
----
swing.overlayLayout()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `target`
| `awt.Container`
| icon:check[]
| 

|===

'''

[[swing-widget-panel]]
=== panel

[horizontal]
Swing Class:: `javax.swing.JPanel`
Leaf:: false
API Docs:: jdk:javax.swing.JPanel[JPanel javadoc]

.Basic usage
[source,groovy]
----
swing.panel()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.PanelUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-passwordField]]
=== passwordField

[horizontal]
Swing Class:: `javax.swing.JPasswordField`
Leaf:: false
API Docs:: jdk:javax.swing.JPasswordField[JPasswordField javadoc]

.Basic usage
[source,groovy]
----
swing.passwordField(text: 'initial text', columns: 20)
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TextUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| 
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `actions`
| `Action[]`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `caret`
| `text.Caret`
| icon:check[]
| icon:check[]

| `caretColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `caretListeners`
| `event.CaretListener[]`
| icon:check[]
| 

| `caretPosition`
| `int`
| icon:check[]
| icon:check[]

| `columns`
| `int`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentOrientation`
| `awt.ComponentOrientation`
| 
| icon:check[]

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `document`
| `text.Document`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `text.JTextComponent$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `echoChar`
| `char`
| icon:check[]
| icon:check[]

| `editable`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusAccelerator`
| `char`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `highlighter`
| `text.Highlighter`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalVisibility`
| `BoundedRangeModel`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputMethodRequests`
| `awt.im.InputMethodRequests`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `keymap`
| `text.Keymap`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `navigationFilter`
| `text.NavigationFilter`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `password`
| `char[]`
| icon:check[]
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `scrollOffset`
| `int`
| icon:check[]
| icon:check[]

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `selectedText`
| `String`
| icon:check[]
| 

| `selectedTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionEnd`
| `int`
| icon:check[]
| icon:check[]

| `selectionStart`
| `int`
| icon:check[]
| icon:check[]

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-popupMenu]]
=== popupMenu

[horizontal]
Swing Class:: `javax.swing.JPopupMenu`
Leaf:: false
API Docs:: jdk:javax.swing.JPopupMenu[JPopupMenu javadoc]

.Basic usage
[source,groovy]
----
swing.popupMenu()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.PopupMenuUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `component`
| `awt.Component`
| icon:check[]
| 

| `componentAtIndex`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `invoker`
| `awt.Component`
| icon:check[]
| icon:check[]

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `lightWeightPopupEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `location`
| `Object`
| 
| 

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `menuKeyListeners`
| `event.MenuKeyListener[]`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `popupMenuListeners`
| `event.PopupMenuListener[]`
| icon:check[]
| 

| `popupSize`
| `awt.Dimension`
| 
| icon:check[]

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `awt.Component`
| 
| icon:check[]

| `selectionModel`
| `SingleSelectionModel`
| icon:check[]
| icon:check[]

| `subElements`
| `MenuElement[]`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-prepareEditor]]
=== prepareEditor

.Basic usage
[source,groovy]
----
swing.prepareEditor()
----

'''

[[swing-widget-progressBar]]
=== progressBar

[horizontal]
Swing Class:: `javax.swing.JProgressBar`
Leaf:: false
API Docs:: jdk:javax.swing.JProgressBar[JProgressBar javadoc]

.Basic usage
[source,groovy]
----
swing.progressBar()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ProgressBarUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `indeterminate`
| `boolean`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximum`
| `int`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimum`
| `int`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `model`
| `BoundedRangeModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `orientation`
| `int`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `percentComplete`
| `double`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `string`
| `String`
| icon:check[]
| icon:check[]

| `stringPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `value`
| `int`
| icon:check[]
| icon:check[]

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-propertyColumn]]
=== propertyColumn

.Basic usage
[source,groovy]
----
swing.propertyColumn()
----

'''

[[swing-widget-radioButton]]
=== radioButton

[horizontal]
Swing Class:: `javax.swing.JRadioButton`
Leaf:: false
API Docs:: jdk:javax.swing.JRadioButton[JRadioButton javadoc]

.Basic usage
[source,groovy]
----
swing.radioButton('Click Me')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ButtonUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentAreaFilled`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `disabledSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `hideActionText`
| `boolean`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonic`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `ButtonModel`
| icon:check[]
| icon:check[]

| `multiClickThreshhold`
| `long`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `pressedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rolloverSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `selectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-radioButtonMenuItem]]
=== radioButtonMenuItem

[horizontal]
Swing Class:: `javax.swing.JRadioButtonMenuItem`
Leaf:: false
API Docs:: jdk:javax.swing.JRadioButtonMenuItem[JRadioButtonMenuItem javadoc]

.Basic usage
[source,groovy]
----
swing.radioButtonMenuItem('Click Me')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ButtonUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accelerator`
| `KeyStroke`
| icon:check[]
| icon:check[]

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `armed`
| `boolean`
| icon:check[]
| icon:check[]

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `awt.Component`
| icon:check[]
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentAreaFilled`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `disabledSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `hideActionText`
| `boolean`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `menuDragMouseListeners`
| `event.MenuDragMouseListener[]`
| icon:check[]
| 

| `menuKeyListeners`
| `event.MenuKeyListener[]`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonic`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `ButtonModel`
| icon:check[]
| icon:check[]

| `multiClickThreshhold`
| `long`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `pressedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rolloverSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `selectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `subElements`
| `MenuElement[]`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-raisedBevelBorder]]
=== raisedBevelBorder

.Basic usage
[source,groovy]
----
swing.raisedBevelBorder()
----

'''

[[swing-widget-raisedEtchedBorder]]
=== raisedEtchedBorder

.Basic usage
[source,groovy]
----
swing.raisedEtchedBorder()
----

'''

[[swing-widget-rigidArea]]
=== rigidArea

.Basic usage
[source,groovy]
----
swing.rigidArea()
----

'''

[[swing-widget-scrollBar]]
=== scrollBar

[horizontal]
Swing Class:: `javax.swing.JScrollBar`
Leaf:: false
API Docs:: jdk:javax.swing.JScrollBar[JScrollBar javadoc]

.Basic usage
[source,groovy]
----
swing.scrollBar()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ScrollBarUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `adjustmentListeners`
| `awt.event.AdjustmentListener[]`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `blockIncrement`
| `int`
| icon:check[]
| icon:check[]

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximum`
| `int`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimum`
| `int`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `model`
| `BoundedRangeModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `orientation`
| `int`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `unitIncrement`
| `int`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `value`
| `int`
| icon:check[]
| icon:check[]

| `valueIsAdjusting`
| `boolean`
| icon:check[]
| icon:check[]

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleAmount`
| `int`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-scrollPane]]
=== scrollPane

[horizontal]
Swing Class:: `javax.swing.JScrollPane`
Leaf:: false
API Docs:: jdk:javax.swing.JScrollPane[JScrollPane javadoc]

.Basic usage
[source,groovy]
----
swing.scrollPane()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ScrollPaneUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `columnHeader`
| `JViewport`
| icon:check[]
| icon:check[]

| `columnHeaderView`
| `awt.Component`
| 
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentOrientation`
| `awt.ComponentOrientation`
| 
| icon:check[]

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `horizontalScrollBar`
| `JScrollBar`
| icon:check[]
| icon:check[]

| `horizontalScrollBarPolicy`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `rowHeader`
| `JViewport`
| icon:check[]
| icon:check[]

| `rowHeaderView`
| `awt.Component`
| 
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalScrollBar`
| `JScrollBar`
| icon:check[]
| icon:check[]

| `verticalScrollBarPolicy`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `viewport`
| `JViewport`
| icon:check[]
| icon:check[]

| `viewportBorder`
| `border.Border`
| icon:check[]
| icon:check[]

| `viewportBorderBounds`
| `awt.Rectangle`
| icon:check[]
| 

| `viewportView`
| `awt.Component`
| 
| icon:check[]

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `wheelScrollingEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-separator]]
=== separator

[horizontal]
Swing Class:: `javax.swing.JSeparator`
Leaf:: false
API Docs:: jdk:javax.swing.JSeparator[JSeparator javadoc]

.Basic usage
[source,groovy]
----
swing.separator()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.SeparatorUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `orientation`
| `int`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-slider]]
=== slider

[horizontal]
Swing Class:: `javax.swing.JSlider`
Leaf:: false
API Docs:: jdk:javax.swing.JSlider[JSlider javadoc]

.Basic usage
[source,groovy]
----
swing.slider()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.SliderUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `extent`
| `int`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `inverted`
| `boolean`
| icon:check[]
| icon:check[]

| `labelTable`
| `Dictionary`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `majorTickSpacing`
| `int`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximum`
| `int`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimum`
| `int`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minorTickSpacing`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `BoundedRangeModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `orientation`
| `int`
| icon:check[]
| icon:check[]

| `paintLabels`
| `boolean`
| icon:check[]
| icon:check[]

| `paintTicks`
| `boolean`
| icon:check[]
| icon:check[]

| `paintTrack`
| `boolean`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `snapToTicks`
| `boolean`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `value`
| `int`
| icon:check[]
| icon:check[]

| `valueIsAdjusting`
| `boolean`
| icon:check[]
| icon:check[]

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-spinner]]
=== spinner

[horizontal]
Swing Class:: `javax.swing.JSpinner`
Leaf:: false
API Docs:: jdk:javax.swing.JSpinner[JSpinner javadoc]

.Basic usage
[source,groovy]
----
swing.spinner()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.SpinnerUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `editor`
| `JComponent`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `model`
| `SpinnerModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `nextValue`
| `Object`
| icon:check[]
| 

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `previousValue`
| `Object`
| icon:check[]
| 

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `value`
| `Object`
| icon:check[]
| icon:check[]

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-spinnerDateModel]]
=== spinnerDateModel

[horizontal]
Swing Class:: `javax.swing.SpinnerDateModel`
Leaf:: false
API Docs:: jdk:javax.swing.SpinnerDateModel[SpinnerDateModel javadoc]

.Basic usage
[source,groovy]
----
swing.spinnerDateModel()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `calendarField`
| `int`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `date`
| `Date`
| icon:check[]
| 

| `end`
| `Comparable`
| icon:check[]
| icon:check[]

| `nextValue`
| `Object`
| icon:check[]
| 

| `previousValue`
| `Object`
| icon:check[]
| 

| `start`
| `Comparable`
| icon:check[]
| icon:check[]

| `value`
| `Object`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-spinnerListModel]]
=== spinnerListModel

[horizontal]
Swing Class:: `javax.swing.SpinnerListModel`
Leaf:: false
API Docs:: jdk:javax.swing.SpinnerListModel[SpinnerListModel javadoc]

.Basic usage
[source,groovy]
----
swing.spinnerListModel()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `list`
| `List`
| icon:check[]
| icon:check[]

| `nextValue`
| `Object`
| icon:check[]
| 

| `previousValue`
| `Object`
| icon:check[]
| 

| `value`
| `Object`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-spinnerNumberModel]]
=== spinnerNumberModel

[horizontal]
Swing Class:: `javax.swing.SpinnerNumberModel`
Leaf:: false
API Docs:: jdk:javax.swing.SpinnerNumberModel[SpinnerNumberModel javadoc]

.Basic usage
[source,groovy]
----
swing.spinnerNumberModel()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `maximum`
| `Comparable`
| icon:check[]
| icon:check[]

| `minimum`
| `Comparable`
| icon:check[]
| icon:check[]

| `nextValue`
| `Object`
| icon:check[]
| 

| `number`
| `Number`
| icon:check[]
| 

| `previousValue`
| `Object`
| icon:check[]
| 

| `stepSize`
| `Number`
| icon:check[]
| icon:check[]

| `value`
| `Object`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-splitPane]]
=== splitPane

[horizontal]
Swing Class:: `javax.swing.JSplitPane`
Leaf:: false
API Docs:: jdk:javax.swing.JSplitPane[JSplitPane javadoc]

.Basic usage
[source,groovy]
----
swing.splitPane()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.SplitPaneUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `bottomComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `continuousLayout`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `dividerLocation`
| `int`
| icon:check[]
| icon:check[]

| `dividerSize`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `lastDividerLocation`
| `int`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `leftComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumDividerLocation`
| `int`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumDividerLocation`
| `int`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `oneTouchExpandable`
| `boolean`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `orientation`
| `int`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `resizeWeight`
| `double`
| icon:check[]
| icon:check[]

| `rightComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-springLayout]]
=== springLayout

[horizontal]
Swing Class:: `javax.swing.SpringLayout`
Leaf:: false
API Docs:: jdk:javax.swing.SpringLayout[SpringLayout javadoc]

.Basic usage
[source,groovy]
----
swing.springLayout()
----

'''

[[swing-widget-tabbedPane]]
=== tabbedPane

[horizontal]
Swing Class:: `javax.swing.JTabbedPane`
Leaf:: false
API Docs:: jdk:javax.swing.JTabbedPane[JTabbedPane javadoc]

.Basic usage
[source,groovy]
----
swing.tabbedPane()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TabbedPaneUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `backgroundAt`
| `Object`
| 
| 

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `boundsAt`
| `Object`
| 
| 

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentAt`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledIconAt`
| `Object`
| 
| 

| `displayedMnemonicIndexAt`
| `Object`
| 
| 

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `enabledAt`
| `Object`
| 
| 

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `foregroundAt`
| `Object`
| 
| 

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `iconAt`
| `Object`
| 
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonicAt`
| `Object`
| 
| 

| `model`
| `SingleSelectionModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selectedComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `selectedIndex`
| `int`
| icon:check[]
| icon:check[]

| `tabComponentAt`
| `Object`
| 
| 

| `tabCount`
| `int`
| icon:check[]
| 

| `tabLayoutPolicy`
| `int`
| icon:check[]
| icon:check[]

| `tabPlacement`
| `int`
| icon:check[]
| icon:check[]

| `tabRunCount`
| `int`
| icon:check[]
| 

| `titleAt`
| `Object`
| 
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `toolTipTextAt`
| `Object`
| 
| 

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-table]]
=== table

[horizontal]
Swing Class:: `javax.swing.JTable`
Leaf:: false
API Docs:: jdk:javax.swing.JTable[JTable javadoc]

.Basic usage
[source,groovy]
----
swing.table()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TableUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoCreateColumnsFromModel`
| `boolean`
| icon:check[]
| icon:check[]

| `autoCreateRowSorter`
| `boolean`
| icon:check[]
| icon:check[]

| `autoResizeMode`
| `int`
| icon:check[]
| icon:check[]

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `cellEditor`
| `table.TableCellEditor`
| icon:check[]
| icon:check[]

| `cellSelectionEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `columnClass`
| `Object`
| 
| 

| `columnCount`
| `int`
| icon:check[]
| 

| `columnModel`
| `table.TableColumnModel`
| icon:check[]
| icon:check[]

| `columnName`
| `Object`
| 
| 

| `columnSelectionAllowed`
| `boolean`
| icon:check[]
| icon:check[]

| `columnSelectionInterval`
| `Object`
| 
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `JTable$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `editing`
| `boolean`
| icon:check[]
| 

| `editingColumn`
| `int`
| icon:check[]
| icon:check[]

| `editingRow`
| `int`
| icon:check[]
| icon:check[]

| `editorComponent`
| `awt.Component`
| icon:check[]
| 

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `fillsViewportHeight`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `gridColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `intercellSpacing`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `model`
| `table.TableModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `rowCount`
| `int`
| icon:check[]
| 

| `rowHeight`
| `int`
| icon:check[]
| icon:check[]

| `rowMargin`
| `int`
| icon:check[]
| icon:check[]

| `rowSelectionAllowed`
| `boolean`
| icon:check[]
| icon:check[]

| `rowSelectionInterval`
| `Object`
| 
| 

| `rowSorter`
| `RowSorter`
| icon:check[]
| icon:check[]

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `selectedColumn`
| `int`
| icon:check[]
| 

| `selectedColumnCount`
| `int`
| icon:check[]
| 

| `selectedColumns`
| `int[]`
| icon:check[]
| 

| `selectedRow`
| `int`
| icon:check[]
| 

| `selectedRowCount`
| `int`
| icon:check[]
| 

| `selectedRows`
| `int[]`
| icon:check[]
| 

| `selectionBackground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionForeground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionMode`
| `int`
| 
| icon:check[]

| `selectionModel`
| `ListSelectionModel`
| icon:check[]
| icon:check[]

| `showGrid`
| `boolean`
| 
| icon:check[]

| `showHorizontalLines`
| `boolean`
| icon:check[]
| icon:check[]

| `showVerticalLines`
| `boolean`
| icon:check[]
| icon:check[]

| `surrendersFocusOnKeystroke`
| `boolean`
| icon:check[]
| icon:check[]

| `tableHeader`
| `table.JTableHeader`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `updateSelectionOnSort`
| `boolean`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-tableCellRenderer]]
=== tableCellRenderer

.Basic usage
[source,groovy]
----
swing.tableCellRenderer()
----

'''

[[swing-widget-tableColumn]]
=== tableColumn

[horizontal]
Swing Class:: `javax.swing.table.TableColumn`
Leaf:: false
API Docs:: jdk:javax.swing.table.TableColumn[TableColumn javadoc]

.Basic usage
[source,groovy]
----
swing.tableColumn()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `cellEditor`
| `table.TableCellEditor`
| icon:check[]
| icon:check[]

| `cellRenderer`
| `table.TableCellRenderer`
| icon:check[]
| icon:check[]

| `headerRenderer`
| `table.TableCellRenderer`
| icon:check[]
| icon:check[]

| `headerValue`
| `Object`
| icon:check[]
| icon:check[]

| `identifier`
| `Object`
| icon:check[]
| icon:check[]

| `maxWidth`
| `int`
| icon:check[]
| icon:check[]

| `minWidth`
| `int`
| icon:check[]
| icon:check[]

| `modelIndex`
| `int`
| icon:check[]
| icon:check[]

| `preferredWidth`
| `int`
| icon:check[]
| icon:check[]

| `propertyChangeListeners`
| `java.beans.PropertyChangeListener[]`
| icon:check[]
| 

| `resizable`
| `boolean`
| icon:check[]
| icon:check[]

| `width`
| `int`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-tableLayout]]
=== tableLayout

.Basic usage
[source,groovy]
----
swing.tableLayout()
----

'''

[[swing-widget-tableModel]]
=== tableModel

.Basic usage
[source,groovy]
----
swing.tableModel()
----

'''

[[swing-widget-td]]
=== td

.Basic usage
[source,groovy]
----
swing.td()
----

'''

[[swing-widget-textArea]]
=== textArea

[horizontal]
Swing Class:: `javax.swing.JTextArea`
Leaf:: false
API Docs:: jdk:javax.swing.JTextArea[JTextArea javadoc]

.Basic usage
[source,groovy]
----
swing.textArea(text: 'initial text', columns: 20)
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TextUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `actions`
| `Action[]`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `caret`
| `text.Caret`
| icon:check[]
| icon:check[]

| `caretColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `caretListeners`
| `event.CaretListener[]`
| icon:check[]
| 

| `caretPosition`
| `int`
| icon:check[]
| icon:check[]

| `columns`
| `int`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentOrientation`
| `awt.ComponentOrientation`
| 
| icon:check[]

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `document`
| `text.Document`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `text.JTextComponent$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `editable`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusAccelerator`
| `char`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `highlighter`
| `text.Highlighter`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputMethodRequests`
| `awt.im.InputMethodRequests`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `keymap`
| `text.Keymap`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `lineCount`
| `int`
| icon:check[]
| 

| `lineEndOffset`
| `Object`
| 
| 

| `lineOfOffset`
| `Object`
| 
| 

| `lineStartOffset`
| `Object`
| 
| 

| `lineWrap`
| `boolean`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `navigationFilter`
| `text.NavigationFilter`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `rows`
| `int`
| icon:check[]
| icon:check[]

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `selectedText`
| `String`
| icon:check[]
| 

| `selectedTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionEnd`
| `int`
| icon:check[]
| icon:check[]

| `selectionStart`
| `int`
| icon:check[]
| icon:check[]

| `tabSize`
| `int`
| icon:check[]
| icon:check[]

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `wrapStyleWord`
| `boolean`
| icon:check[]
| icon:check[]

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-textField]]
=== textField

[horizontal]
Swing Class:: `javax.swing.JTextField`
Leaf:: false
API Docs:: jdk:javax.swing.JTextField[JTextField javadoc]

.Basic usage
[source,groovy]
----
swing.textField(text: 'initial text', columns: 20)
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TextUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| 
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `actions`
| `Action[]`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `caret`
| `text.Caret`
| icon:check[]
| icon:check[]

| `caretColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `caretListeners`
| `event.CaretListener[]`
| icon:check[]
| 

| `caretPosition`
| `int`
| icon:check[]
| icon:check[]

| `columns`
| `int`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentOrientation`
| `awt.ComponentOrientation`
| 
| icon:check[]

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `document`
| `text.Document`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `text.JTextComponent$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `editable`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusAccelerator`
| `char`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `highlighter`
| `text.Highlighter`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalVisibility`
| `BoundedRangeModel`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputMethodRequests`
| `awt.im.InputMethodRequests`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `keymap`
| `text.Keymap`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `navigationFilter`
| `text.NavigationFilter`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `scrollOffset`
| `int`
| icon:check[]
| icon:check[]

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `selectedText`
| `String`
| icon:check[]
| 

| `selectedTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionEnd`
| `int`
| icon:check[]
| icon:check[]

| `selectionStart`
| `int`
| icon:check[]
| icon:check[]

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-textPane]]
=== textPane

[horizontal]
Swing Class:: `javax.swing.JTextPane`
Leaf:: false
API Docs:: jdk:javax.swing.JTextPane[JTextPane javadoc]

.Basic usage
[source,groovy]
----
swing.textPane(text: 'initial text', columns: 20)
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TextUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `actions`
| `Action[]`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `caret`
| `text.Caret`
| icon:check[]
| icon:check[]

| `caretColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `caretListeners`
| `event.CaretListener[]`
| icon:check[]
| 

| `caretPosition`
| `int`
| icon:check[]
| icon:check[]

| `characterAttributes`
| `text.AttributeSet`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentOrientation`
| `awt.ComponentOrientation`
| 
| icon:check[]

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentType`
| `String`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `document`
| `text.Document`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `text.JTextComponent$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `editable`
| `boolean`
| icon:check[]
| icon:check[]

| `editorKit`
| `text.EditorKit`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusAccelerator`
| `char`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `highlighter`
| `text.Highlighter`
| icon:check[]
| icon:check[]

| `hyperlinkListeners`
| `event.HyperlinkListener[]`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputAttributes`
| `text.MutableAttributeSet`
| icon:check[]
| 

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputMethodRequests`
| `awt.im.InputMethodRequests`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `keymap`
| `text.Keymap`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `logicalStyle`
| `text.Style`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `navigationFilter`
| `text.NavigationFilter`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `page`
| `java.net.URL`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `paragraphAttributes`
| `text.AttributeSet`
| icon:check[]
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `selectedText`
| `String`
| icon:check[]
| 

| `selectedTextColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionColor`
| `awt.Color`
| icon:check[]
| icon:check[]

| `selectionEnd`
| `int`
| icon:check[]
| icon:check[]

| `selectionStart`
| `int`
| icon:check[]
| icon:check[]

| `styledDocument`
| `text.StyledDocument`
| icon:check[]
| icon:check[]

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-titledBorder]]
=== titledBorder

.Basic usage
[source,groovy]
----
swing.titledBorder()
----

'''

[[swing-widget-toggleButton]]
=== toggleButton

[horizontal]
Swing Class:: `javax.swing.JToggleButton`
Leaf:: false
API Docs:: jdk:javax.swing.JToggleButton[JToggleButton javadoc]

.Basic usage
[source,groovy]
----
swing.toggleButton('Click Me')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ButtonUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `action`
| `Action`
| icon:check[]
| icon:check[]

| `actionCommand`
| `String`
| icon:check[]
| icon:check[]

| `actionListeners`
| `awt.event.ActionListener[]`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentAreaFilled`
| `boolean`
| icon:check[]
| icon:check[]

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `disabledIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `disabledSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `displayedMnemonicIndex`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `hideActionText`
| `boolean`
| icon:check[]
| icon:check[]

| `horizontalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `horizontalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `icon`
| `Icon`
| icon:check[]
| icon:check[]

| `iconTextGap`
| `int`
| icon:check[]
| icon:check[]

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `itemListeners`
| `awt.event.ItemListener[]`
| icon:check[]
| 

| `label`
| `String`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `mnemonic`
| `int`
| icon:check[]
| icon:check[]

| `model`
| `ButtonModel`
| icon:check[]
| icon:check[]

| `multiClickThreshhold`
| `long`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `pressedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rolloverIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rolloverSelectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `selected`
| `boolean`
| icon:check[]
| icon:check[]

| `selectedIcon`
| `Icon`
| icon:check[]
| icon:check[]

| `selectedObjects`
| `Object[]`
| icon:check[]
| 

| `text`
| `String`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `verticalAlignment`
| `int`
| icon:check[]
| icon:check[]

| `verticalTextPosition`
| `int`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-toolBar]]
=== toolBar

[horizontal]
Swing Class:: `javax.swing.JToolBar`
Leaf:: false
API Docs:: jdk:javax.swing.JToolBar[JToolBar javadoc]

.Basic usage
[source,groovy]
----
swing.toolBar()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ToolBarUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `borderPainted`
| `boolean`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentAtIndex`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `floatable`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `margin`
| `awt.Insets`
| icon:check[]
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `orientation`
| `int`
| icon:check[]
| icon:check[]

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rollover`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-tr]]
=== tr

.Basic usage
[source,groovy]
----
swing.tr()
----

'''

[[swing-widget-tree]]
=== tree

[horizontal]
Swing Class:: `javax.swing.JTree`
Leaf:: false
API Docs:: jdk:javax.swing.JTree[JTree javadoc]

.Basic usage
[source,groovy]
----
swing.tree()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.TreeUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `anchorSelectionPath`
| `tree.TreePath`
| icon:check[]
| icon:check[]

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `cellEditor`
| `tree.TreeCellEditor`
| icon:check[]
| icon:check[]

| `cellRenderer`
| `tree.TreeCellRenderer`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `dragEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `dropLocation`
| `JTree$DropLocation`
| icon:check[]
| 

| `dropMode`
| `DropMode`
| icon:check[]
| icon:check[]

| `editable`
| `boolean`
| icon:check[]
| icon:check[]

| `editing`
| `boolean`
| icon:check[]
| 

| `editingPath`
| `tree.TreePath`
| icon:check[]
| 

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `expandsSelectedPaths`
| `boolean`
| icon:check[]
| icon:check[]

| `fixedRowHeight`
| `boolean`
| icon:check[]
| 

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `invokesStopCellEditing`
| `boolean`
| icon:check[]
| icon:check[]

| `largeModel`
| `boolean`
| icon:check[]
| icon:check[]

| `lastSelectedPathComponent`
| `Object`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `leadSelectionPath`
| `tree.TreePath`
| icon:check[]
| icon:check[]

| `leadSelectionRow`
| `int`
| icon:check[]
| 

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maxSelectionRow`
| `int`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minSelectionRow`
| `int`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `model`
| `tree.TreeModel`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `pathForRow`
| `Object`
| 
| 

| `preferredScrollableViewportSize`
| `awt.Dimension`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `rootVisible`
| `boolean`
| icon:check[]
| icon:check[]

| `rowBounds`
| `Object`
| 
| 

| `rowCount`
| `int`
| icon:check[]
| 

| `rowHeight`
| `int`
| icon:check[]
| icon:check[]

| `scrollableTracksViewportHeight`
| `boolean`
| icon:check[]
| 

| `scrollableTracksViewportWidth`
| `boolean`
| icon:check[]
| 

| `scrollsOnExpand`
| `boolean`
| icon:check[]
| icon:check[]

| `selectionCount`
| `int`
| icon:check[]
| 

| `selectionEmpty`
| `boolean`
| icon:check[]
| 

| `selectionInterval`
| `Object`
| 
| 

| `selectionModel`
| `tree.TreeSelectionModel`
| icon:check[]
| icon:check[]

| `selectionPath`
| `tree.TreePath`
| icon:check[]
| icon:check[]

| `selectionPaths`
| `tree.TreePath[]`
| icon:check[]
| icon:check[]

| `selectionRow`
| `int`
| 
| icon:check[]

| `selectionRows`
| `int[]`
| icon:check[]
| icon:check[]

| `showsRootHandles`
| `boolean`
| icon:check[]
| icon:check[]

| `toggleClickCount`
| `int`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `treeExpansionListeners`
| `event.TreeExpansionListener[]`
| icon:check[]
| 

| `treeSelectionListeners`
| `event.TreeSelectionListener[]`
| icon:check[]
| 

| `treeWillExpandListeners`
| `event.TreeWillExpandListener[]`
| icon:check[]
| 

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `visibleRowCount`
| `int`
| icon:check[]
| icon:check[]

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-vbox]]
=== vbox

[horizontal]
Swing Class:: `javax.swing.Box`
Leaf:: false
API Docs:: jdk:javax.swing.Box[Box javadoc]

.Basic usage
[source,groovy]
----
swing.vbox()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ComponentUI`
| icon:check[]
| 

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-vglue]]
=== vglue

.Basic usage
[source,groovy]
----
swing.vglue()
----

'''

[[swing-widget-viewport]]
=== viewport

[horizontal]
Swing Class:: `javax.swing.JViewport`
Leaf:: false
API Docs:: jdk:javax.swing.JViewport[JViewport javadoc]

.Basic usage
[source,groovy]
----
swing.viewport()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `UI`
| `plaf.ViewportUI`
| icon:check[]
| icon:check[]

| `UIClassID`
| `String`
| icon:check[]
| 

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `actionMap`
| `ActionMap`
| icon:check[]
| icon:check[]

| `alignmentX`
| `float`
| icon:check[]
| icon:check[]

| `alignmentY`
| `float`
| icon:check[]
| icon:check[]

| `ancestorListeners`
| `event.AncestorListener[]`
| icon:check[]
| 

| `autoscrolls`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `backingStoreEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `baselineResizeBehavior`
| `awt.Component$BaselineResizeBehavior`
| icon:check[]
| 

| `border`
| `border.Border`
| icon:check[]
| icon:check[]

| `changeListeners`
| `event.ChangeListener[]`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `componentPopupMenu`
| `JPopupMenu`
| icon:check[]
| icon:check[]

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `debugGraphicsOptions`
| `int`
| icon:check[]
| icon:check[]

| `doubleBuffered`
| `boolean`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `extentSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `height`
| `int`
| icon:check[]
| 

| `inheritsPopupMenu`
| `boolean`
| icon:check[]
| icon:check[]

| `inputMap`
| `InputMap`
| icon:check[]
| 

| `inputVerifier`
| `InputVerifier`
| icon:check[]
| icon:check[]

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `managingFocus`
| `boolean`
| icon:check[]
| 

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `nextFocusableComponent`
| `awt.Component`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| icon:check[]

| `optimizedDrawingEnabled`
| `boolean`
| icon:check[]
| 

| `paintingForPrint`
| `boolean`
| icon:check[]
| 

| `paintingTile`
| `boolean`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `registeredKeyStrokes`
| `KeyStroke[]`
| icon:check[]
| 

| `requestFocusEnabled`
| `boolean`
| icon:check[]
| icon:check[]

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `scrollMode`
| `int`
| icon:check[]
| icon:check[]

| `toolTipText`
| `String`
| icon:check[]
| icon:check[]

| `topLevelAncestor`
| `awt.Container`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `verifyInputWhenFocusTarget`
| `boolean`
| icon:check[]
| icon:check[]

| `vetoableChangeListeners`
| `java.beans.VetoableChangeListener[]`
| icon:check[]
| 

| `view`
| `awt.Component`
| icon:check[]
| icon:check[]

| `viewPosition`
| `awt.Point`
| icon:check[]
| icon:check[]

| `viewRect`
| `awt.Rectangle`
| icon:check[]
| 

| `viewSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `visibleRect`
| `awt.Rectangle`
| icon:check[]
| 

| `width`
| `int`
| icon:check[]
| 

| `x`
| `int`
| icon:check[]
| 

| `y`
| `int`
| icon:check[]
| 

|===

'''

[[swing-widget-vstrut]]
=== vstrut

.Basic usage
[source,groovy]
----
swing.vstrut()
----

'''

[[swing-widget-widget]]
=== widget

[horizontal]
Swing Class:: `java.awt.Component`
Leaf:: true
API Docs:: jdk:java.awt.Component[Component javadoc]

.Basic usage
[source,groovy]
----
swing.widget()
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `name`
| `String`
| icon:check[]
| icon:check[]

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

|===

'''

[[swing-widget-window]]
=== window

[horizontal]
Swing Class:: `javax.swing.JWindow`
Leaf:: false
API Docs:: jdk:javax.swing.JWindow[JWindow javadoc]

.Basic usage
[source,groovy]
----
swing.window(title: 'My Window')
----

==== Properties

[cols="2,2,1,1", options="header"]
|===
| Property | Type | Readable | Writable

| `accessibleContext`
| `javax.accessibility.AccessibleContext`
| icon:check[]
| 

| `active`
| `boolean`
| icon:check[]
| 

| `alignmentX`
| `float`
| icon:check[]
| 

| `alignmentY`
| `float`
| icon:check[]
| 

| `alwaysOnTop`
| `boolean`
| icon:check[]
| icon:check[]

| `alwaysOnTopSupported`
| `boolean`
| icon:check[]
| 

| `autoRequestFocus`
| `boolean`
| icon:check[]
| icon:check[]

| `background`
| `awt.Color`
| icon:check[]
| icon:check[]

| `bounds`
| `awt.Rectangle`
| 
| icon:check[]

| `bufferStrategy`
| `awt.image.BufferStrategy`
| icon:check[]
| 

| `component`
| `Object`
| 
| 

| `componentCount`
| `int`
| icon:check[]
| 

| `components`
| `awt.Component[]`
| icon:check[]
| 

| `containerListeners`
| `awt.event.ContainerListener[]`
| icon:check[]
| 

| `contentPane`
| `awt.Container`
| icon:check[]
| icon:check[]

| `cursor`
| `awt.Cursor`
| 
| icon:check[]

| `enabled`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRoot`
| `boolean`
| icon:check[]
| icon:check[]

| `focusCycleRootAncestor`
| `awt.Container`
| icon:check[]
| 

| `focusOwner`
| `awt.Component`
| icon:check[]
| 

| `focusTraversalKeys`
| `Object`
| 
| 

| `focusTraversalPolicy`
| `awt.FocusTraversalPolicy`
| icon:check[]
| icon:check[]

| `focusTraversalPolicyProvider`
| `boolean`
| icon:check[]
| icon:check[]

| `focusTraversalPolicySet`
| `boolean`
| icon:check[]
| 

| `focusable`
| `boolean`
| icon:check[]
| icon:check[]

| `focusableWindow`
| `boolean`
| icon:check[]
| 

| `focusableWindowState`
| `boolean`
| icon:check[]
| icon:check[]

| `focused`
| `boolean`
| icon:check[]
| 

| `font`
| `awt.Font`
| icon:check[]
| icon:check[]

| `foreground`
| `awt.Color`
| icon:check[]
| icon:check[]

| `glassPane`
| `awt.Component`
| icon:check[]
| icon:check[]

| `graphics`
| `awt.Graphics`
| icon:check[]
| 

| `iconImage`
| `awt.Image`
| 
| icon:check[]

| `iconImages`
| `List`
| icon:check[]
| icon:check[]

| `inputContext`
| `awt.im.InputContext`
| icon:check[]
| 

| `insets`
| `awt.Insets`
| icon:check[]
| 

| `layeredPane`
| `JLayeredPane`
| icon:check[]
| icon:check[]

| `layout`
| `awt.LayoutManager`
| icon:check[]
| icon:check[]

| `locale`
| `Locale`
| icon:check[]
| 

| `location`
| `awt.Point`
| 
| icon:check[]

| `locationByPlatform`
| `boolean`
| icon:check[]
| icon:check[]

| `locationRelativeTo`
| `awt.Component`
| 
| icon:check[]

| `maximumSize`
| `awt.Dimension`
| icon:check[]
| 

| `minimumSize`
| `awt.Dimension`
| icon:check[]
| icon:check[]

| `modalExclusionType`
| `awt.Dialog$ModalExclusionType`
| icon:check[]
| icon:check[]

| `mostRecentFocusOwner`
| `awt.Component`
| icon:check[]
| 

| `name`
| `String`
| icon:check[]
| icon:check[]

| `opacity`
| `float`
| icon:check[]
| icon:check[]

| `opaque`
| `boolean`
| icon:check[]
| 

| `ownedWindows`
| `awt.Window[]`
| icon:check[]
| 

| `owner`
| `awt.Window`
| icon:check[]
| 

| `preferredSize`
| `awt.Dimension`
| icon:check[]
| 

| `rootPane`
| `JRootPane`
| icon:check[]
| 

| `shape`
| `awt.Shape`
| icon:check[]
| icon:check[]

| `showing`
| `boolean`
| icon:check[]
| 

| `size`
| `awt.Dimension`
| 
| icon:check[]

| `toolkit`
| `awt.Toolkit`
| icon:check[]
| 

| `transferHandler`
| `TransferHandler`
| icon:check[]
| icon:check[]

| `type`
| `awt.Window$Type`
| icon:check[]
| icon:check[]

| `validateRoot`
| `boolean`
| icon:check[]
| 

| `visible`
| `boolean`
| icon:check[]
| icon:check[]

| `warningString`
| `String`
| icon:check[]
| 

| `windowFocusListeners`
| `awt.event.WindowFocusListener[]`
| icon:check[]
| 

| `windowListeners`
| `awt.event.WindowListener[]`
| icon:check[]
| 

| `windowStateListeners`
| `awt.event.WindowStateListener[]`
| icon:check[]
| 

|===

