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

# Class BooleanConverter

java.lang.Object
javafx.css.StyleConverter<String,Boolean>
javafx.css.converter.BooleanConverter

public final class BooleanConverter extends StyleConverter<String,Boolean>
Converter to convert a `String` to a `Boolean`.

Since:
  9

- ## Nested Class Summary

  ### Nested classes/interfaces declared in class StyleConverter

  `StyleConverter.StringStore`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static StyleConverter<String,Boolean>`
  `getInstance()`
  Get the `BooleanConverter` 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 StyleConverter<String,Boolean> getInstance()
    Get the `BooleanConverter` instance.
    Returns:
      the `BooleanConverter` instance