Uses of Class
java.lang.Enum
-
Packages that use Enum Package Description java.lang Provides classes that are fundamental to the design of the Java programming language.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.javafx.css Provides API for making properties styleable via CSS and for supporting pseudo-class state.javafx.css.converter Provides variousStyleConverter
classes that convert CSS parsed values. -
-
Uses of Enum in java.lang
Classes in java.lang with type parameters of type Enum Modifier and Type Class Description class
Enum<E extends Enum<E>>
This is the common base class of all Java language enumeration types.Methods in java.lang with type parameters of type Enum Modifier and Type Method Description static <T extends Enum<T>>
TEnum. valueOf(Class<T> enumType, String name)
Returns the enum constant of the specified enum type with the specified name.Methods in java.lang that return types with arguments of type Enum Modifier and Type Method Description Class<? extends Enum>
EnumConstantNotPresentException. enumType()
Returns the type of the missing enum constant.Constructor parameters in java.lang with type arguments of type Enum Constructor Description EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName)
Constructs anEnumConstantNotPresentException
for the specified constant. -
Uses of Enum in java.util
Classes in java.util with type parameters of type Enum Modifier and Type Class Description class
EnumMap<K extends Enum<K>,V>
A specializedMap
implementation for use with enum type keys.class
EnumSet<E extends Enum<E>>
A specializedSet
implementation for use with enum types.Methods in java.util with type parameters of type Enum Modifier and Type Method Description static <E extends Enum<E>>
EnumSet<E>EnumSet. allOf(Class<E> elementType)
Creates an enum set containing all of the elements in the specified element type.static <E extends Enum<E>>
EnumSet<E>EnumSet. complementOf(EnumSet<E> s)
Creates an enum set with the same element type as the specified enum set, initially containing all the elements of this type that are not contained in the specified set.static <E extends Enum<E>>
EnumSet<E>EnumSet. copyOf(Collection<E> c)
Creates an enum set initialized from the specified collection.static <E extends Enum<E>>
EnumSet<E>EnumSet. copyOf(EnumSet<E> s)
Creates an enum set with the same element type as the specified enum set, initially containing the same elements (if any).static <E extends Enum<E>>
EnumSet<E>EnumSet. noneOf(Class<E> elementType)
Creates an empty enum set with the specified element type.static <E extends Enum<E>>
EnumSet<E>EnumSet. of(E e)
Creates an enum set initially containing the specified element.static <E extends Enum<E>>
EnumSet<E>EnumSet. of(E e1, E e2)
Creates an enum set initially containing the specified elements.static <E extends Enum<E>>
EnumSet<E>EnumSet. of(E first, E... rest)
Creates an enum set initially containing the specified elements.static <E extends Enum<E>>
EnumSet<E>EnumSet. of(E e1, E e2, E e3)
Creates an enum set initially containing the specified elements.static <E extends Enum<E>>
EnumSet<E>EnumSet. of(E e1, E e2, E e3, E e4)
Creates an enum set initially containing the specified elements.static <E extends Enum<E>>
EnumSet<E>EnumSet. of(E e1, E e2, E e3, E e4, E e5)
Creates an enum set initially containing the specified elements.static <E extends Enum<E>>
EnumSet<E>EnumSet. range(E from, E to)
Creates an enum set initially containing all of the elements in the range defined by the two specified endpoints.Methods in java.util with parameters of type Enum Modifier and Type Method Description static <E extends Enum<E>>
EnumSet<E>EnumSet. of(E first, E... rest)
Creates an enum set initially containing the specified elements. -
Uses of Enum in javafx.css
Methods in javafx.css with type parameters of type Enum Modifier and Type Method Description <E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function)
Create a CssMetaData<S, Enum> with initial value of null, and inherit flag defaulting to false.<E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function, E initialValue)
Create a CssMetaData<S, Enum> with initial value, and inherit flag defaulting to false.<E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function, E initialValue, boolean inherits)
Create a CssMetaData<S, Enum> with initial value, and inherit flag.<E extends Enum<E>>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEffectProperty(S styleable, String propertyName, String cssProperty, Class<E> enumClass)
Create a StyleableProperty<E extends Enum<E>> using previously created CssMetaData for the givencssProperty
.<E extends Enum<E>>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEnumProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function, Class<E> enumClass)
Create a StyleableProperty<E extends Enum<E>>.<E extends Enum<E>>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEnumProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function, Class<E> enumClass, E initialValue)
Create a StyleableProperty<E extends Enum<E>> with initial value.<E extends Enum<E>>
StyleableProperty<E>StyleablePropertyFactory. createStyleableEnumProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<E>> function, Class<E> enumClass, E initialValue, boolean inherits)
Create a StyleableProperty<E extends Enum<E>> with initial value and inherit flag.static <E extends Enum<E>>
StyleConverter<String,? extends Enum<?>>StyleConverter. getEnumConverter(Class<E> enumClass)
Return aStyleConverter
that converts a String representation of anEnum
to anEnum
.Methods in javafx.css that return types with arguments of type Enum Modifier and Type Method Description static <E extends Enum<E>>
StyleConverter<String,? extends Enum<?>>StyleConverter. getEnumConverter(Class<E> enumClass)
Return aStyleConverter
that converts a String representation of anEnum
to anEnum
.Method parameters in javafx.css with type arguments of type Enum Modifier and Type Method Description <E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function)
Create a CssMetaData<S, Enum> with initial value of null, and inherit flag defaulting to false.<E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function, E initialValue)
Create a CssMetaData<S, Enum> with initial value, and inherit flag defaulting to false.<E extends Enum<E>>
CssMetaData<S,E>StyleablePropertyFactory. createEnumCssMetaData(Class<? extends Enum> enumClass, String property, Function<S,StyleableProperty<E>> function, E initialValue, boolean inherits)
Create a CssMetaData<S, Enum> with initial value, and inherit flag. -
Uses of Enum in javafx.css.converter
Classes in javafx.css.converter with type parameters of type Enum Modifier and Type Class Description class
EnumConverter<E extends Enum<E>>
-