|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.print.PrintManager
Constructor Summary | |
PrintManager()
|
Method Summary | |
abstract java.awt.print.Pageable |
createPageableForObject(java.lang.Object object)
Creates a Pageable for the given object. |
abstract java.awt.print.PageFormat |
getPageFormat()
This method gets the PageFormat that will be used for printing output. |
static PrintManager |
getPrintManager()
Returns the PrintManager instance that is active in the IDE. |
abstract boolean |
registerDocumentPrintFactory(java.lang.Class viewClass,
java.lang.Class documentPrintFactoryClass)
Registers the DocumentPrintFactory for a given View class. |
abstract void |
setPageable(java.awt.print.Pageable pageable)
setPageable sets the Pageable object to be printed in the PrintManager |
abstract void |
setPageables(java.awt.print.Pageable[] pageables)
setPageables sets the array of Pageable object to be printed in the PrintManager |
abstract void |
setPageFormat(java.awt.print.PageFormat parPageFormat)
Set the PageFormat that should be used for printing output. |
abstract void |
setPrintable(java.awt.print.Printable printable,
java.awt.print.PageFormat pageFormat)
setPrintable sets the Printable object to be printed in the PrintManager |
static void |
setPrintManager(PrintManager printManager)
Publishes the specified PrintManager as the active instance in the IDE. |
abstract void |
unregisterDocumentPrintFactory(java.lang.Class viewClass)
Removes the entry from the DocumentPrintFactory registry for the given view class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.addin.Controller |
handleEvent, update |
Methods inherited from interface oracle.javatools.Module |
initialize |
Constructor Detail |
public PrintManager()
Method Detail |
public static PrintManager getPrintManager()
public static void setPrintManager(PrintManager printManager)
public abstract boolean registerDocumentPrintFactory(java.lang.Class viewClass, java.lang.Class documentPrintFactoryClass)
viewClass
- The view class to add to the registry.documentPrintFactoryClass
- The class that acts as the
DocumentPrintFactory for the view
for the given view.public abstract void unregisterDocumentPrintFactory(java.lang.Class viewClass)
public abstract java.awt.print.Pageable createPageableForObject(java.lang.Object object)
object
- The object to create a Pageable for.public abstract void setPrintable(java.awt.print.Printable printable, java.awt.print.PageFormat pageFormat)
printable
- the object to be printedpageFormat
- the PageFormat to use when printing the objectpublic abstract void setPageable(java.awt.print.Pageable pageable)
pageable
- the object to be printedpublic abstract void setPageables(java.awt.print.Pageable[] pageables)
pageables
- the array of objects to be printedpublic abstract java.awt.print.PageFormat getPageFormat()
public abstract void setPageFormat(java.awt.print.PageFormat parPageFormat)
parPageFormat
- a value of type PageFormat
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.