| org.apache.harmony.x.print.PrintClient
All known Subclasses: org.apache.harmony.x.print.cups.CUPSClient, org.apache.harmony.x.print.GDIClient,
PrintClient | public interface PrintClient (Code) | | |
getDefaultAttributeValue | public Object getDefaultAttributeValue(Class category)(Code) | | Retrieves default value of print request attribute
supported by client.
Parameters: category - category of print request attribute. instance of print request attribute of specifiedcategory, which describes its default value. |
getSupportedAttributeCategories | public Class[] getSupportedAttributeCategories()(Code) | | Retrieves categories of print request attributes
supported by client.
an array of print request attribute categories. |
getSupportedAttributeValues | public Object getSupportedAttributeValues(Class category, DocFlavor flavor, AttributeSet attributes)(Code) | | Retrieves all supported print request attribute values of
specified category in combination with specified doc's
flavor and set of print request attributes.
Parameters: category - category for which values should bereturned. Parameters: flavor - flavor of document, for which check shouldbe performed. Parameters: attributes - set of doc's print request attributes. |
getSupportedDocFlavors | public DocFlavor[] getSupportedDocFlavors()(Code) | | Retrieves a list of doc flavors which are supported by
particular client.
an array of DocFlavor instances. |
isAttributeValueSupported | boolean isAttributeValueSupported(Attribute attribute, DocFlavor flavor, AttributeSet attributes)(Code) | | Checks whether print request attribute value is supported
by client in combination with doc's flavor and set of
other attributes.
Parameters: attribute - print request attribute to check. Parameters: flavor - flavor of document, for which check shouldbe performed. Parameters: attributes - set of doc's print request attributes. true if attribute value is supported, and otherwisefalse. |
|
|