Class Hints.IntegerKey

  • Enclosing class:

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

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

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

        equals, hashCode, intKey
      • Methods inherited from class Object

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