Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.awt.Dialog.ModalityType

Packages that use Dialog.ModalityType
Package Description
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of Dialog.ModalityType in java.awt
 

Fields in java.awt declared as Dialog.ModalityType
Modifier and Type Field and Description
static Dialog.ModalityType Dialog.DEFAULT_MODALITY_TYPE
          Default modality type for modal dialogs.
 

Methods in java.awt that return Dialog.ModalityType
Modifier and Type Method and Description
 Dialog.ModalityType Dialog.getModalityType()
          Returns the modality type of this dialog.
static Dialog.ModalityType Dialog.ModalityType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Dialog.ModalityType[] Dialog.ModalityType.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in java.awt with parameters of type Dialog.ModalityType
Modifier and Type Method and Description
abstract  boolean Toolkit.isModalityTypeSupported(Dialog.ModalityType modalityType)
          Returns whether the given modality type is supported by this toolkit.
 void Dialog.setModalityType(Dialog.ModalityType type)
          Sets the modality type for this dialog.
 

Constructors in java.awt with parameters of type Dialog.ModalityType
Constructor and Description
Dialog(Window owner, Dialog.ModalityType modalityType)
          Constructs an initially invisible Dialog with the specified owner Window and modality and an empty title.
Dialog(Window owner, String title, Dialog.ModalityType modalityType)
          Constructs an initially invisible Dialog with the specified owner Window, title and modality.
Dialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
          Constructs an initially invisible Dialog with the specified owner Window, title, modality and GraphicsConfiguration.
 

Uses of Dialog.ModalityType in javax.swing
 

Constructors in javax.swing with parameters of type Dialog.ModalityType
Constructor and Description
JDialog(Window owner, Dialog.ModalityType modalityType)
          Creates a dialog with the specified owner Window, modality and an empty title.
JDialog(Window owner, String title, Dialog.ModalityType modalityType)
          Creates a dialog with the specified title, owner Window and modality.
JDialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
          Creates a dialog with the specified title, owner Window, modality and GraphicsConfiguration.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.