Module javafx.graphics
Package javafx.css.converter

# Class FontConverter.FontWeightConverter

java.lang.Object
javafx.css.StyleConverter<String,FontWeight>
javafx.css.converter.FontConverter.FontWeightConverter

Enclosing class:
  `FontConverter`

public static final class FontConverter.FontWeightConverter extends StyleConverter<String,FontWeight>
Converter to convert a `String` value to a `FontWeight` object.

Since:
  9

- ## Nested Class Summary

  ## Nested classes/interfaces declared in class javafx.css.StyleConverter

  `StyleConverter.StringStore`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static FontConverter.FontWeightConverter`
  `getInstance()`
  Gets the `FontWeightConverter` instance.

  ### Methods declared in class javafx.css.StyleConverter

  `cacheValue, clearCache, convert, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary`

  ### Methods declared in class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getInstance

    public static FontConverter.FontWeightConverter getInstance()
    Gets the `FontWeightConverter` instance.
    Returns:
      the `FontWeightConverter` instance