Class Hints.OptionKey

  • Enclosing class:
    Hints

    public static final class Hints.OptionKey
    extends Hints.Key
    Key that allows the choice of several options. You can use "*" as a wild card to indicate that undocumented options may be supported (but there is no assurances - Hints.DATUM_SHIFT_METHOD).
    Since:
    2.4
    Author:
    Jody Garnett
    • Constructor Summary

      Constructors 
      Constructor Description
      OptionKey​(String... alternatives)
      Creates a new key for a configuration option.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Set<String> getOptions()
      Returns the set of available options.
      boolean isCompatibleValue​(Object value)
      Returns true if the specified object is one of the valid options.
      • Methods inherited from class RenderingHints.Key

        equals, hashCode, intKey
      • Methods inherited from class Object

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