|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to allow applications to provide greater control over how their information gets printed during a print screen operation.
Currently the library only allows for overriding the text information from the screen.
Field Summary | |
static int |
HTML
File type for printing text information to a file with HTML formatting tags. |
static int |
UNFORMATTED
File type for printing text information to a file with no formatting tags. |
static int |
XML
File type for printing text information to a file with XML formatting tags. |
Method Summary | |
boolean |
isPrintScreenTextAvailable(int type)
Returns true if the object overrides the print type indicated. |
java.lang.String |
printScreenText(int type)
Returns the text to include in a document when printing this object. |
Field Detail |
public static final int UNFORMATTED
public static final int HTML
public static final int XML
Method Detail |
public boolean isPrintScreenTextAvailable(int type)
type
- One of: UNFORMATTED
,
HTML
, XML
public java.lang.String printScreenText(int type)
type
- One of: UNFORMATTED
,
HTML
, XML
java.lang.IllegalArgumentException
- if the type is not supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |