API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print. PrintService View Source
Author(s)
Since
Version
Serial
Hierarchy
 PrintService
Subinterfaces
Description
public interface PrintService
  Interface PrintService is the factory for a DocPrintJob.
See also:   
Methods
Hide/Show inherited methods
public void addPrintServiceAttributeListener (PrintServiceAttributeListener listener)
  Registers a listener for events on this PrintService.
public DocPrintJob createPrintJob ()
  Creates and returns a PrintJob capable of handling data from any of the supported document flavors.
public boolean equals (Object obj)
  Determines if two services are referring to the same underlying service.
public T getAttribute (Class< T> category)
  Gets the value of the single specified service attribute.
public PrintServiceAttributeSet getAttributes ()
  Obtains this print service's set of printer description attributes giving this Print Service's status.
public Object getDefaultAttributeValue (Class<Attribute> category)
  Determines this print service's default printing attribute value in the given category.
public String getName ()
  Returns a String name for this print service which may be used by applications to request a particular print service.
public ServiceUIFactory getServiceUIFactory ()
  Returns a factory for UI components which allow users to interact with the service in various roles.
public Class<Object> getSupportedAttributeCategories ()
  Determines the printing attribute categories a client can specify when setting up a job for this print service.
public Object getSupportedAttributeValues (Class<Attribute> category, DocFlavor flavor, AttributeSet attributes)
  Determines the printing attribute values a client can specify in the given category when setting up a job for this print service.
public DocFlavor getSupportedDocFlavors ()
  Determines the print data formats a client can specify when setting up a job for this PrintService.
public AttributeSet getUnsupportedAttributes (DocFlavor flavor, AttributeSet attributes)
  Identifies the attributes that are unsupported for a print request in the context of a particular DocFlavor.
public int hashCode ()
  This method should be implemented consistently with equals(Object).
public boolean isAttributeCategorySupported (Class<Attribute> category)
  Determines whether a client can specify the given printing attribute category when setting up a job for this print service.
public boolean isAttributeValueSupported (Attribute attrval, DocFlavor flavor, AttributeSet attributes)
  Determines whether a client can specify the given printing attribute value when setting up a job for this Print Service.
public boolean isDocFlavorSupported (DocFlavor flavor)
  Determines if this print service supports a specific DocFlavor.
public void removePrintServiceAttributeListener (PrintServiceAttributeListener listener)
  Removes the print-service listener from this print service.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar