< prev index next >

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

Print this page




 205         return myEnumValueTable;
 206     }
 207 
 208     /**
 209      * Get the printing attribute class which is to be used as the "category"
 210      * for this printing attribute value.
 211      * <P>
 212      * For class SheetCollate, the category is class SheetCollate itself.
 213      *
 214      * @return  Printing attribute class (category), an instance of class
 215      *          {@link java.lang.Class java.lang.Class}.
 216      */
 217     public final Class<? extends Attribute> getCategory() {
 218         return SheetCollate.class;
 219     }
 220 
 221     /**
 222      * Get the name of the category of which this attribute value is an
 223      * instance.
 224      * <P>
 225      * For class SheetCollate, the category name is <CODE>"sheet-collate"</CODE>.
 226      *
 227      * @return  Attribute category name.
 228      */
 229     public final String getName() {
 230         return "sheet-collate";
 231     }
 232 
 233 }


 205         return myEnumValueTable;
 206     }
 207 
 208     /**
 209      * Get the printing attribute class which is to be used as the "category"
 210      * for this printing attribute value.
 211      * <P>
 212      * For class SheetCollate, the category is class SheetCollate itself.
 213      *
 214      * @return  Printing attribute class (category), an instance of class
 215      *          {@link java.lang.Class java.lang.Class}.
 216      */
 217     public final Class<? extends Attribute> getCategory() {
 218         return SheetCollate.class;
 219     }
 220 
 221     /**
 222      * Get the name of the category of which this attribute value is an
 223      * instance.
 224      * <P>
 225      * For class SheetCollate, the category name is {@code "sheet-collate"}.
 226      *
 227      * @return  Attribute category name.
 228      */
 229     public final String getName() {
 230         return "sheet-collate";
 231     }
 232 
 233 }
< prev index next >