< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/Chromaticity.java

Print this page




 128         return myEnumValueTable;
 129     }
 130 
 131     /**
 132      * Get the printing attribute class which is to be used as the "category"
 133      * for this printing attribute value.
 134      * <P>
 135      * For class Chromaticity, the category is the class Chromaticity itself.
 136      *
 137      * @return  Printing attribute class (category), an instance of class
 138      *          {@link java.lang.Class java.lang.Class}.
 139      */
 140     public final Class<? extends Attribute> getCategory() {
 141         return Chromaticity.class;
 142     }
 143 
 144     /**
 145      * Get the name of the category of which this attribute value is an
 146      * instance.
 147      * <P>
 148      * For class Chromaticity, the category name is <CODE>"chromaticity"</CODE>.
 149      *
 150      * @return  Attribute category name.
 151      */
 152         public final String getName() {
 153             return "chromaticity";
 154         }
 155 
 156         }


 128         return myEnumValueTable;
 129     }
 130 
 131     /**
 132      * Get the printing attribute class which is to be used as the "category"
 133      * for this printing attribute value.
 134      * <P>
 135      * For class Chromaticity, the category is the class Chromaticity itself.
 136      *
 137      * @return  Printing attribute class (category), an instance of class
 138      *          {@link java.lang.Class java.lang.Class}.
 139      */
 140     public final Class<? extends Attribute> getCategory() {
 141         return Chromaticity.class;
 142     }
 143 
 144     /**
 145      * Get the name of the category of which this attribute value is an
 146      * instance.
 147      * <P>
 148      * For class Chromaticity, the category name is {@code "chromaticity"}.
 149      *
 150      * @return  Attribute category name.
 151      */
 152         public final String getName() {
 153             return "chromaticity";
 154         }
 155 
 156         }
< prev index next >