Class Hints.DoubleKey

  • Enclosing class:

    public static final class Hints.DoubleKey
    extends Hints.Key
    A hint used to capture a configuration setting as double. A default value is provided and may be checked with getDefault().
    Jody Garnett
    • Constructor Summary

      Constructor Description
      DoubleKey​(double number)
      Creates a new key with the specified default value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getDefault()
      Returns the default value.
      boolean isCompatibleValue​(Object value)
      Returns true if the specified object is a valid integer.
      double toValue​(Hints hints)
      Returns the value from the specified hints as a double.
      • Methods inherited from class RenderingHints.Key

        equals, hashCode, intKey
      • Methods inherited from class Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait