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 java.
parameter, it requests that
the dialog be owned by the specified window.
Modifier and Type | Class and Description |
---|---|
private static class |
Modifier and Type | Field and Description |
---|---|
private static DialogOwner. | |
private transient long | |
private Window | owner
The owner of the dialog. |
private static final long | serialVersionUID
Use serialVersionUID from JDK 11 for interoperability. |
Access | Constructor and Description |
---|---|
public | DialogOwner()
Constructs an instance which can be used to request
|
public | DialogOwner(Window
window. owner)Constructs an instance which can be used to request that the
specified |
pack-priv | DialogOwner(long
a native window identifier or handle id)Constructs an instance which requests that the dialog be displayed as if it were a child of a native platform window, specified using its opqaue platform identifier or handle. |
Modifier and Type | Method and Description |
---|---|
public final Class | Returns: printing attribute class (category), an instance of classjava. Implements javax. Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
pack-priv long | Returns: a native platform id.Returns a native platform id or handle, if one was specified, otherwise, zero. |
public final String | getName()
Implements javax. Get the name of the category of which this attribute value is an instance. |
public Window |
accessor | back to summary |
---|---|
private static DialogOwner. |
id | back to summary |
---|---|
private transient long id |
owner | back to summary |
---|---|
private Window owner The owner of the dialog. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Use serialVersionUID from JDK 11 for interoperability. |
DialogOwner | back to summary |
---|---|
public DialogOwner() Constructs an instance which can be used to request
|
DialogOwner | back to summary |
---|---|
public DialogOwner(Window owner) Constructs an instance which can be used to request that the
specified
|
DialogOwner | back to summary |
---|---|
pack-priv DialogOwner(long id) Constructs an instance which requests that the dialog be displayed
as if it were a child of a native platform window, specified
using its opqaue platform identifier or handle.
This is useful mainly for the case where the id represents a window
which may not be an AWT
|
getCategory | back to summary |
---|---|
public final Class Implements javax. Get the printing attribute class which is to be used as the "category" for this printing attribute value.
For class
|
getID | back to summary |
---|---|
pack-priv long getID() Returns a native platform id or handle, if one was specified, otherwise, zero.
|
getName | back to summary |
---|---|
public final String getName() Implements javax. Get the name of the category of which this attribute value is an instance.
For class
|
getOwner | back to summary |
---|---|
public Window getOwner() Returns a
|
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public long |
Accessor | back to summary |
---|---|
private Accessor() |
getOwnerID | back to summary |
---|---|
public long getOwnerID(DialogOwner owner) Implements abstract sun. |