Class AlternateMedia

  • All Implemented Interfaces:
    java.io.Serializable, javax.print.attribute.Attribute, javax.print.attribute.PrintRequestAttribute

    public class AlternateMedia
    extends java.lang.Object
    implements javax.print.attribute.PrintRequestAttribute
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AlternateMedia​(javax.print.attribute.standard.Media altMedia)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()  
      javax.print.attribute.standard.Media getMedia()  
      java.lang.String getName()  
      int hashCode()
      Returns a hash code value for this enumeration value.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AlternateMedia

        public AlternateMedia​(javax.print.attribute.standard.Media altMedia)
    • Method Detail

      • getMedia

        public javax.print.attribute.standard.Media getMedia()
      • getCategory

        public final java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
        Specified by:
        getCategory in interface javax.print.attribute.Attribute
      • getName

        public final java.lang.String getName()
        Specified by:
        getName in interface javax.print.attribute.Attribute
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Returns a hash code value for this enumeration value. The hash code is just this enumeration value's integer value.
        Overrides:
        hashCode in class java.lang.Object