public enum RowAlignment extends Enum<RowAlignment>
LayoutGraphUtilities.arrangeRectangleMultiRows(com.yworks.yfiles.algorithms.Rectangle2D[], com.yworks.yfiles.algorithms.Rectangle2D, double, double, boolean, MultiRowConstraint, RowAlignment),
LayoutGraphUtilities.arrangeRectangleRows(com.yworks.yfiles.algorithms.Rectangle2D[], com.yworks.yfiles.algorithms.Rectangle2D, double, RowAlignment)| Enum Constant and Description |
|---|
CENTER
Row alignment specifier which defines that each row will be aligned with its center.
|
JUSTIFIED
Row alignment specifier which defines that each row will be aligned with its left border and its right border.
|
LEADING
Row alignment specifier which defines that each row will be aligned with its left border.
|
TRAILING
Row alignment specifier which defines that each row will be aligned with its right border.
|
| Modifier and Type | Method and Description |
|---|---|
static RowAlignment |
fromOrdinal(int ordinal) |
int |
value() |
static RowAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RowAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RowAlignment CENTER
public static final RowAlignment JUSTIFIED
Rectangles in smaller rows will be distributed over the row, so that the row aligns with both sides.
public static final RowAlignment LEADING
public static final RowAlignment TRAILING
public static final RowAlignment fromOrdinal(int ordinal)
public int value()
public static RowAlignment valueOf(String name)
IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullname - the name of the enum constant to be returned.public static RowAlignment[] values()
for (RowAlignment c : RowAlignment.values()) System.out.println(c);