API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute.standard. PrinterName View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      TextSyntax
          PrinterName
Implements
 PrintServiceAttribute
Subclasses
Description
publicfinal class PrinterName
  Class PrinterName is a printing attribute class, a text attribute, that specifies the name of a printer.
See also:   
Constructors
public PrinterName (String printerName, Locale locale)
  Constructs a new printer name attribute with the given name and locale.
Methods
Hide/Show inherited methods
public boolean equals (Object object) [Overrides TextSyntax]
  Returns whether this printer name 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.
public Locale getLocale () [Inherited From TextSyntax]
  Returns this text attribute's text string's natural language (locale).
publicfinal String getName ()
  Get the name of the category of which this attribute value is an instance.
public String getValue () [Inherited From TextSyntax]
  Returns this text attribute's text string.
public int hashCode () [Inherited From TextSyntax]
  Returns a hashcode for this text attribute.
public String toString () [Inherited From TextSyntax]
  Returns a String identifying this text attribute.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar