Uses of Class
javax.print.DocFlavor
-
Packages that use DocFlavor 软件包 描述 javax.print 提供Java®打印服务API的主要类和接口。 -
-
Uses of DocFlavor in javax.print
Subclasses of DocFlavor in javax.print Modifier and Type Class 描述 static classDocFlavor.BYTE_ARRAYDocFlavor.BYTE_ARRAY类提供了预定义的静态常量DocFlavor对象,例如使用字节数组(byte[])作为打印数据表示类的doc风格。static classDocFlavor.CHAR_ARRAYDocFlavor.CHAR_ARRAY类提供了预定义的静态常量DocFlavor对象,例如使用字符数组(char[])作为打印数据表示类的doc风格。static classDocFlavor.INPUT_STREAMDocFlavor.INPUT_STREAM类提供了预定义的静态常量DocFlavor对象,例如使用字节流(java.io.InputStream)作为打印数据表示类的doc风格。static classDocFlavor.READERDocFlavor.READER类提供了预定义的静态常量DocFlavor对象,例如使用字符流(java.io.Reader)作为打印数据表示类的doc风格。static classDocFlavor.SERVICE_FORMATTEDDocFlavor.SERVICE_FORMATTED类提供了预定义的静态常量DocFlavor对象,例如用于服务格式化打印数据的doc风格。static classDocFlavor.STRINGDocFlavor.STRING类提供了预定义的静态常量DocFlavor对象,例如使用字符串(java.lang.String)作为打印数据表示类的doc风格。static classDocFlavor.URLDocFlavor.URL类提供了预定义的静态常量DocFlavor对象。Methods in javax.print that return DocFlavor Modifier and Type 方法 描述 DocFlavorDoc. getDocFlavor()确定此文档对象将提供其打印数据的文档风格。DocFlavorSimpleDoc. getDocFlavor()确定此文档对象将提供其打印数据的文档风格。DocFlavor[]PrintService. getSupportedDocFlavors()确定在为此PrintService设置作业时客户端可以指定的打印数据格式。abstract DocFlavor[]StreamPrintServiceFactory. getSupportedDocFlavors()查询工厂的文件风味,可以从本厂获得的打印机接受。DocFlavor[]FlavorException. getUnsupportedFlavors()返回不支持的风格。Methods in javax.print with parameters of type DocFlavor Modifier and Type 方法 描述 abstract MultiDocPrintService[]PrintServiceLookup. getMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)不被应用程序直接调用abstract PrintService[]PrintServiceLookup. getPrintServices(DocFlavor flavor, AttributeSet attributes)找到可以肯定确认的服务,以支持指定的属性和DocFlavors的组合。ObjectPrintService. getSupportedAttributeValues(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes)确定为此打印服务设置作业时客户端可以在给定类别中指定的打印属性值。AttributeSetPrintService. getUnsupportedAttributes(DocFlavor flavor, AttributeSet attributes)在特定DocFlavor的上下文中标识不支持打印请求的属性。booleanPrintService. isAttributeValueSupported(Attribute attrval, DocFlavor flavor, AttributeSet attributes)确定在为此打印服务设置作业时,客户端是否可以指定给定的打印属性值。booleanPrintService. isDocFlavorSupported(DocFlavor flavor)确定此打印服务是否支持特定的DocFlavor。static MultiDocPrintService[]PrintServiceLookup. lookupMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)找到能够打印包含所有指定文档风格的MultiDoc的MultiDoc打印服务。static PrintService[]PrintServiceLookup. lookupPrintServices(DocFlavor flavor, AttributeSet attributes)找到能打印指定的打印服务DocFlavor。static StreamPrintServiceFactory[]StreamPrintServiceFactory. lookupStreamPrintServiceFactories(DocFlavor flavor, String outputMimeType)找到可与打印作业一起使用的打印服务的工厂,以outputMimeType指定的格式输出数据流。static PrintServiceServiceUI. printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)向用户呈现一个对话框,用于选择打印服务(打印机)。Constructors in javax.print with parameters of type DocFlavor Constructor 描述 SimpleDoc(Object printData, DocFlavor flavor, DocAttributeSet attributes)构造一个SimpleDoc具有指定的打印数据,doc flavor和doc属性集。
-