|
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.DocumentPrintFactory
public class DocumentPrintFactory
A base class for handling printing from a view. Some views will extend this class so they can override methods to provide a more view-specific implementation. For example, in the Navigator it's important to override isPrintingEnabled() to only return true if at least one selected element is printable.
| Field Summary | |
|---|---|
protected java.awt.print.Pageable |
_pageable
|
protected PrintManager |
_printManager
|
| Constructor Summary | |
|---|---|
DocumentPrintFactory()
|
|
| Method Summary | |
|---|---|
void |
create(Context context)
The method that will be called by the PrintManager in response to the the print command. |
boolean |
isPrintingEnabled(Context context)
This method will be called by the PrintManager to determine if the File->Print menu option should be enabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PrintManager _printManager
protected java.awt.print.Pageable _pageable
| Constructor Detail |
|---|
public DocumentPrintFactory()
| Method Detail |
|---|
public void create(Context context)
public boolean isPrintingEnabled(Context context)
|
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 | |||||||||