Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

unpublished constants group MessageBoxButtons
Usage Restrictions
not published
Description
defines constants for the possible message box button combinations.

Constants
BUTTONS_OK specifies a message with "OK" button.  
BUTTONS_OK_CANCEL specifies a message box with "OK" and "CANCEL" button.  
BUTTONS_YES_NO specifies a message box with "YES" and "NO" button.  
BUTTONS_YES_NO_CANCEL specifies a message box with "YES", "NO" and "CANCEL" button.  
BUTTONS_RETRY_CANCEL specifies a message box with "RETRY" and "CANCEL" button.  
BUTTONS_ABORT_IGNORE_RETRY specifies a message box with "ABORT", "IGNORE" and "RETRY" button.  
DEFAULT_BUTTON_OK specifies that OK is the default button.  
DEFAULT_BUTTON_CANCEL specifies that CANCEL is the default button.  
DEFAULT_BUTTON_RETRY specifies that RETRY is the default button.  
DEFAULT_BUTTON_YES specifies that YES is the default button.  
DEFAULT_BUTTON_NO specifies that NO is the default button.  
DEFAULT_BUTTON_IGNORE specifies that IGNORE is the default button.  
Constants' Details
BUTTONS_OK
const long BUTTONS_OK = 1;
Description
specifies a message with "OK" button.
BUTTONS_OK_CANCEL
const long BUTTONS_OK_CANCEL = 2;
Description
specifies a message box with "OK" and "CANCEL" button.
BUTTONS_YES_NO
const long BUTTONS_YES_NO = 3;
Description
specifies a message box with "YES" and "NO" button.
BUTTONS_YES_NO_CANCEL
const long BUTTONS_YES_NO_CANCEL = 4;
Description
specifies a message box with "YES", "NO" and "CANCEL" button.
BUTTONS_RETRY_CANCEL
const long BUTTONS_RETRY_CANCEL = 5;
Description
specifies a message box with "RETRY" and "CANCEL" button.
BUTTONS_ABORT_IGNORE_RETRY
const long BUTTONS_ABORT_IGNORE_RETRY = 6;
Description
specifies a message box with "ABORT", "IGNORE" and "RETRY" button.
DEFAULT_BUTTON_OK
const long DEFAULT_BUTTON_OK = 0x10000;
Description
specifies that OK is the default button.
DEFAULT_BUTTON_CANCEL
const long DEFAULT_BUTTON_CANCEL = 0x20000;
Description
specifies that CANCEL is the default button.
DEFAULT_BUTTON_RETRY
const long DEFAULT_BUTTON_RETRY = 0x30000;
Description
specifies that RETRY is the default button.
DEFAULT_BUTTON_YES
const long DEFAULT_BUTTON_YES = 0x40000;
Description
specifies that YES is the default button.
DEFAULT_BUTTON_NO
const long DEFAULT_BUTTON_NO = 0x50000;
Description
specifies that NO is the default button.
DEFAULT_BUTTON_IGNORE
const long DEFAULT_BUTTON_IGNORE = 0x60000;
Description
specifies that IGNORE is the default button.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.