public enum FamilyMembersSortingPolicy extends Enum<FamilyMembersSortingPolicy>
FamilyTreeLayout
.Enum Constant and Description |
---|
FEMALE_ALWAYS_FIRST
Order specifier that places female individuals before their male siblings and partners.
|
FEMALE_FIRST
Order specifier that places female individuals before their male siblings and partners, if possible.
|
MALE_ALWAYS_FIRST
Order specifier that places male individuals before their female siblings and partners.
|
MALE_FIRST
Order specifier that places male individuals before their female siblings and partners, if possible.
|
NO_SORTING
Order specifier that disables sorting of individuals according to their sex.
|
Modifier and Type | Method and Description |
---|---|
static FamilyMembersSortingPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static FamilyMembersSortingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FamilyMembersSortingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FamilyMembersSortingPolicy FEMALE_ALWAYS_FIRST
public static final FamilyMembersSortingPolicy FEMALE_FIRST
public static final FamilyMembersSortingPolicy MALE_ALWAYS_FIRST
public static final FamilyMembersSortingPolicy MALE_FIRST
public static final FamilyMembersSortingPolicy NO_SORTING
public static final FamilyMembersSortingPolicy fromOrdinal(int ordinal)
public int value()
public static FamilyMembersSortingPolicy 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 FamilyMembersSortingPolicy[] values()
for (FamilyMembersSortingPolicy c : FamilyMembersSortingPolicy.values()) System.out.println(c);