cvj2.app.gui.dialogs
クラス MsgBoxDialog

java.lang.Object
  上位を拡張 org.eclipse.jface.window.Window
      上位を拡張 org.eclipse.jface.dialogs.Dialog
          上位を拡張 cvj2.app.gui.dialogs.MsgBoxDialog
すべての実装されたインタフェース:
IShellProvider

public class MsgBoxDialog
extends Dialog

メッセージボックスを表示するダイアログ


入れ子のクラスの概要
 
クラス org.eclipse.jface.window.Window から継承された入れ子のクラス/インタフェース
Window.IExceptionHandler
 
フィールドの概要
 
クラス org.eclipse.jface.dialogs.Dialog から継承されたフィールド
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
クラス org.eclipse.jface.window.Window から継承されたフィールド
CANCEL, OK
 
コンストラクタの概要
MsgBoxDialog(Shell parentShell, java.lang.String title, int icon, java.lang.String[] buttonNames, char[] shotcutChars, int defaultButtonIndex)
          コンストラクタ
 
メソッドの概要
protected  void buttonPressed(int buttonId)
          ボタンが押された
protected  void createButtonsForButtonBar(Composite parent)
          Create contents of the button bar.
protected  Control createDialogArea(Composite parent)
          Create contents of the dialog.
protected  Point getInitialSize()
          Return the initial size of the dialog.
 int open()
          推奨されていません。 使用禁止
 int showMessage(java.lang.String dispMsg, java.lang.String innerMsg)
          メッセージを表示する
protected  void text_message_mouseMove(MouseEvent e)
          テキストのマウス移動イベントハンドラー (マウスが動かされたら、ツールチップを有効化する)
 
クラス org.eclipse.jface.dialogs.Dialog から継承されたメソッド
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
クラス org.eclipse.jface.window.Window から継承されたメソッド
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MsgBoxDialog

public MsgBoxDialog(Shell parentShell,
                    java.lang.String title,
                    int icon,
                    java.lang.String[] buttonNames,
                    char[] shotcutChars,
                    int defaultButtonIndex)
コンストラクタ

パラメータ:
icon - Display.getSystemImage(int) の引数
関連項目:
SWT.ICON_ERROR, SWT.ICON_INFORMATION, SWT.ICON_QUESTION, SWT.ICON_WARNING, SWT.ICON_WORKING
メソッドの詳細

text_message_mouseMove

protected void text_message_mouseMove(MouseEvent e)
テキストのマウス移動イベントハンドラー (マウスが動かされたら、ツールチップを有効化する)


open

public int open()
推奨されていません。 使用禁止

オーバーライド:
クラス Window 内の open

showMessage

public int showMessage(java.lang.String dispMsg,
                       java.lang.String innerMsg)
メッセージを表示する

戻り値:
押されたボタンのインデックス -1: ボタン以外の方法でダイアログが閉じられた

buttonPressed

protected void buttonPressed(int buttonId)
ボタンが押された

オーバーライド:
クラス Dialog 内の buttonPressed

createDialogArea

protected Control createDialogArea(Composite parent)
Create contents of the dialog.

オーバーライド:
クラス Dialog 内の createDialogArea
パラメータ:
parent -

createButtonsForButtonBar

protected void createButtonsForButtonBar(Composite parent)
Create contents of the button bar.

オーバーライド:
クラス Dialog 内の createButtonsForButtonBar
パラメータ:
parent -

getInitialSize

protected Point getInitialSize()
Return the initial size of the dialog.

オーバーライド:
クラス Dialog 内の getInitialSize