< prev index next >

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

Print this page




 103    /**
 104      * Gets the printing attribute class which is to be used as the "category"
 105      * for this printing attribute value.
 106      * <P>
 107      * For class DialogTypeSelection the category is class
 108      * DialogTypeSelection itself.
 109      *
 110      * @return  Printing attribute class (category), an instance of class
 111      *          {@link java.lang.Class java.lang.Class}.
 112      */
 113     public final Class<? extends Attribute> getCategory() {
 114         return DialogTypeSelection.class;
 115     }
 116 
 117 
 118     /**
 119      * Gets the name of the category of which this attribute value is an
 120      * instance.
 121      * <P>
 122      * For class DialogTypeSelection the category name is
 123      * <CODE>"dialog-type-selection"</CODE>.
 124      *
 125      * @return  Attribute category name.
 126      */
 127     public final String getName() {
 128         return "dialog-type-selection";
 129     }
 130 
 131 }


 103    /**
 104      * Gets the printing attribute class which is to be used as the "category"
 105      * for this printing attribute value.
 106      * <P>
 107      * For class DialogTypeSelection the category is class
 108      * DialogTypeSelection itself.
 109      *
 110      * @return  Printing attribute class (category), an instance of class
 111      *          {@link java.lang.Class java.lang.Class}.
 112      */
 113     public final Class<? extends Attribute> getCategory() {
 114         return DialogTypeSelection.class;
 115     }
 116 
 117 
 118     /**
 119      * Gets the name of the category of which this attribute value is an
 120      * instance.
 121      * <P>
 122      * For class DialogTypeSelection the category name is
 123      * {@code "dialog-type-selection"}.
 124      *
 125      * @return  Attribute category name.
 126      */
 127     public final String getName() {
 128         return "dialog-type-selection";
 129     }
 130 
 131 }
< prev index next >