| Package | Description |
|---|---|
| javax.swing |
| Modifier and Type | Method and Description |
|---|---|
static LayoutStyle.ComponentPlacement |
LayoutStyle.ComponentPlacement.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutStyle.ComponentPlacement[] |
LayoutStyle.ComponentPlacement.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
GroupLayout.SequentialGroup |
GroupLayout.SequentialGroup.addPreferredGap(JComponent comp1,
JComponent comp2,
LayoutStyle.ComponentPlacement type)
Adds an element representing the preferred gap between two
components.
|
GroupLayout.SequentialGroup |
GroupLayout.SequentialGroup.addPreferredGap(JComponent comp1,
JComponent comp2,
LayoutStyle.ComponentPlacement type,
int pref,
int max)
Adds an element representing the preferred gap between two
components.
|
GroupLayout.SequentialGroup |
GroupLayout.SequentialGroup.addPreferredGap(LayoutStyle.ComponentPlacement type)
Adds an element representing the preferred gap between the
nearest components.
|
GroupLayout.SequentialGroup |
GroupLayout.SequentialGroup.addPreferredGap(LayoutStyle.ComponentPlacement type,
int pref,
int max)
Adds an element representing the preferred gap between the
nearest components.
|
abstract int |
LayoutStyle.getPreferredGap(JComponent component1,
JComponent component2,
LayoutStyle.ComponentPlacement type,
int position,
Container parent)
Returns the amount of space to use between two components.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.