- java.lang.Object
-
- java.lang.Enum<PersonUtils.Attrib>
-
- com.iamsoft.util.ui.javafx.test.PersonUtils.Attrib
-
- All Implemented Interfaces:
Serializable
,Comparable<PersonUtils.Attrib>
- Enclosing class:
- PersonUtils
public static enum PersonUtils.Attrib extends Enum<PersonUtils.Attrib>
Person attribute types.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
configureTableColumn(javafx.scene.control.TableColumn<Person,?> pColumn)
javafx.util.Callback<javafx.scene.control.TableColumn.CellDataFeatures<Person,?>,javafx.beans.value.ObservableValue<?>>
getCellValueFactory()
Comparator
getComparator()
String
getFriendlyName()
Human-friendly label.abstract Function<Person,? extends javafx.beans.property.Property<?>>
getFunction()
String
getKey()
Unique identifier.int
getMnemonic()
Mnemonic to be used by getFriendlyName() in labels.Class<?>
getType()
javafx.scene.control.TableColumn<Person,?>
makeTableColumn()
static PersonUtils.Attrib
valueOf(String name)
Returns the enum constant of this type with the specified name.static PersonUtils.Attrib[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST_NAME
public static final PersonUtils.Attrib FIRST_NAME
-
LAST_NAME
public static final PersonUtils.Attrib LAST_NAME
-
EMAIL
public static final PersonUtils.Attrib EMAIL
-
IQ
public static final PersonUtils.Attrib IQ
-
BALANCE
public static final PersonUtils.Attrib BALANCE
-
BIRTHDAY
public static final PersonUtils.Attrib BIRTHDAY
-
EVIL
public static final PersonUtils.Attrib EVIL
-
-
Method Detail
-
values
public static PersonUtils.Attrib[] 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 (PersonUtils.Attrib c : PersonUtils.Attrib.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersonUtils.Attrib 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
-
getKey
public String getKey()
Unique identifier.
-
getFriendlyName
public String getFriendlyName()
Human-friendly label.
-
getType
public Class<?> getType()
-
getComparator
public Comparator getComparator()
-
getCellValueFactory
public javafx.util.Callback<javafx.scene.control.TableColumn.CellDataFeatures<Person,?>,javafx.beans.value.ObservableValue<?>> getCellValueFactory()
-
getMnemonic
public int getMnemonic()
Mnemonic to be used by getFriendlyName() in labels.
-
getFunction
public abstract Function<Person,? extends javafx.beans.property.Property<?>> getFunction()
-
configureTableColumn
public void configureTableColumn(javafx.scene.control.TableColumn<Person,?> pColumn)
-
makeTableColumn
public javafx.scene.control.TableColumn<Person,?> makeTableColumn()
- See Also:
- Covariant return types in Java enums
-
-