public enum MergingPolicy extends Enum<MergingPolicy>
| Enum Constant and Description |
|---|
ADD_ABOVE
|
ADD_BELOW
|
ADD_LEFT_BOTTOM_ALIGNED
|
ADD_LEFT_CENTER_ALIGNED
|
ADD_LEFT_TOP_ALIGNED
|
ADD_RIGHT_BOTTOM_ALIGNED
|
ADD_RIGHT_CENTER_ALIGNED
|
ADD_RIGHT_TOP_ALIGNED
A constant that adds the new layers of the source
layering to the
right of the layers of the target layering. |
| Modifier and Type | Method and Description |
|---|---|
static MergingPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static MergingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergingPolicy ADD_ABOVE
public static final MergingPolicy ADD_BELOW
public static final MergingPolicy ADD_LEFT_BOTTOM_ALIGNED
layering to the
left of the layers of the target layering.
Both layerings will become bottom-aligned before the merge.
DefaultLayeredComponentsMerger.setPolicy(MergingPolicy)public static final MergingPolicy ADD_LEFT_CENTER_ALIGNED
layering to the
left of the layers of the target layering.
Both layerings will become center-aligned before the merge.
DefaultLayeredComponentsMerger.setPolicy(MergingPolicy)public static final MergingPolicy ADD_LEFT_TOP_ALIGNED
layering to the
left of the layers of the target layering.
Both layerings will become top-aligned before the merge.
DefaultLayeredComponentsMerger.setPolicy(MergingPolicy)public static final MergingPolicy ADD_RIGHT_BOTTOM_ALIGNED
layering to the
right of the layers of the target layering.
Both layerings will become bottom-aligned before the merge.
DefaultLayeredComponentsMerger.setPolicy(MergingPolicy)public static final MergingPolicy ADD_RIGHT_CENTER_ALIGNED
layering to the
right of the layers of the target layering.
Both layerings will become center-aligned before the merge.
DefaultLayeredComponentsMerger.setPolicy(MergingPolicy)public static final MergingPolicy ADD_RIGHT_TOP_ALIGNED
layering to the
right of the layers of the target layering.
Both layerings will become top-aligned before the merge.
DefaultLayeredComponentsMerger.setPolicy(MergingPolicy)public static final MergingPolicy fromOrdinal(int ordinal)
public int value()
public static MergingPolicy 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 MergingPolicy[] values()
for (MergingPolicy c : MergingPolicy.values()) System.out.println(c);