com.jfx
Class MessageBoxID

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

public class MessageBoxID
extends java.lang.Object

The MessageBox() function return codes. If a message box has a Cancel button, the function returns the IDCANCEL value if either the ESC key is pressed or the Cancel button is selected. If the message box has no Cancel button, pressing ESC has no effect.


Field Summary
static int _IDABORT
           
static int _IDCANCEL
           
static int _IDCONTINUE
           
static int _IDIGNORE
           
static int _IDNO
           
static int _IDOK
           
static int _IDRETRY
           
static int _IDTRYAGAIN
           
static int _IDYES
           
static MessageBoxID IDABORT
          Abort button was selected.
static MessageBoxID IDCANCEL
          Cancel button was selected.
static MessageBoxID IDCONTINUE
          Continue button was selected.
static MessageBoxID IDIGNORE
          Ignore button was selected.
static MessageBoxID IDNO
          No button was selected.
static MessageBoxID IDOK
          OK button was selected.
static MessageBoxID IDRETRY
          Retry button was selected.
static MessageBoxID IDTRYAGAIN
          Try Again button was selected.
static MessageBoxID IDYES
          Yes button was selected.
 int val
           
 
Method Summary
static MessageBoxID getMessageBoxID(int val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDOK

public static final MessageBoxID IDOK
OK button was selected.


_IDOK

public static final int _IDOK
See Also:
Constant Field Values

IDCANCEL

public static final MessageBoxID IDCANCEL
Cancel button was selected.


_IDCANCEL

public static final int _IDCANCEL
See Also:
Constant Field Values

IDABORT

public static final MessageBoxID IDABORT
Abort button was selected.


_IDABORT

public static final int _IDABORT
See Also:
Constant Field Values

IDRETRY

public static final MessageBoxID IDRETRY
Retry button was selected.


_IDRETRY

public static final int _IDRETRY
See Also:
Constant Field Values

IDIGNORE

public static final MessageBoxID IDIGNORE
Ignore button was selected.


_IDIGNORE

public static final int _IDIGNORE
See Also:
Constant Field Values

IDYES

public static final MessageBoxID IDYES
Yes button was selected.


_IDYES

public static final int _IDYES
See Also:
Constant Field Values

IDNO

public static final MessageBoxID IDNO
No button was selected.


_IDNO

public static final int _IDNO
See Also:
Constant Field Values

IDTRYAGAIN

public static final MessageBoxID IDTRYAGAIN
Try Again button was selected.


_IDTRYAGAIN

public static final int _IDTRYAGAIN
See Also:
Constant Field Values

IDCONTINUE

public static final MessageBoxID IDCONTINUE
Continue button was selected.


_IDCONTINUE

public static final int _IDCONTINUE
See Also:
Constant Field Values

val

public int val
Method Detail

getMessageBoxID

public static MessageBoxID getMessageBoxID(int val)


Copyright © 2008-2009 Roman Gerasimenko.