< prev index next >

src/java.desktop/share/classes/sun/print/DialogOwner.java

Print this page




  65     /**
  66      * Get the printing attribute class which is to be used as the "category"
  67      * for this printing attribute value.
  68      * <P>
  69      * For class DialogOwner the category is class
  70      * DialogOwner itself.
  71      *
  72      * @return  Printing attribute class (category), an instance of class
  73      *          {@link java.lang.Class java.lang.Class}.
  74      */
  75     public Class<? extends Attribute> getCategory() {
  76         return DialogOwner.class;
  77     }
  78 
  79 
  80     /**
  81      * Get the name of the category of which this attribute value is an
  82      * instance.
  83      * <P>
  84      * For class DialogOwner the category name is
  85      * <CODE>"dialog-owner"</CODE>.
  86      *
  87      * @return  Attribute category name.
  88      */
  89     public String getName() {
  90         return "dialog-owner";
  91     }
  92 
  93 }


  65     /**
  66      * Get the printing attribute class which is to be used as the "category"
  67      * for this printing attribute value.
  68      * <P>
  69      * For class DialogOwner the category is class
  70      * DialogOwner itself.
  71      *
  72      * @return  Printing attribute class (category), an instance of class
  73      *          {@link java.lang.Class java.lang.Class}.
  74      */
  75     public Class<? extends Attribute> getCategory() {
  76         return DialogOwner.class;
  77     }
  78 
  79 
  80     /**
  81      * Get the name of the category of which this attribute value is an
  82      * instance.
  83      * <P>
  84      * For class DialogOwner the category name is
  85      * {@code "dialog-owner"}.
  86      *
  87      * @return  Attribute category name.
  88      */
  89     public String getName() {
  90         return "dialog-owner";
  91     }
  92 
  93 }
< prev index next >