public final class EnumConverter<E extends Enum<E>> extends StyleConverter<String,E>
- Since:
 - 9
 
- 
Nested Class Summary
 - 
Constructor Summary
Constructors Constructor Description EnumConverter(Class<E> enumClass) - 
Method Summary
Modifier and Type Method Description Econvert(ParsedValue<String,E> value, Font not_used)Convert from the parsed CSS value to the target property type.booleanequals(Object other)static StyleConverter<?,?>getInstance(String ename)inthashCode()static StyleConverter<?,?>readBinary(DataInputStream is, String[] strings)StringtoString()voidwriteBinary(DataOutputStream os, StyleConverter.StringStore sstore)Write binary data.Methods inherited from class javafx.css.StyleConverter
cacheValue, clearCache, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter 
- 
Constructor Details
 - 
Method Details
- 
convert
Description copied from class:StyleConverterConvert from the parsed CSS value to the target property type.- Overrides:
 convertin classStyleConverter<String,E extends Enum<E>>- Parameters:
 value- TheParsedValueto convertnot_used- TheFontto use when converting a relative value.- Returns:
 - the converted target property type
 
 - 
writeBinary
Description copied from class:StyleConverterWrite binary data.- Overrides:
 writeBinaryin classStyleConverter<String,E extends Enum<E>>- Parameters:
 os- the data output streamsstore- the string store- Throws:
 IOException- the exception
 - 
readBinary
public static StyleConverter<?,?> readBinary(DataInputStream is, String[] strings) throws IOException- Throws:
 IOException
 - 
getInstance
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -