public static enum GridBag.Fill extends Enum<GridBag.Fill>
| Enum Constant and Description |
|---|
BOTH |
HORIZONTAL |
NONE |
VERTICAL |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static GridBag.Fill |
of(int value) |
static GridBag.Fill |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridBag.Fill[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridBag.Fill NONE
GridBagConstraints.NONEpublic static final GridBag.Fill BOTH
GridBagConstraints.BOTHpublic static final GridBag.Fill HORIZONTAL
GridBagConstraints.HORIZONTALpublic static final GridBag.Fill VERTICAL
GridBagConstraints.VERTICALpublic static GridBag.Fill[] values()
for (GridBag.Fill c : GridBag.Fill.values()) System.out.println(c);
public static GridBag.Fill valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getValue()
public static GridBag.Fill of(int value)
Copyright © 2025 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.