|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.print.PrintManager
public abstract class PrintManager
| Field Summary |
|---|
| Fields inherited from interface oracle.ide.controller.Controller |
|---|
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED |
| Constructor Summary | |
|---|---|
PrintManager()
|
|
| Method Summary | |
|---|---|
abstract java.awt.print.Pageable |
createPageableForObject(Context context,
java.lang.Object object)
Creates a Pageable for the given object. |
abstract java.awt.print.Pageable |
createPageableForObject(java.lang.Object object)
Deprecated. use createPageableForObject(Context, 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.controller.Controller |
|---|
handleEvent, update |
| Methods inherited from interface oracle.ide.Addin |
|---|
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)
viewClassString - The fully-qualified name of the view class
to remove from the registry.public abstract java.awt.print.Pageable createPageableForObject(java.lang.Object object)
createPageableForObject(Context, Object)
object - The object to create a Pageable for.
public abstract java.awt.print.Pageable createPageableForObject(Context context,
java.lang.Object object)
context - The IDE contextobject - 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
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||