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

Print this page




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


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