クラス DefaultStandardDialog
java.lang.Object
jp.ne.mki.wedge.pub.client.dialog.DefaultStandardDialog
- すべての実装されたインタフェース:
jp.ne.mki.wedge.run.interfaces.StandardDialog
public class DefaultStandardDialog
extends Object
implements jp.ne.mki.wedge.run.interfaces.StandardDialog
標準的なダイアログ表示機能を提供します。
RunClient実行エンジンや、製品組み込み処理部品などからは、このダイアログを
使用します。
ダイアログの詳細を変更したい場合には、RunClientのconfigの設定にて行うか、
setClassName にて jp.ne.mki.wedge.run.interfaces.StandardDialog
を実装した ダイアログClassを設定します。
- 関連項目:
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明static jp.ne.mki.wedge.run.interfaces.StandardDialog
標準ダイアログ表示クラスを返します。static void
setClassName
(String className) 標準ダイアログ表示クラス名を設定。int
showConfirmDialog
(Component parentComponent, Object message) 確認ダイアログ(Yes/Noオプション)を表示します。int
showConfirmDialog
(Component parentComponent, Object message, int optionType, int messageType) 確認ダイアログを表示します。int
showConfirmDialog
(Component parentComponent, Object message, String title) 確認ダイアログ(Yes/Noオプション)を表示します。int
showConfirmDialog
(Component parentComponent, Object message, String title, int optionType, int messageType) 確認ダイアログを表示します。void
showErrorDialog
(Component parentComponent, Object message) エラーダイアログを表示します。void
showErrorDialog
(Component parentComponent, Object message, String title) エラーダイアログを表示します。void
showErrorDialog
(Component parentComponent, Object message, String title, Throwable th, String className, String physicalName) エラーダイアログを表示します。void
showErrorDialog
(Component parentComponent, Object message, Throwable th, String className, String physicalName) エラーダイアログを表示します。int
showExecutionConfirmDialog
(Component parentComponent, Object message) 実行リストの実行前に確認ダイアログ(Yes/Noオプション)を表示します。void
showExecutionErrorDialog
(Component parentComponent, Object message) 実行リスト異常終了後にエラーダイアログを表示します。void
showExecutionInformationDialog
(Component parentComponent, Object message) 実行リスト正常終了後に情報ダイアログを表示します。void
showInformationDialog
(Component parentComponent, Object message) 情報ダイアログを表示します。void
showInformationDialog
(Component parentComponent, Object message, String title) 情報ダイアログを表示します。int
showOptionDialog
(Component parentComponent, Object message, String title, int optionType, int messageType) 指定されたアイコンを持つダイアログを表示します。int
showOptionDialog
(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) 指定されたアイコンを持つダイアログを表示します。void
showWarningDialog
(Component parentComponent, Object message) 警告ダイアログを表示します。void
showWarningDialog
(Component parentComponent, Object message, String title) 警告ダイアログを表示します。
-
コンストラクタの詳細
-
DefaultStandardDialog
protected DefaultStandardDialog()Don't let anyone else instantiate this class
-
-
メソッドの詳細
-
setClassName
標準ダイアログ表示クラス名を設定。- パラメータ:
className
- 標準ダイアログ表示クラス名
-
getDialog
public static jp.ne.mki.wedge.run.interfaces.StandardDialog getDialog()標準ダイアログ表示クラスを返します。- 戻り値:
- 標準ダイアログ表示クラス
- 例外:
ClassNotFoundException
- 標準ダイアログ表示クラスがクラスパスに存在しないInstantiationException
- 標準ダイアログ表示クラスのインスタンス化に失敗IllegalAccessException
- 標準ダイアログ表示クラスのインスタンス化に失敗
-
showErrorDialog
エラーダイアログを表示します。- 定義:
showErrorDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Object- 例外:
HeadlessException
- 関連項目:
-
showExecutionErrorDialog
public void showExecutionErrorDialog(Component parentComponent, Object message) throws HeadlessException 実行リスト異常終了後にエラーダイアログを表示します。 このメソッドをオーバライドすることにより、実行リスト異常終了時に表示されるメッセージを多国語対応させることが可能になります。- 定義:
showExecutionErrorDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Object- 例外:
HeadlessException
- 関連項目:
-
showErrorDialog
public void showErrorDialog(Component parentComponent, Object message, String title) throws HeadlessException エラーダイアログを表示します。- 定義:
showErrorDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objecttitle
- ダイアログのタイトル文字列- 例外:
HeadlessException
- 関連項目:
-
showErrorDialog
public void showErrorDialog(Component parentComponent, Object message, Throwable th, String className, String physicalName) throws HeadlessException エラーダイアログを表示します。- 定義:
showErrorDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objectth
- エラーの原因となった例外オブジェクトclassName
- エラーが発生したクラス名physicalName
- エラーが発生した処理、またはフレームの物理名- 例外:
HeadlessException
- 関連項目:
-
showErrorDialog
public void showErrorDialog(Component parentComponent, Object message, String title, Throwable th, String className, String physicalName) throws HeadlessException エラーダイアログを表示します。- 定義:
showErrorDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objecttitle
- ダイアログのタイトル文字列th
- エラーの原因となった例外オブジェクトclassName
- エラーが発生したクラス名physicalName
- エラーが発生した処理、またはフレームの物理名- 例外:
HeadlessException
- 関連項目:
-
showWarningDialog
警告ダイアログを表示します。- 定義:
showWarningDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Object- 例外:
HeadlessException
- 関連項目:
-
showWarningDialog
public void showWarningDialog(Component parentComponent, Object message, String title) throws HeadlessException 警告ダイアログを表示します。- 定義:
showWarningDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objecttitle
- ダイアログのタイトル文字列- 例外:
HeadlessException
- 関連項目:
-
showInformationDialog
public void showInformationDialog(Component parentComponent, Object message) throws HeadlessException 情報ダイアログを表示します。- 定義:
showInformationDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Object- 例外:
HeadlessException
- 関連項目:
-
showExecutionInformationDialog
public void showExecutionInformationDialog(Component parentComponent, Object message) throws HeadlessException 実行リスト正常終了後に情報ダイアログを表示します。 このメソッドをオーバライドすることにより、実行リスト正常終了時に表示されるメッセージを多国語対応させることが可能になります。- 定義:
showExecutionInformationDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Object- 例外:
HeadlessException
- 関連項目:
-
showInformationDialog
public void showInformationDialog(Component parentComponent, Object message, String title) throws HeadlessException 情報ダイアログを表示します。- 定義:
showInformationDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objecttitle
- ダイアログのタイトル文字列- 例外:
HeadlessException
- 関連項目:
-
showConfirmDialog
確認ダイアログ(Yes/Noオプション)を表示します。- 定義:
showConfirmDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Object- 戻り値:
- ユーザが選択したオプションを示す整数。
- 例外:
HeadlessException
- 関連項目:
-
showExecutionConfirmDialog
public int showExecutionConfirmDialog(Component parentComponent, Object message) throws HeadlessException 実行リストの実行前に確認ダイアログ(Yes/Noオプション)を表示します。 このメソッドをオーバライドすることにより、実行リスト実行前に表示されるメッセージを多国語対応させることが可能になります。- 定義:
showExecutionConfirmDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Object- 戻り値:
- ユーザが選択したオプションを示す整数。
- 例外:
HeadlessException
- 関連項目:
-
showConfirmDialog
public int showConfirmDialog(Component parentComponent, Object message, String title) throws HeadlessException 確認ダイアログ(Yes/Noオプション)を表示します。- 定義:
showConfirmDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objecttitle
- ダイアログのタイトル文字列- 戻り値:
- ユーザが選択したオプションを示す整数。
- 例外:
HeadlessException
- 関連項目:
-
showConfirmDialog
public int showConfirmDialog(Component parentComponent, Object message, int optionType, int messageType) throws HeadlessException 確認ダイアログを表示します。- 定義:
showConfirmDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する ObjectoptionType
- ダイアログで選択可能なオプションを指示する整数。messageType
- 主にプラグイン可能な Look 入力が無効です: '&' Feel のアイコンを指定するために使用されるメッセージの種類を表す整数。- 戻り値:
- ユーザが選択したオプションを示す整数。
- 例外:
HeadlessException
- 関連項目:
-
showConfirmDialog
public int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) throws HeadlessException 確認ダイアログを表示します。- 定義:
showConfirmDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objecttitle
- ダイアログのタイトル文字列optionType
- ダイアログで選択可能なオプションを指示する整数。messageType
- 主にプラグイン可能な Look 入力が無効です: '&' Feel のアイコンを指定するために使用されるメッセージの種類を表す整数。- 戻り値:
- ユーザが選択したオプションを示す整数。
- 例外:
HeadlessException
- 関連項目:
-
showOptionDialog
public int showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType) throws HeadlessException 指定されたアイコンを持つダイアログを表示します。- 定義:
showOptionDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objecttitle
- ダイアログのタイトル文字列optionType
- ダイアログで選択可能なオプションを指示する整数。messageType
- 主にプラグイン可能な Look 入力が無効です: '&' Feel のアイコンを指定するために使用されるメッセージの種類を表す整数。- 戻り値:
- ユーザが選択したオプションを示す整数。
- 例外:
HeadlessException
- 関連項目:
-
showOptionDialog
public int showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) throws HeadlessException 指定されたアイコンを持つダイアログを表示します。 options パラメータが指定された場合、選択一覧は options に指定された値になります。- 定義:
showOptionDialog
インタフェース内jp.ne.mki.wedge.run.interfaces.StandardDialog
- パラメータ:
parentComponent
- ダイアログを表示する Frame を指定します。null の場合、または parentComponent に Frame がない場合は、デフォルトの Frame が使用されます。message
- 表示する Objecttitle
- ダイアログのタイトル文字列optionType
- ダイアログで選択可能なオプションを指示する整数。messageType
- 主にプラグイン可能な Look 入力が無効です: '&' Feel のアイコンを指定するために使用されるメッセージの種類を表す整数。icon
- ダイアログに表示するアイコンoptions
- ユーザが選択可能な項目を示すオブジェクトの配列。オブジェクトがコンポーネントの場合は適切に描画される。String 以外のオブジェクトは toString メソッドを使用して描画される。このパラメータが null の場合、オプションは Look 入力が無効です: '&' Feel で決まるinitialValue
- ダイアログのデフォルト選択を示すオブジェクト。options が使用される場合にだけ意味を持つ。null の場合もある- 戻り値:
- ユーザが選択したオプションを示す整数。
- 例外:
HeadlessException
-