Java java.awt Dialog fields, constructors, methods, implement or subclass

Example usage for Java java.awt Dialog fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt Dialog.

The text is from its open source code.

Subclass

java.awt.Dialog has subclasses.
Click this link to see all its subclasses.

Implementation

java.awt.Dialog has the following implementations.
Click this link to see all its implementation.

Constructor

Dialog(Frame owner, String title, boolean modal)
Constructs an initially invisible Dialog with the specified owner Frame , title and modality.
Dialog(Dialog owner, String title, boolean modal)
Constructs an initially invisible Dialog with the specified owner Dialog , title, and modality.
Dialog(Window owner, String title, ModalityType modalityType)
Constructs an initially invisible Dialog with the specified owner Window , title and modality.
Dialog(Frame owner, boolean modal)
Constructs an initially invisible Dialog with the specified owner Frame and modality and an empty title.
Dialog(Frame owner, String title)
Constructs an initially invisible, modeless Dialog with the specified owner Frame and title.
Dialog(Dialog owner, String title)
Constructs an initially invisible, modeless Dialog with the specified owner Dialog and title.
Dialog(Window owner, String title)
Constructs an initially invisible, modeless Dialog with the specified owner Window and title.
Dialog(Window owner, ModalityType modalityType)
Constructs an initially invisible Dialog with the specified owner Window and modality and an empty title.

Method

WindowgetOwner()
Returns the owner of this window.
ContainergetParent()
Gets the parent of this component.
DimensiongetSize()
Returns the size of this component in the form of a Dimension object.
booleanisModal()
Indicates whether the dialog is modal.
booleanisResizable()
Indicates whether this dialog is resizable by the user.
booleanisUndecorated()
Indicates whether this dialog is undecorated.
booleanisVisible()
Determines whether this component should be visible when its parent is visible.
voidpack()
Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.
voidsetBounds(int x, int y, int width, int height)

The width or height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

voidsetBounds(Rectangle r)

The r.width or r.height values will be automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

voidsetLocation(int x, int y)

The method changes the geometry-related data.

voidsetModalityType(ModalityType type)
Sets the modality type for this dialog.
voidsetOpacity(float opacity)
voidsetResizable(boolean resizable)
Sets whether this dialog is resizable by the user.
voidsetVisible(boolean b)
Shows or hides this Dialog depending on the value of parameter b .
voidtoFront()
If this Window is visible, brings this Window to the front and may make it the focused Window.