FontConverter.FontWeightConverter (JavaFX 25)
Description: declaration: module: javafx.graphics, package: javafx.css.converter, class: FontConverter, class: FontWeightConverter

# 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 StyleConverter

  `StyleConverter.StringStore`

- ## Method Summary

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

  ### Methods declared in class StyleConverter

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

  ### Methods declared in class 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