Class VectorHints.Key

  • Enclosing class:
    VectorHints

    public static class VectorHints.Key
    extends java.awt.RenderingHints.Key
    Base type of all keys used along with the VectorHints class to control algorithm and output choices in the vector graphics output.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String description  
    • Constructor Summary

      Constructors 
      Constructor Description
      Key​(int privateKey, java.lang.String description)  
    • Method Summary

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

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

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • description

        private final java.lang.String description
    • Constructor Detail

      • Key

        public Key​(int privateKey,
                   java.lang.String description)
    • Method Detail

      • getIndex

        public int getIndex()
      • isCompatibleValue

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object