Uses of Interface
javax.print.attribute.AttributeSet
Package
Description
Provides the principal classes and interfaces for the Java Print
Service API.
Provides classes and interfaces that describe the types of Java Print
Service attributes and how they can be collected into attribute sets.
-
Uses of AttributeSet in javax.print
Modifier and TypeMethodDescriptionPrintService.getUnsupportedAttributes
(DocFlavor flavor, AttributeSet attributes) Identifies the attributes that are unsupported for a print request in the context of a particularDocFlavor
.Modifier and TypeMethodDescriptionabstract MultiDocPrintService[]
PrintServiceLookup.getMultiDocPrintServices
(DocFlavor[] flavors, AttributeSet attributes) Not called directly by applications.abstract PrintService[]
PrintServiceLookup.getPrintServices
(DocFlavor flavor, AttributeSet attributes) Locates services that can be positively confirmed to support the combination of attributes andDocFlavors
specified.PrintService.getSupportedAttributeValues
(Class<? extends 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.PrintService.getUnsupportedAttributes
(DocFlavor flavor, AttributeSet attributes) Identifies the attributes that are unsupported for a print request in the context of a particularDocFlavor
.boolean
PrintService.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.static final MultiDocPrintService[]
PrintServiceLookup.lookupMultiDocPrintServices
(DocFlavor[] flavors, AttributeSet attributes) LocatesMultiDoc
printServices
capable of printingMultiDocs
containing all the specified doc flavors.static final PrintService[]
PrintServiceLookup.lookupPrintServices
(DocFlavor flavor, AttributeSet attributes) Locates print services capable of printing the specifiedDocFlavor
. -
Uses of AttributeSet in javax.print.attribute
Modifier and TypeInterfaceDescriptioninterface
InterfaceDocAttributeSet
specifies the interface for a set of doc attributes, i.e. printing attributes that implement interfaceDocAttribute
.interface
InterfacePrintJobAttributeSet
specifies the interface for a set of print job attributes, i.e. printing attributes that implement interfacePrintJobAttribute
.interface
InterfacePrintRequestAttributeSet
specifies the interface for a set of print request attributes, i.e. printing attributes that implement interfacePrintRequestAttribute
.interface
InterfacePrintServiceAttributeSet
specifies the interface for a set of print job attributes, i.e. printing attributes that implement interfacePrintServiceAttribute
.Modifier and TypeClassDescriptionclass
ClassHashAttributeSet
provides anAttributeSet
implementation with characteristics of a hash map.class
ClassHashDocAttributeSet
provides an attribute set which inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfaceDocAttributeSet
.class
ClassHashPrintJobAttributeSet
provides an attribute set which inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfacePrintJobAttributeSet
.class
ClassHashPrintRequestAttributeSet
inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfacePrintRequestAttributeSet
.class
ClassHashPrintServiceAttributeSet
provides an attribute set which inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfacePrintServiceAttributeSet
.Modifier and TypeMethodDescriptionstatic AttributeSet
AttributeSetUtilities.synchronizedView
(AttributeSet attributeSet) Creates a synchronized view of the given attribute set.static AttributeSet
AttributeSetUtilities.unmodifiableView
(AttributeSet attributeSet) Creates an unmodifiable view of the given attribute set.Modifier and TypeMethodDescriptionboolean
AttributeSet.addAll
(AttributeSet attributes) Adds all of the elements in the specified set to this attribute.boolean
DocAttributeSet.addAll
(AttributeSet attributes) Adds all of the elements in the specified set to this attribute.boolean
HashAttributeSet.addAll
(AttributeSet attributes) Adds all of the elements in the specified set to this attribute.boolean
PrintJobAttributeSet.addAll
(AttributeSet attributes) Adds all of the elements in the specified set to this attribute.boolean
PrintRequestAttributeSet.addAll
(AttributeSet attributes) Adds all of the elements in the specified set to this attribute.boolean
PrintServiceAttributeSet.addAll
(AttributeSet attributes) Adds all of the elements in the specified set to this attribute.static AttributeSet
AttributeSetUtilities.synchronizedView
(AttributeSet attributeSet) Creates a synchronized view of the given attribute set.static AttributeSet
AttributeSetUtilities.unmodifiableView
(AttributeSet attributeSet) Creates an unmodifiable view of the given attribute set.ModifierConstructorDescriptionHashAttributeSet
(AttributeSet attributes) Construct a new attribute set, initially populated with the values from the given set.protected
HashAttributeSet
(AttributeSet attributes, Class<?> interfaceName) Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the given interface.