API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute.standard. Media View Source
Author(s)
Phil Race
Since
Version
Serial
Hierarchy
 Object
      EnumSyntax
          Media
Implements
 DocAttribute
 PrintRequestAttribute
 PrintJobAttribute
Subclasses
Description
publicabstract abstract class Media
  Class Media is a printing attribute class that specifies the medium on which to print.
See also:   
Constructors
protected Media (int value)
  Constructs a new media attribute specified by name.
Methods
Hide/Show inherited methods
public Object clone () [Inherited From EnumSyntax]
Returns a clone of this enumeration value, which to preserve the semantics of enumeration values is the same object as this enumeration value.
public boolean equals (Object object)
  Returns whether this media attribute is equivalent to the passed in object.
publicfinal Class<Attribute> getCategory ()
  Get the printing attribute class which is to be used as the "category" for this printing attribute value.
protected EnumSyntax getEnumValueTable () [Inherited From EnumSyntax]
  Returns the enumeration value table for this enumeration value's enumeration class.
publicfinal String getName ()
  Get the name of the category of which this attribute value is an instance.
protected int getOffset () [Inherited From EnumSyntax]
  Returns the lowest integer value used by this enumeration value's enumeration class.
protected String getStringTable () [Inherited From EnumSyntax]
  Returns the string table for this enumeration value's enumeration class.
public int getValue () [Inherited From EnumSyntax]
  Returns this enumeration value's integer value.
public int hashCode () [Inherited From EnumSyntax]
  Returns a hash code value for this enumeration value.
protected Object readResolve () throws ObjectStreamException [Inherited From EnumSyntax]
  During object input, convert this deserialized enumeration instance to the proper enumeration value defined in the enumeration attribute class.
public String toString () [Inherited From EnumSyntax]
Returns a string value corresponding to this enumeration value.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar