Uses of Interface
javax.print.attribute.Attribute
-
Packages that use Attribute Package Description javax.print Provides the principal classes and interfaces for the Java™ Print Service API.javax.print.attribute Provides classes and interfaces that describe the types of Java™ Print Service attributes and how they can be collected into attribute sets.javax.print.attribute.standard Package javax.print.attribute.standard contains classes for specific printing attributes. -
-
Uses of Attribute in javax.print
Methods in javax.print that return Attribute Modifier and Type Method Description Attribute[]AttributeException. 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, or null if there are no such attribute values.Methods in javax.print with parameters of type Attribute Modifier and Type Method Description booleanPrintService. 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 Attribute Modifier and Type Method Description ObjectPrintService. getDefaultAttributeValue(Class<? extends Attribute> category)Determines this print service's default printing attribute value in the given category.ObjectPrintService. 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.attribute Modifier and Type Interface Description interfaceDocAttributeInterface DocAttribute is a tagging interface which a printing attribute class implements to indicate the attribute denotes a setting for a doc.interfacePrintJobAttributePrintJobAttribute is 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.interfacePrintRequestAttributeInterface PrintRequestAttribute is a tagging interface which a printing attribute class implements to indicate the attribute denotes a requested setting for a print job.interfacePrintServiceAttributeInterface PrintServiceAttribute is 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.interfaceSupportedValuesAttributeInterface SupportedValuesAttribute is 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 Attribute Modifier and Type Method Description AttributeAttributeSet. get(Class<?> category)Returns the attribute value which this attribute set contains in the given attribute category.AttributeHashAttributeSet. get(Class<?> category)Returns the attribute value which this attribute set contains in the given attribute category.Attribute[]AttributeSet. toArray()Returns an array of the attributes contained in this set.Attribute[]HashAttributeSet. toArray()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 Attribute Modifier and Type Method Description Class<? extends Attribute>Attribute. 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 Attribute Modifier and Type Method Description booleanAttributeSet. add(Attribute attribute)Adds 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.booleanDocAttributeSet. add(Attribute attribute)Adds 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).booleanHashAttributeSet. add(Attribute attribute)Adds 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.booleanPrintJobAttributeSet. add(Attribute attribute)Adds 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).booleanPrintRequestAttributeSet. add(Attribute attribute)Adds 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).booleanPrintServiceAttributeSet. add(Attribute attribute)Adds 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.booleanAttributeSet. remove(Attribute attribute)Removes the specified attribute from this attribute set if present.booleanHashAttributeSet. remove(Attribute attribute)Removes 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 Attribute Constructor Description HashAttributeSet(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.HashAttributeSet(Attribute[] attributes, Class<?> interfaceName)Construct a new attribute set, where the members of the attribute set are restricted to the given interface.HashAttributeSet(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 Attribute Modifier and Type Class Description classChromaticityClass Chromaticity is a printing attribute class, an enumeration, that specifies monochrome or color printing.classColorSupportedClass ColorSupported is 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.classCompressionClass Compression is a printing attribute class, an enumeration, that specifies how print data is compressed.classCopiesClass Copies is an integer valued printing attribute class that specifies the number of copies to be printed.classCopiesSupportedClass CopiesSupported is a printing attribute class, a set of integers, that gives the supported values for aCopiesattribute.classDateTimeAtCompletedClass DateTimeAtCompleted is 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).classDateTimeAtCreationClass DateTimeAtCreation is a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job was created.classDateTimeAtProcessingClass DateTimeAtProcessing is a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job first began processing.classDestinationClass Destination is a printing attribute class, a URI, that is used to indicate an alternate destination for the spooled printer formatted data.classDialogTypeSelectionClass DialogTypeSelection is a printing attribute class, an enumeration, that indicates the user dialog type to be used for specifying printing options.classDocumentNameClass DocumentName is a printing attribute class, a text attribute, that specifies the name of a document.classFidelityClass Fidelity is a printing attribute class, an enumeration, that indicates whether total fidelity to client supplied print request attributes is required.classFinishingsClass Finishings is 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.classJobHoldUntilClass JobHoldUntil is 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.classJobImpressionsClass JobImpressions is an integer valued printing attribute class that specifies the total size in number of impressions of the document(s) being submitted.classJobImpressionsCompletedClass JobImpressionsCompleted is an integer valued printing attribute class that specifies the number of impressions completed for the job so far.classJobImpressionsSupportedClass JobImpressionsSupported is a printing attribute class, a set of integers, that gives the supported values for aJobImpressionsattribute.classJobKOctetsClass JobKOctets is 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.classJobKOctetsProcessedClass JobKOctetsProcessed is 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.classJobKOctetsSupportedClass JobKOctetsSupported is a printing attribute class, a set of integers, that gives the supported values for aJobKOctetsattribute.classJobMediaSheetsClass JobMediaSheets is an integer valued printing attribute class that specifies the total number of media sheets to be produced for this job.classJobMediaSheetsCompletedClass JobMediaSheetsCompleted is 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.classJobMediaSheetsSupportedClass JobMediaSheetsSupported is a printing attribute class, a set of integers, that gives the supported values for aJobMediaSheetsattribute.classJobMessageFromOperatorClass JobMessageFromOperator is 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.classJobNameClass JobName is a printing attribute class, a text attribute, that specifies the name of a print job.classJobOriginatingUserNameClass JobOriginatingUserName is a printing attribute class, a text attribute, that contains the name of the end user that submitted the print job.classJobPriorityClass JobPriority is an integer valued printing attribute class that specifies a print job's priority.classJobPrioritySupportedClass JobPrioritySupported is an integer valued printing attribute class that specifies whether a Print Service instance supports theJobPriorityattribute and the number of different job priority levels supported.classJobSheetsClass JobSheets is a printing attribute class, an enumeration, that determines which job start and end sheets, if any, must be printed with a job.classJobStateJobState is a printing attribute class, an enumeration, that identifies the current state of a print job.classJobStateReasonClass JobStateReason is 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.classJobStateReasonsClass JobStateReasons is 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.classMediaClass Media is a printing attribute class that specifies the medium on which to print.classMediaNameClass MediaName is a subclass of Media, a printing attribute class (an enumeration) that specifies the media for a print job as a name.classMediaPrintableAreaClass MediaPrintableArea is a printing attribute used to distinguish the printable and non-printable areas of media.classMediaSizeClass MediaSize is a two-dimensional size valued printing attribute class that indicates the dimensions of the medium in a portrait orientation, with the X dimension running along the bottom edge and the Y dimension running along the left edge.classMediaSizeNameClass MediaSizeName is a subclass of Media.classMediaTrayClass MediaTray is a subclass of Media.classMultipleDocumentHandlingClass MultipleDocumentHandling is 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.classNumberOfDocumentsClass NumberOfDocuments is 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.classNumberOfInterveningJobsClass NumberOfInterveningJobs is 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).classNumberUpClass NumberUp is 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.classNumberUpSupportedClass NumberUpSupported is a printing attribute class, a set of integers, that gives the supported values for aNumberUpattribute.classOrientationRequestedClass OrientationRequested is 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.classOutputDeviceAssignedClass OutputDeviceAssigned is a printing attribute class, a text attribute, that identifies the output device to which the service has assigned this job.classPageRangesClass PageRanges is 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.classPagesPerMinuteClass PagesPerMinute is 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).classPagesPerMinuteColorClass PagesPerMinuteColor is 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).classPDLOverrideSupportedClass PDLOverrideSupported is 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.classPresentationDirectionClass PresentationDirection is 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.classPrinterInfoClass PrinterInfo is a printing attribute class, a text attribute, that provides descriptive information about a printer.classPrinterIsAcceptingJobsClass PrinterIsAcceptingJobs is a printing attribute class, an enumeration, that indicates whether the printer is currently able to accept jobs.classPrinterLocationClass PrinterLocation is a printing attribute class, a text attribute, that identifies the location of the device.classPrinterMakeAndModelClass PrinterMakeAndModel is a printing attribute class, a text attribute, that the make and model of the printer.classPrinterMessageFromOperatorClass PrinterMessageFromOperator is 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.classPrinterMoreInfoClass PrinterMoreInfo is a printing attribute class, a URI, that is used to obtain more information about this specific printer.classPrinterMoreInfoManufacturerClass PrinterMoreInfoManufacturer is a printing attribute class, a URI, that is used to obtain more information about this type of device.classPrinterNameClass PrinterName is a printing attribute class, a text attribute, that specifies the name of a printer.classPrinterResolutionClass PrinterResolution is a printing attribute class that specifies an exact resolution supported by a printer or to be used for a print job.classPrinterStateClass PrinterState is a printing attribute class, an enumeration, that identifies the current state of a printer.classPrinterStateReasonClass PrinterStateReason is 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.classPrinterStateReasonsClass PrinterStateReasons is 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.classPrinterURIClass PrinterURI is a printing attribute class, a URI, that specifies the globally unique name of a printer.classPrintQualityClass PrintQuality is a printing attribute class, an enumeration, that specifies the print quality that the printer uses for the job.classQueuedJobCountClass QueuedJobCount is an integer valued printing attribute that indicates the number of jobs in the printer whoseJobStateis either PENDING, PENDING_HELD, PROCESSING, or PROCESSING_STOPPED.classReferenceUriSchemesSupportedClass ReferenceUriSchemesSupported is 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 a URI location.classRequestingUserNameClass RequestingUserName is a printing attribute class, a text attribute, that specifies the name of the end user that submitted the print job.classSeverityClass Severity is a printing attribute class, an enumeration, that denotes the severity of aPrinterStateReasonattribute.classSheetCollateClass SheetCollate is 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.classSidesClass Sides is 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 Attribute Modifier and Type Method Description Class<? extends Attribute>Chromaticity. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>ColorSupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>Compression. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>Copies. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>CopiesSupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>DateTimeAtCompleted. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>DateTimeAtCreation. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>DateTimeAtProcessing. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>Destination. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>DialogTypeSelection. getCategory()Gets the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>DocumentName. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>Fidelity. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>Finishings. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobHoldUntil. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobImpressions. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobImpressionsCompleted. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobImpressionsSupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobKOctets. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobKOctetsProcessed. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobKOctetsSupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobMediaSheets. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobMediaSheetsCompleted. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobMediaSheetsSupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobMessageFromOperator. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobName. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobOriginatingUserName. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobPriority. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobPrioritySupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobSheets. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobState. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobStateReason. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>JobStateReasons. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>Media. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>MediaPrintableArea. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>MediaSize. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>MultipleDocumentHandling. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>NumberOfDocuments. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>NumberOfInterveningJobs. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>NumberUp. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>NumberUpSupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>OrientationRequested. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>OutputDeviceAssigned. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PageRanges. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PagesPerMinute. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PagesPerMinuteColor. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PDLOverrideSupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PresentationDirection. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterInfo. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterIsAcceptingJobs. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterLocation. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterMakeAndModel. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterMessageFromOperator. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterMoreInfo. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterMoreInfoManufacturer. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterName. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterResolution. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterState. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterStateReason. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterStateReasons. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrinterURI. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>PrintQuality. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>QueuedJobCount. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>ReferenceUriSchemesSupported. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>RequestingUserName. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>Severity. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>SheetCollate. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.Class<? extends Attribute>Sides. getCategory()Get the printing attribute class which is to be used as the "category" for this printing attribute value.
-