APIdia Launch Partner
Top Fields Constructors Methods
sun.print

public abstract Class DocumentPropertiesUI

extends Object
Class Inheritance
Imports
java.awt.Window, java.awt.print.PrinterJob, javax.print.PrintService, .ServiceUIFactory, javax.print.attribute.PrintRequestAttributeSet

Field Summary

Modifier and TypeField and Description
public static final String
DOCPROPERTIESCLASSNAME

Name of (this) abstract class for Document Properties.

public static final int
DOCUMENTPROPERTIES_ROLE

For Win32 doc properties sheet.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract PrintRequestAttributeSet
showDocumentProperties(PrinterJob job, Window owner, PrintService service, PrintRequestAttributeSet aset)

Invokes whatever code is needed to display a native dialog with the specified owner.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DOCPROPERTIESCLASSNAMEback to summary
public static final String DOCPROPERTIESCLASSNAME

Name of (this) abstract class for Document Properties.

DOCUMENTPROPERTIES_ROLEback to summary
public static final int DOCUMENTPROPERTIES_ROLE

For Win32 doc properties sheet.

Constructor Detail

DocumentPropertiesUIback to summary
public DocumentPropertiesUI()

Method Detail

showDocumentPropertiesback to summary
public abstract PrintRequestAttributeSet showDocumentProperties(PrinterJob job, Window owner, PrintService service, PrintRequestAttributeSet aset)

Invokes whatever code is needed to display a native dialog with the specified owner. The owner should be the cross-platform dialog. If the user cancels the dialog the return value is null. A non-null return value is always a new attribute set (or is it?) The cross-platform dialog may need to be updated to reflect the updated properties.