GridBagConstraints

Methods
1
Fields
8

Getting one

GridBagConstraints.new()

Methods

MethodReturnsDescription
new()GridBagConstraintsGridBagConstraints.new(): the defaults (RELATIVE cell, 1x1, no weight, CENTER, NONE, zero insets).

Fields

FieldTypeDescription
fillnumberThe fill field.
gridwidthnumberThe gridwidth field.
gridxnumberThe gridx field.
gridynumberThe gridy field.
insetsInsetsThe insets field.
weightxnumberThe weightx field.
weightynumberThe weighty field.
HORIZONTALnumber2.

Returned by

MethodReturnsDescription
GridBagConstraintsClass.newGridBagConstraintsGridBagConstraints.new(): the defaults (RELATIVE cell, 1x1, no weight, CENTER, NONE, zero insets).

Method details

new

new: () -> GridBagConstraints

GridBagConstraints.new(): the defaults (RELATIVE cell, 1x1, no weight, CENTER, NONE, zero insets).