Uses of Interface
javax.print.attribute.Attribute
Packages that use Attribute
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.
Package
javax.print.attribute.standard contains classes for specific
printing attributes.-
Uses of Attribute in javax.print
Methods in javax.print that return AttributeModifier and TypeMethodDescriptionAttributeException.getUnsupportedValues()Returns the array of printing attributes for which the Print Service instance supports the attribute but does not support that particular value of the attribute, ornullif there are no such attribute values.Methods in javax.print with parameters of type AttributeModifier and TypeMethodDescriptionbooleanPrintService.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.Method parameters in javax.print with type arguments of type AttributeModifier and TypeMethodDescriptionPrintService.getDefaultAttributeValue(Class<? extends Attribute> category) Determines this print service's default printing attribute value in the given category.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.booleanPrintService.isAttributeCategorySupported(Class<? extends Attribute> category) Determines whether a client can specify the given printing attribute category when setting up a job for this print service. -
Uses of Attribute in javax.print.attribute
Subinterfaces of Attribute in javax.print.attributeModifier and TypeInterfaceDescriptioninterfaceInterfaceDocAttributeis a tagging interface which a printing attribute class implements to indicate the attribute denotes a setting for a doc.interfacePrintJobAttributeis a tagging interface which a printing attribute class implements to indicate the attribute describes the status of a Print Job or some other characteristic of a Print Job.interfaceInterfacePrintRequestAttributeis a tagging interface which a printing attribute class implements to indicate the attribute denotes a requested setting for a print job.interfaceInterfacePrintServiceAttributeis a tagging interface which a printing attribute class implements to indicate the attribute describes the status of a Print Service or some other characteristic of a Print Service.interfaceInterfaceSupportedValuesAttributeis a tagging interface which a printing attribute class implements to indicate the attribute describes the supported values for another attribute.Methods in javax.print.attribute that return AttributeModifier and TypeMethodDescriptionReturns the attribute value which this attribute set contains in the given attribute category.Returns the attribute value which this attribute set contains in the given attribute category.AttributeSet.toArray()Returns an array of the attributes contained in this set.HashAttributeSet.toArray()Returns an array of the attributes contained in this set.static AttributeAttributeSetUtilities.verifyAttributeValue(Object object, Class<?> interfaceName) Verify that the given object is an instance of the given interface, which is assumed to be interfaceAttributeor a subinterface thereof.Methods in javax.print.attribute that return types with arguments of type AttributeModifier and TypeMethodDescriptionAttribute.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.Methods in javax.print.attribute with parameters of type AttributeModifier and TypeMethodDescriptionbooleanAdds the specified attribute to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value.booleanAdds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation).booleanAdds the specified attribute to this attribute set if it is not already present, first removing any existing in the same attribute category as the specified attribute value.booleanAdds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation).booleanAdds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation).booleanAdds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation).booleanAttributeSet.containsValue(Attribute attribute) Returnstrueif this attribute set contains the given attribute value.booleanHashAttributeSet.containsValue(Attribute attribute) Returnstrueif this attribute set contains the given attribute.booleanRemoves the specified attribute from this attribute set if present.booleanRemoves the specified attribute from this attribute set if present.static voidAttributeSetUtilities.verifyCategoryForValue(Class<?> category, Attribute attribute) Verify that the given attribute category object is equal to the category of the given attribute value object.Constructors in javax.print.attribute with parameters of type AttributeModifierConstructorDescriptionHashAttributeSet(Attribute attribute) Construct a new attribute set, initially populated with the given attribute.HashAttributeSet(Attribute[] attributes) Construct a new attribute set, initially populated with the values from the given array.protectedHashAttributeSet(Attribute[] attributes, Class<?> interfaceName) Construct a new attribute set, where the members of the attribute set are restricted to the given interface.protectedHashAttributeSet(Attribute attribute, Class<?> interfaceName) Construct a new attribute set, initially populated with the given attribute, where the members of the attribute set are restricted to the given interface. -
Uses of Attribute in javax.print.attribute.standard
Classes in javax.print.attribute.standard that implement AttributeModifier and TypeClassDescriptionfinal classClassChromaticityis a printing attribute class, an enumeration, that specifies monochrome or color printing.final classClassColorSupportedis a printing attribute class, an enumeration, that identifies whether the device is capable of any type of color printing at all, including highlight color as well as full process color.classClassCompressionis a printing attribute class, an enumeration, that specifies how print data is compressed.final classClassCopiesis an integer valued printing attribute class that specifies the number of copies to be printed.final classClassCopiesSupportedis a printing attribute class, a set of integers, that gives the supported values for aCopiesattribute.final classClassDateTimeAtCompletedis a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job completed (or was canceled or aborted).final classClassDateTimeAtCreationis a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job was created.final classClassDateTimeAtProcessingis a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job first began processing.final classClassDestinationis a printing attribute class, aURI, that is used to indicate an alternate destination for the spooled printer formatted data.final classAn attribute class used to support requesting a print or page setup dialog be kept displayed on top of all windows or some specific window.final classClassDialogTypeSelectionis a printing attribute class, an enumeration, that indicates the user dialog type to be used for specifying printing options.final classClassDocumentNameis a printing attribute class, a text attribute, that specifies the name of a document.final classClassFidelityis a printing attribute class, an enumeration, that indicates whether total fidelity to client supplied print request attributes is required.classClassFinishingsis a printing attribute class, an enumeration, that identifies whether the printer applies a finishing operation of some kind of binding to each copy of each printed document in the job.final classClassJobHoldUntilis a printing attribute class, a date-time attribute, that specifies the exact date and time at which the job must become a candidate for printing.final classClassJobImpressionsis an integer valued printing attribute class that specifies the total size in number of impressions of the document(s) being submitted.final classClassJobImpressionsCompletedis an integer valued printing attribute class that specifies the number of impressions completed for the job so far.final classClassJobImpressionsSupportedis a printing attribute class, a set of integers, that gives the supported values for aJobImpressionsattribute.final classClassJobKOctetsis an integer valued printing attribute class that specifies the total size of the document(s) in K octets, i.e., in units of 1024 octets requested to be processed in the job.final classClassJobKOctetsProcessedis an integer valued printing attribute class that specifies the total number of print data octets processed so far in K octets, i.e., in units of 1024 octets.final classClassJobKOctetsSupportedis a printing attribute class, a set of integers, that gives the supported values for aJobKOctetsattribute.classClassJobMediaSheetsis an integer valued printing attribute class that specifies the total number of media sheets to be produced for this job.final classClassJobMediaSheetsCompletedis an integer valued printing attribute class that specifies the number of media sheets which have completed marking and stacking for the entire job so far, whether those sheets have been processed on one side or on both.final classClassJobMediaSheetsSupportedis a printing attribute class, a set of integers, that gives the supported values for aJobMediaSheetsattribute.final classClassJobMessageFromOperatoris a printing attribute class, a text attribute, that provides a message from an operator, system administrator, or "intelligent" process to indicate to the end user the reasons for modification or other management action taken on a job.final classClassJobNameis a printing attribute class, a text attribute, that specifies the name of a print job.final classClassJobOriginatingUserNameis a printing attribute class, a text attribute, that contains the name of the end user that submitted the print job.final classClassJobPriorityis an integer valued printing attribute class that specifies a print job's priority.final classClassJobPrioritySupportedis an integer valued printing attribute class that specifies whether a Print Service instance supports theJobPriorityattribute and the number of different job priority levels supported.classClassJobSheetsis a printing attribute class, an enumeration, that determines which job start and end sheets, if any, must be printed with a job.classJobStateis a printing attribute class, an enumeration, that identifies the current state of a print job.classClassJobStateReasonis a printing attribute class, an enumeration, that provides additional information about the job's current state, i.e., information that augments the value of the job'sJobStateattribute.final classClassJobStateReasonsis a printing attribute class, a set of enumeration values, that provides additional information about the job's current state, i.e., information that augments the value of the job'sJobStateattribute.classClassMediais a printing attribute class that specifies the medium on which to print.classClassMediaNameis a subclass ofMedia, a printing attribute class (an enumeration) that specifies the media for a print job as a name.final classClassMediaPrintableAreais a printing attribute used to distinguish the printable and non-printable areas of media.classClassMediaSizeis a two-dimensional size valued printing attribute class that indicates the dimensions of the medium in a portrait orientation, with theXdimension running along the bottom edge and theYdimension running along the left edge.classClassMediaSizeNameis a subclass ofMedia.classClassMediaTrayis a subclass ofMedia.classClassMultipleDocumentHandlingis a printing attribute class, an enumeration, that controls finishing operations and the placement of one or more print-stream pages into impressions and onto media sheets.final classClassNumberOfDocumentsis an integer valued printing attribute that indicates the number of individual docs the printer has accepted for this job, regardless of whether the docs' print data has reached the printer or not.final classClassNumberOfInterveningJobsis an integer valued printing attribute that indicates the number of jobs that are ahead of this job in the relative chronological order of expected time to complete (i.e., the current scheduled order).final classClassNumberUpis an integer valued printing attribute class that specifies the number of print-stream pages to impose upon a single side of an instance of a selected medium.final classClassNumberUpSupportedis a printing attribute class, a set of integers, that gives the supported values for aNumberUpattribute.final classClassOrientationRequestedis a printing attribute class, an enumeration, that indicates the desired orientation for printed print-stream pages; it does not describe the orientation of the client-supplied print-stream pages.final classClassOutputDeviceAssignedis a printing attribute class, a text attribute, that identifies the output device to which the service has assigned this job.final classClassPageRangesis a printing attribute class, a set of integers, that identifies the range(s) of print-stream pages that the Printer object uses for each copy of each document which are to be printed.final classClassPagesPerMinuteis an integer valued printing attribute that indicates the nominal number of pages per minute to the nearest whole number which may be generated by this printer (e.g., simplex, black-and-white).final classClassPagesPerMinuteColoris an integer valued printing attribute that indicates the nominal number of pages per minute to the nearest whole number which may be generated by this printer when printing color (e.g., simplex, color).classClassPDLOverrideSupportedis a printing attribute class, an enumeration, that expresses the printer's ability to attempt to override processing instructions embedded in documents' print data with processing instructions specified as attributes outside the print data.final classClassPresentationDirectionis a printing attribute class, an enumeration, that is used in conjunction with theNumberUpattribute to indicate the layout of multiple print-stream pages to impose upon a single side of an instance of a selected medium.final classClassPrinterInfois a printing attribute class, a text attribute, that provides descriptive information about a printer.final classClassPrinterIsAcceptingJobsis a printing attribute class, an enumeration, that indicates whether the printer is currently able to accept jobs.final classClassPrinterLocationis a printing attribute class, a text attribute, that identifies the location of the device.final classClassPrinterMakeAndModelis a printing attribute class, a text attribute, that the make and model of the printer.final classClassPrinterMessageFromOperatoris a printing attribute class, a text attribute, that provides a message from an operator, system administrator, or "intelligent" process to indicate to the end user information about or status of the printer, such as why it is unavailable or when it is expected to be available.final classClassPrinterMoreInfois a printing attribute class, aURI, that is used to obtain more information about this specific printer.final classClassPrinterMoreInfoManufactureris a printing attribute class, aURI, that is used to obtain more information about this type of device.final classClassPrinterNameis a printing attribute class, a text attribute, that specifies the name of a printer.final classClassPrinterResolutionis a printing attribute class that specifies an exact resolution supported by a printer or to be used for a print job.final classClassPrinterStateis a printing attribute class, an enumeration, that identifies the current state of a printer.classClassPrinterStateReasonis a printing attribute class, an enumeration, that provides additional information about the printer's current state, i.e., information that augments the value of the printer'sPrinterStateattribute.final classClassPrinterStateReasonsis a printing attribute class, a set of enumeration values, that provides additional information about the printer's current state, i.e., information that augments the value of the printer'sPrinterStateattribute.final classClassPrinterURIis a printing attribute class, aURI, that specifies the globally unique name of a printer.classClassPrintQualityis a printing attribute class, an enumeration, that specifies the print quality that the printer uses for the job.final classClassQueuedJobCountis an integer valued printing attribute that indicates the number of jobs in the printer whoseJobStateis eitherPENDING,PENDING_HELD,PROCESSING, orPROCESSING_STOPPED.classClassReferenceUriSchemesSupportedis a printing attribute class an enumeration, that indicates a "URI scheme," such as "http:" or "ftp:", that a printer can use to retrieve print data stored at aURIlocation.final classClassRequestingUserNameis a printing attribute class, a text attribute, that specifies the name of the end user that submitted the print job.final classClassSeverityis a printing attribute class, an enumeration, that denotes the severity of aPrinterStateReasonattribute.final classClassSheetCollateis a printing attribute class, an enumeration, that specifies whether or not the media sheets of each copy of each printed document in a job are to be in sequence, when multiple copies of the document are specified by theCopiesattribute.final classClassSidesis a printing attribute class, an enumeration, that specifies how print-stream pages are to be imposed upon the sides of an instance of a selected medium, i.e., an impression.Methods in javax.print.attribute.standard that return types with arguments of type AttributeModifier and TypeMethodDescriptionChromaticity.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.ColorSupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Compression.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Copies.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.CopiesSupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.DateTimeAtCompleted.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.DateTimeAtCreation.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.DateTimeAtProcessing.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Destination.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.DialogOwner.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.DialogTypeSelection.getCategory()Gets the printing attribute class which is to be used as the "category" for this printing attribute value.DocumentName.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Fidelity.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Finishings.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobHoldUntil.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobImpressions.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobImpressionsCompleted.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobImpressionsSupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobKOctets.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobKOctetsProcessed.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobKOctetsSupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobMediaSheets.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobMediaSheetsCompleted.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobMediaSheetsSupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobMessageFromOperator.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobName.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobOriginatingUserName.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobPriority.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobPrioritySupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobSheets.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobState.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobStateReason.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.JobStateReasons.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Media.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.MediaPrintableArea.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.MediaSize.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.MultipleDocumentHandling.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.NumberOfDocuments.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.NumberOfInterveningJobs.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.NumberUp.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.NumberUpSupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.OrientationRequested.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.OutputDeviceAssigned.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PageRanges.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PagesPerMinute.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PagesPerMinuteColor.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PDLOverrideSupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PresentationDirection.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterInfo.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterIsAcceptingJobs.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterLocation.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterMakeAndModel.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterMessageFromOperator.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterMoreInfo.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterMoreInfoManufacturer.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterName.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterResolution.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterState.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterStateReason.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterStateReasons.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrinterURI.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.PrintQuality.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.QueuedJobCount.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.ReferenceUriSchemesSupported.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.RequestingUserName.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Severity.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.SheetCollate.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Sides.getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.