com.jfx
Class MessageBoxFlag

java.lang.Object
  extended by com.jfx.MessageBoxFlag

public class MessageBoxFlag
extends java.lang.Object

The MessageBox function flags specify the contents and behavior of the dialog box. This value can be a combination of flags from the following groups of flags. To indicate the buttons displayed in the message box, specify one of the following values.


Field Summary
static int _MB_ABORTRETRYIGNORE
           
static int _MB_CANCELTRYCONTINUE
           
static int _MB_DEFBUTTON2
           
static int _MB_DEFBUTTON3
           
static int _MB_DEFBUTTON4
           
static int _MB_ICONEXCLAMATION
           
static int _MB_ICONINFORMATION
           
static int _MB_ICONQUESTION
           
static int _MB_ICONSTOP
           
static int _MB_OK
           
static int _MB_OKCANCEL
           
static int _MB_RETRYCANCEL
           
static int _MB_YESNO
           
static int _MB_YESNOCANCEL
           
static MessageBoxFlag MB_ABORTRETRYIGNORE
          The message box contains three push buttons: Abort, Retry, and Ignore.
static MessageBoxFlag MB_CANCELTRYCONTINUE
          Windows 2000: The message box contains three push buttons: Cancel, Try Again, Continue.
static MessageBoxFlag MB_DEFBUTTON2
          The second button is the default button.
static MessageBoxFlag MB_DEFBUTTON3
          The third button is the default button.
static MessageBoxFlag MB_DEFBUTTON4
          The fourth button is the default button.
static MessageBoxFlag MB_ICONEXCLAMATION
          An exclamation-point icon appears in the message box.
static MessageBoxFlag MB_ICONINFORMATION
          An icon consisting of a lowercase letter i in a circle appears in the message box.
static MessageBoxFlag MB_ICONQUESTION
          A question-mark icon appears in the message box.
static MessageBoxFlag MB_ICONSTOP
          A stop-sign icon appears in the message box.
static MessageBoxFlag MB_OK
          The message box contains one push button: OK.
static MessageBoxFlag MB_OKCANCEL
          The message box contains two push buttons: OK and Cancel.
static MessageBoxFlag MB_RETRYCANCEL
          The message box contains two push buttons: Retry and Cancel.
static MessageBoxFlag MB_YESNO
          The message box contains two push buttons: Yes and No.
static MessageBoxFlag MB_YESNOCANCEL
          The message box contains three push buttons: Yes, No, and Cancel.
 int val
           
 
Method Summary
static MessageBoxFlag getMessageBoxFlag(int val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MB_OK

public static final MessageBoxFlag MB_OK
The message box contains one push button: OK. This is the default.


_MB_OK

public static final int _MB_OK
See Also:
Constant Field Values

MB_OKCANCEL

public static final MessageBoxFlag MB_OKCANCEL
The message box contains two push buttons: OK and Cancel.


_MB_OKCANCEL

public static final int _MB_OKCANCEL
See Also:
Constant Field Values

MB_ABORTRETRYIGNORE

public static final MessageBoxFlag MB_ABORTRETRYIGNORE
The message box contains three push buttons: Abort, Retry, and Ignore.


_MB_ABORTRETRYIGNORE

public static final int _MB_ABORTRETRYIGNORE
See Also:
Constant Field Values

MB_YESNOCANCEL

public static final MessageBoxFlag MB_YESNOCANCEL
The message box contains three push buttons: Yes, No, and Cancel.


_MB_YESNOCANCEL

public static final int _MB_YESNOCANCEL
See Also:
Constant Field Values

MB_YESNO

public static final MessageBoxFlag MB_YESNO
The message box contains two push buttons: Yes and No.


_MB_YESNO

public static final int _MB_YESNO
See Also:
Constant Field Values

MB_RETRYCANCEL

public static final MessageBoxFlag MB_RETRYCANCEL
The message box contains two push buttons: Retry and Cancel.


_MB_RETRYCANCEL

public static final int _MB_RETRYCANCEL
See Also:
Constant Field Values

MB_CANCELTRYCONTINUE

public static final MessageBoxFlag MB_CANCELTRYCONTINUE
Windows 2000: The message box contains three push buttons: Cancel, Try Again, Continue. Use this message box type instead of MB_ABORTRETRYIGNORE.


_MB_CANCELTRYCONTINUE

public static final int _MB_CANCELTRYCONTINUE
See Also:
Constant Field Values

MB_ICONSTOP

public static final MessageBoxFlag MB_ICONSTOP
A stop-sign icon appears in the message box.


_MB_ICONSTOP

public static final int _MB_ICONSTOP
See Also:
Constant Field Values

MB_ICONQUESTION

public static final MessageBoxFlag MB_ICONQUESTION
A question-mark icon appears in the message box.


_MB_ICONQUESTION

public static final int _MB_ICONQUESTION
See Also:
Constant Field Values

MB_ICONEXCLAMATION

public static final MessageBoxFlag MB_ICONEXCLAMATION
An exclamation-point icon appears in the message box.


_MB_ICONEXCLAMATION

public static final int _MB_ICONEXCLAMATION
See Also:
Constant Field Values

MB_ICONINFORMATION

public static final MessageBoxFlag MB_ICONINFORMATION
An icon consisting of a lowercase letter i in a circle appears in the message box.


_MB_ICONINFORMATION

public static final int _MB_ICONINFORMATION
See Also:
Constant Field Values

MB_DEFBUTTON2

public static final MessageBoxFlag MB_DEFBUTTON2
The second button is the default button.


_MB_DEFBUTTON2

public static final int _MB_DEFBUTTON2
See Also:
Constant Field Values

MB_DEFBUTTON3

public static final MessageBoxFlag MB_DEFBUTTON3
The third button is the default button.


_MB_DEFBUTTON3

public static final int _MB_DEFBUTTON3
See Also:
Constant Field Values

MB_DEFBUTTON4

public static final MessageBoxFlag MB_DEFBUTTON4
The fourth button is the default button.


_MB_DEFBUTTON4

public static final int _MB_DEFBUTTON4
See Also:
Constant Field Values

val

public int val
Method Detail

getMessageBoxFlag

public static MessageBoxFlag getMessageBoxFlag(int val)


Copyright © 2008-2009 Roman Gerasimenko.