public final class

DialogOwner

extends Object
implements PrintRequestAttribute
java.lang.Object
   ↳ sun.print.DialogOwner

Class Overview

Class DialogOwner is a printing attribute class that identifies the window that owns the print dialog.

IPP Compatibility: This is not an IPP attribute.

Summary

Public Constructors
DialogOwner(Frame frame)
Construct a new dialog type selection enumeration value with the given integer value.
Public Methods
final Class getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value.
final String getName()
Get the name of the category of which this attribute value is an instance.
Frame getOwner()
Returns the string table for class DialogOwner.
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.print.attribute.Attribute

Public Constructors

public DialogOwner (Frame frame)

Construct a new dialog type selection enumeration value with the given integer value.

Public Methods

public final Class getCategory ()

Get the printing attribute class which is to be used as the "category" for this printing attribute value.

For class DialogOwner the category is class DialogOwner itself.

Returns
  • Printing attribute class (category), an instance of class java.lang.Class.

public final String getName ()

Get the name of the category of which this attribute value is an instance.

For class DialogOwner the category name is "dialog-owner".

Returns
  • Attribute category name.

public Frame getOwner ()

Returns the string table for class DialogOwner.