|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個 下一個 | 框架 無框架 | |||||||||
| 使用 Dialog.ModalityType 的軟體套件 | |
|---|---|
| java.awt | 包含用於創建使用者介面和繪製圖形圖像的全部類別。 |
| javax.swing | 提供一組“輕量級”(全部是 Java 語言)元件,盡量讓這些元件在所有平臺上的工作方式都相同。 |
| java.awt 中 Dialog.ModalityType 的使用 |
|---|
| 宣告為 Dialog.ModalityType 的 java.awt 中的欄位 | |
|---|---|
static Dialog.ModalityType |
Dialog.DEFAULT_MODALITY_TYPE
有網要 dialog 的預設網要型別。 |
| 返回 Dialog.ModalityType 的 java.awt 中的方法 | |
|---|---|
Dialog.ModalityType |
Dialog.getModalityType()
返回此 dialog 的網要型別。 |
static Dialog.ModalityType |
Dialog.ModalityType.valueOf(String name)
返回帶有指定名稱的該型別的列舉常數。 |
static Dialog.ModalityType[] |
Dialog.ModalityType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| 參數型別為 Dialog.ModalityType 的 java.awt 中的方法 | |
|---|---|
abstract boolean |
Toolkit.isModalityTypeSupported(Dialog.ModalityType modalityType)
返回此工具套件是否支持給定的網要型別。 |
void |
Dialog.setModalityType(Dialog.ModalityType type)
設置此 dialog 的網要型別。 |
| 參數型別為 Dialog.ModalityType 的 java.awt 中的建構子 | |
|---|---|
Dialog(Window owner,
Dialog.ModalityType modalityType)
建構一個最初不可見的 Dialog,它帶有指定所有者 Window、網要和一個空標題。 |
|
Dialog(Window owner,
String title,
Dialog.ModalityType modalityType)
建構一個最初不可見的 Dialog,它帶有指定的所有者 Window、標題和網要。 |
|
Dialog(Window owner,
String title,
Dialog.ModalityType modalityType,
GraphicsConfiguration gc)
建構一個最初不可見的 Dialog,它帶有指定的所有者 Window、標題、網要和 GraphicsConfiguration。 |
|
| javax.swing 中 Dialog.ModalityType 的使用 |
|---|
| 參數型別為 Dialog.ModalityType 的 javax.swing 中的建構子 | |
|---|---|
JDialog(Window owner,
Dialog.ModalityType modalityType)
創建一個具有指定所有者 Window、網要和空標題的對話框。 |
|
JDialog(Window owner,
String title,
Dialog.ModalityType modalityType)
創建一個具有指定標題、所有者 Window 和網要的對話框。 |
|
JDialog(Window owner,
String title,
Dialog.ModalityType modalityType,
GraphicsConfiguration gc)
創建一個具有指定標題、所有者 Window、網要和 GraphicsConfiguration 的對話框。 |
|
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個 下一個 | 框架 無框架 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。