Package com.bc.ceres.swing
Enum TableLayout.Anchor
- java.lang.Object
-
- java.lang.Enum<TableLayout.Anchor>
-
- com.bc.ceres.swing.TableLayout.Anchor
-
- All Implemented Interfaces:
Serializable
,Comparable<TableLayout.Anchor>
- Enclosing class:
- TableLayout
public static enum TableLayout.Anchor extends Enum<TableLayout.Anchor>
This parameter is used when the component's display area is larger than the component's requested size. It determines whether to resize the component, and if so, how.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static TableLayout.Anchor
valueOf(String name)
Returns the enum constant of this type with the specified name.static TableLayout.Anchor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTER
public static final TableLayout.Anchor CENTER
-
NORTH
public static final TableLayout.Anchor NORTH
-
NORTHEAST
public static final TableLayout.Anchor NORTHEAST
-
EAST
public static final TableLayout.Anchor EAST
-
SOUTHEAST
public static final TableLayout.Anchor SOUTHEAST
-
SOUTH
public static final TableLayout.Anchor SOUTH
-
SOUTHWEST
public static final TableLayout.Anchor SOUTHWEST
-
WEST
public static final TableLayout.Anchor WEST
-
NORTHWEST
public static final TableLayout.Anchor NORTHWEST
-
PAGE_START
public static final TableLayout.Anchor PAGE_START
-
PAGE_END
public static final TableLayout.Anchor PAGE_END
-
LINE_START
public static final TableLayout.Anchor LINE_START
-
LINE_END
public static final TableLayout.Anchor LINE_END
-
FIRST_LINE_START
public static final TableLayout.Anchor FIRST_LINE_START
-
FIRST_LINE_END
public static final TableLayout.Anchor FIRST_LINE_END
-
LAST_LINE_START
public static final TableLayout.Anchor LAST_LINE_START
-
LAST_LINE_END
public static final TableLayout.Anchor LAST_LINE_END
-
BASELINE
public static final TableLayout.Anchor BASELINE
-
BASELINE_LEADING
public static final TableLayout.Anchor BASELINE_LEADING
-
BASELINE_TRAILING
public static final TableLayout.Anchor BASELINE_TRAILING
-
ABOVE_BASELINE
public static final TableLayout.Anchor ABOVE_BASELINE
-
ABOVE_BASELINE_LEADING
public static final TableLayout.Anchor ABOVE_BASELINE_LEADING
-
ABOVE_BASELINE_TRAILING
public static final TableLayout.Anchor ABOVE_BASELINE_TRAILING
-
BELOW_BASELINE
public static final TableLayout.Anchor BELOW_BASELINE
-
BELOW_BASELINE_LEADING
public static final TableLayout.Anchor BELOW_BASELINE_LEADING
-
BELOW_BASELINE_TRAILING
public static final TableLayout.Anchor BELOW_BASELINE_TRAILING
-
-
Method Detail
-
values
public static TableLayout.Anchor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TableLayout.Anchor c : TableLayout.Anchor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableLayout.Anchor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()
-
-