Class SVGRenderingHints.Key

  • Enclosing class:
    SVGRenderingHints

    private static final class SVGRenderingHints.Key
    extends java.awt.RenderingHints.Key
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Key​(int privateKey)
      Construct a key using the indicated private key.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isCompatibleValue​(@Nullable java.lang.Object val)  
      • Methods inherited from class java.awt.RenderingHints.Key

        equals, hashCode, intKey
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Key

        private Key​(int privateKey)
        Construct a key using the indicated private key. Each subclass of Key maintains its own unique domain of integer keys. No two objects with the same integer key and of the same specific subclass can be constructed. An exception will be thrown if an attempt is made to construct another object of a given class with the same integer key as a pre-existing instance of that subclass of Key.
        Parameters:
        privateKey - the specified key
    • Method Detail

      • isCompatibleValue

        public boolean isCompatibleValue​(@Nullable
                                         @Nullable java.lang.Object val)
        Specified by:
        isCompatibleValue in class java.awt.RenderingHints.Key