Java java.awt GridBagLayout fields, constructors, methods, implement or subclass

Example usage for Java java.awt GridBagLayout fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt GridBagLayout.

The text is from its open source code.

Constructor

GridBagLayout()
Creates a grid bag layout manager.

Method

voidaddLayoutComponent(String name, Component comp)
Has no effect, since this layout manager does not use a per-component string.
voidaddLayoutComponent(Component comp, Object constraints)
Adds the specified component to the layout, using the specified constraints object.
GridBagConstraintsgetConstraints(Component comp)
Gets the constraints for the specified component.
int[][]getLayoutDimensions()
Determines column widths and row heights for the layout grid.
PointgetLayoutOrigin()
Determines the origin of the layout area, in the graphics coordinate space of the target container.
double[][]getLayoutWeights()
Determines the weights of the layout grid's columns and rows.
voidlayoutContainer(Container parent)
Lays out the specified container using this grid bag layout.
DimensionmaximumLayoutSize(Container target)
Returns the maximum dimensions for this layout given the components in the specified target container.
voidsetConstraints(Component comp, GridBagConstraints constraints)
Sets the constraints for the specified component in this layout.