:: com :: sun :: star :: awt ::
|
interface XMessageBoxFactory |
|
- Description
- specifies a factory interface for creating message boxes.
|
Methods' Details |
createMessageBox
XMessageBox |
createMessageBox( |
[in] XWindowPeer |
aParent, |
| [in] Rectangle |
aPosSize, |
| [in] string |
aType, |
| [in] long |
aButtons, |
| [in] string |
aTitle, |
| [in] string |
aMessage ); |
- Description
- creates a message box.
- Returns
- the created message box or a null reference if it cannot be
created.
- Parameter aParent
- a valid XWindowPeer reference which is used as a parent. This parameter
must not be null.
- Parameter aPosSize
- a rectangle which defines the position and size of the message
box in pixel.
- Parameter aType
- a string which determines the message box type.
The following strings are defined.
- infoboxA message box to inform the user about a certain event.
Attention:
This type of message box ignores the argument
aButton because a info box always shows a OK button.
- warningboxA message to warn the user about a certain problem.
- errorboxA message box to provide an error message to the user.
- queryboxA message box to query information from the user.
- messboxA normal message box.
- Parameter aButtons
- specifies which buttons should be available on the
message box. A combination of
MessageBoxButtons. An infobox
ignores this paramter and always use button "OK".
- Parameter aTitle
- specifies the title of the message box.
- Parameter aMessage
- specifies text which will be shown by the message box.
Line-breaks must be added using 'CR' or 'CR+LF'.
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.