| 
 | Préférences Moteurs de recherche | |||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0 
javax.print.attribute.standard
 | ||||||||||||||||||
| Constructor Summary | |
|---|---|
| protected  | Media(int value)Constructs a new media attribute specified by name. | 
| Method Summary | |
|---|---|
|  boolean | equals(Object object)Returns whether this media attribute is equivalent to the passed in object. | 
|  Class<? extends Attribute> | getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value. | 
|  String | getName()Get the name of the category of which this attribute value is an instance. | 
| Methods inherited from class javax.print.attribute.EnumSyntax | 
|---|
| clone, getEnumValueTable, getOffset, getStringTable, getValue, hashCode, readResolve, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
protected Media(int value)
value - a value| Method Detail | 
|---|
public boolean equals(Object object)
object is not null.
 object is of the same subclass of Media as this object.
 
object - Object to compare to.
object is equivalent to this media 
          attribute, false otherwise.Object.hashCode(), 
Hashtablepublic final Class<? extends Attribute> getCategory()
For class Media and any vendor-defined subclasses, the category is class Media itself.
getCategory in interface Attributejava.lang.Class.public final String getName()
 For class Media and any vendor-defined subclasses, the category name is 
 "media".