Module java.desktop

Class DialogOwner

java.lang.Object
javax.print.attribute.standard.DialogOwner
All Implemented Interfaces:
Serializable, Attribute, PrintRequestAttribute

public final class DialogOwner extends Object implements PrintRequestAttribute
An attribute class used to support requesting a print or page setup dialog be kept displayed on top of all windows or some specific window.

Constructed without any arguments it will request that a print or page setup dialog be configured as if the application directly was to specify java.awt.Window.setAlwaysOnTop(true), subject to permission checks.

Constructed with a Window parameter, it requests that the dialog be owned by the specified window.

Since:
11
See Also: