Example usage for Java javax.swing GroupLayout fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_SIZE Indicates the size from the component or gap should be used for a particular range value. |
int | PREFERRED_SIZE Indicates the preferred size from the component or gap should be used for a particular range value. |
GroupLayout(Container host) Creates a GroupLayout for the specified Container . |
ParallelGroup | createParallelGroup(Alignment alignment) Creates and returns a ParallelGroup with the specified alignment. |
ParallelGroup | createParallelGroup() Creates and returns a ParallelGroup with an alignment of Alignment.LEADING . |
SequentialGroup | createSequentialGroup() Creates and returns a SequentialGroup . |
boolean | getAutoCreateGaps() Returns true if gaps between components are automatically created. |
boolean | getHonorsVisibility() Returns whether component visibility is considered when sizing and positioning components. |
LayoutStyle | getLayoutStyle() Returns the LayoutStyle used for calculating the preferred gap between components. |
void | linkSize(int axis, Component... components) Forces the specified components to have the same size along the specified axis regardless of their preferred, minimum or maximum sizes. |
void | replace(Component existingComponent, Component newComponent) Replaces an existing component with a new one. |
void | setAutoCreateContainerGaps(boolean autoCreateContainerPadding) Sets whether a gap between the container and components that touch the border of the container should automatically be created. |
void | setAutoCreateGaps(boolean autoCreatePadding) Sets whether a gap between components should automatically be created. |
void | setHonorsVisibility(boolean honorsVisibility) Sets whether component visibility is considered when sizing and positioning components. |
void | setHorizontalGroup(Group group) Sets the Group that positions and sizes components along the horizontal axis. |
void | setVerticalGroup(Group group) Sets the Group that positions and sizes components along the vertical axis. |