public static class DocFlavor.SERVICE_FORMATTED extends DocFlavor
DocFlavor.BYTE_ARRAY, DocFlavor.CHAR_ARRAY, DocFlavor.INPUT_STREAM, DocFlavor.READER, DocFlavor.SERVICE_FORMATTED, DocFlavor.STRING, DocFlavor.URL
Modifier and Type | Field and Description |
---|---|
static DocFlavor.SERVICE_FORMATTED |
PAGEABLE
服务格式化打印数据doc风格与打印数据表示类名=
"java.awt.print.Pageable" (可分页对象)。
|
static DocFlavor.SERVICE_FORMATTED |
PRINTABLE
服务格式化打印数据doc风格与打印数据表示类名=
"java.awt.print.Printable" (可打印对象)。
|
static DocFlavor.SERVICE_FORMATTED |
RENDERABLE_IMAGE
服务格式化打印数据doc风格与打印数据表示类名=
"java.awt.image.renderable.RenderableImage" (可渲染图像对象)。
|
hostEncoding
Constructor and Description |
---|
SERVICE_FORMATTED(String className)
构造一个新的文档风格,MIME类型为
"application/x-java-jvm-local-objectref" 指示服务格式的打印数据和给定的打印数据表示类名称。
|
equals, getMediaSubtype, getMediaType, getMimeType, getParameter, getRepresentationClassName, hashCode, toString
public static final DocFlavor.SERVICE_FORMATTED RENDERABLE_IMAGE
"java.awt.image.renderable.RenderableImage"
(可渲染图像对象)。
public static final DocFlavor.SERVICE_FORMATTED PRINTABLE
"java.awt.print.Printable"
(可打印对象)。
public static final DocFlavor.SERVICE_FORMATTED PAGEABLE
"java.awt.print.Pageable"
(可分页对象)。
public SERVICE_FORMATTED(String className)
"application/x-java-jvm-local-objectref"
指示服务格式的打印数据和给定的打印数据表示类名称。
className
- 完全限定的代表类名。
NullPointerException
- (未选中的异常)如果
className
为空,则抛出。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.