|
|||||||||
| Home >> All >> javax >> [ print overview ] | PREV NEXT | ||||||||
Uses of Class
javax.print.DocFlavor
| Uses of DocFlavor in javax.print |
| Subclasses of DocFlavor in javax.print | |
static class |
DocFlavor.BYTE_ARRAY
Predefined static DocFlavor objects for document
types which use a byte array for the print data representation. |
static class |
DocFlavor.CHAR_ARRAY
Predefined static DocFlavor objects for document
types which use a char array for the print data representation. |
static class |
DocFlavor.INPUT_STREAM
Predefined static DocFlavor objects for document
types which use an InputStream to retrieve the print data. |
static class |
DocFlavor.READER
Predefined static DocFlavor objects for document
types which use an Reader to retrieve the print data. |
static class |
DocFlavor.SERVICE_FORMATTED
Predefined static DocFlavor objects for document
types which use service formatted print data. |
static class |
DocFlavor.STRING
Predefined static DocFlavor objects for document
types which use a String for the print data representation. |
static class |
DocFlavor.URL
Predefined static DocFlavor objects for document
types which have an URL where to retrieve the print data. |
| Fields in javax.print declared as DocFlavor | |
private DocFlavor |
SimpleDoc.flavor
|
| Methods in javax.print that return DocFlavor | |
abstract DocFlavor[] |
StreamPrintServiceFactory.getSupportedDocFlavors()
Returns the document flavors this factory supports as flavors for the input documents. |
DocFlavor |
SimpleDoc.getDocFlavor()
Returns the flavor of this doc objects print data. |
DocFlavor[] |
PrintService.getSupportedDocFlavors()
Determines and returns an array of all supported document flavors which can be used to supply print data to this print service. |
DocFlavor[] |
FlavorException.getUnsupportedFlavors()
Returns the unsupported document flavors. |
DocFlavor |
Doc.getDocFlavor()
Returns the flavor of this doc objects print data. |
| Methods in javax.print with parameters of type DocFlavor | |
static StreamPrintServiceFactory[] |
StreamPrintServiceFactory.lookupStreamPrintServiceFactories(DocFlavor flavor,
java.lang.String outputMimeType)
Searches for matching factories providing stream print services that support the printing of documents with the given document flavor into the given output mime type. |
static PrintService |
ServiceUI.printDialog(java.awt.GraphicsConfiguration gc,
int x,
int y,
PrintService[] services,
PrintService defaultService,
DocFlavor flavor,
javax.print.attribute.PrintRequestAttributeSet attributes)
Creates a modal graphical printing dialog at the specified location on the screen. |
static PrintService[] |
PrintServiceLookup.lookupPrintServices(DocFlavor flavor,
javax.print.attribute.AttributeSet attributes)
Searches print services capable of printing in the given document flavor which supports the specified printing attributes. |
static MultiDocPrintService[] |
PrintServiceLookup.lookupMultiDocPrintServices(DocFlavor[] flavors,
javax.print.attribute.AttributeSet attributes)
Searches print services capable of multi document printing in all of the given document flavors and supporting the specified printing attributes. |
abstract MultiDocPrintService[] |
PrintServiceLookup.getMultiDocPrintServices(DocFlavor[] flavors,
javax.print.attribute.AttributeSet attributes)
Not to be called directly by applications. |
abstract PrintService[] |
PrintServiceLookup.getPrintServices(DocFlavor flavor,
javax.print.attribute.AttributeSet attributes)
Not to be called directly by applications. |
java.lang.Object |
PrintService.getSupportedAttributeValues(java.lang.Class category,
DocFlavor flavor,
javax.print.attribute.AttributeSet attributes)
Determines and returns all supported attribute values of a given attribute category a client can use when setting up a print job for this print service. |
javax.print.attribute.AttributeSet |
PrintService.getUnsupportedAttributes(DocFlavor flavor,
javax.print.attribute.AttributeSet attributes)
Identifies all the unsupported attributes of the given set of attributes in the context of the specified document flavor. |
boolean |
PrintService.isAttributeValueSupported(javax.print.attribute.Attribute attrval,
DocFlavor flavor,
javax.print.attribute.AttributeSet attributes)
Determines if a given attribute value is supported when creating a print job for this print service. |
boolean |
PrintService.isDocFlavorSupported(DocFlavor flavor)
Determines if a given document flavor is supported or not. |
| Constructors in javax.print with parameters of type DocFlavor | |
SimpleDoc(java.lang.Object printData,
DocFlavor flavor,
javax.print.attribute.DocAttributeSet attributes)
Constructs a SimpleDoc with the specified print data, doc flavor and doc attribute set. |
|
|
|||||||||
| Home >> All >> javax >> [ print overview ] | PREV NEXT | ||||||||