This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.print.attribute
interface Attribute
- All Superinterfaces:
- Serializable
- All Known Subinterfaces:
- DocAttribute, PrintJobAttribute, PrintRequestAttribute, PrintServiceAttribute, SupportedValuesAttribute
- All Known Implementing Classes:
- JobStateReason, MediaName, MediaSize, MediaTray, PrinterStateReason, ReferenceUriSchemesSupported, Severity
public interface Attribute
extends Serializable
Interface Attribute is the base interface implemented by any and every
printing attribute class to indicate that the class represents a
printing attribute. All printing attributes are serializable.
- See Also (auto-generated):
-
PrintServiceLookup
DocFlavor
DocPrintJob
Method Summary |
Class |
Get the printing attribute class which is to be used as the "category"
for this printing attribute value when it is added to an attribute set.
|
String |
Get the name of the category of which this attribute value is an
instance.
|
getCategory
public Class getCategory()
-
Get the printing attribute class which is to be used as the "category"
for this printing attribute value when it is added to an attribute set.
- Returns:
- Printing attribute class (category), an instance of class
{@link java.lang.Class java.lang.Class}.
getName
public String getName()
-
Get the name of the category of which this attribute value is an
instance.
Note: This method is intended to provide a default, nonlocalized
string for the attribute's category. If two attribute objects return the
same category from the getCategory()
method, they should
return the same name from the getName()
method.
- Returns:
- Attribute category name.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.