public class MessageBox extends Object
| Constructor and Description |
|---|
MessageBox(com.sun.star.uno.XComponentContext _xContext) |
MessageBox(com.sun.star.lang.XMultiComponentFactory _xMCF,
com.sun.star.uno.XComponentContext _xContext) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.star.frame.XFrame |
getCurrentFrame() |
short |
showMessageBox(String _sTitle,
String _sMessage,
String _aType,
int _aButtons) |
short |
showMessageBox(com.sun.star.frame.XFrame _xFrame,
String _sTitle,
String _sMessage,
String _aType,
int _aButtons) |
short |
showMessageBox(com.sun.star.awt.XWindowPeer _xParentWindowPeer,
String _sTitle,
String _sMessage,
String _aType,
int _aButtons)
Shows an messagebox
|
public MessageBox(com.sun.star.lang.XMultiComponentFactory _xMCF,
com.sun.star.uno.XComponentContext _xContext)
public MessageBox(com.sun.star.uno.XComponentContext _xContext)
public short showMessageBox(com.sun.star.awt.XWindowPeer _xParentWindowPeer,
String _sTitle,
String _sMessage,
String _aType,
int _aButtons)
_xParentWindowPeer - the windowpeer of the parent window_sTitle - the title of the messagebox_sMessage - the message of the messagebox_aType - string which determines the message box type: (infobox|warningbox|errorbox|querybox|messbox)_aButtons - MessageBoxButtons which buttons should be available on the message boxpublic short showMessageBox(com.sun.star.frame.XFrame _xFrame,
String _sTitle,
String _sMessage,
String _aType,
int _aButtons)
public short showMessageBox(String _sTitle, String _sMessage, String _aType, int _aButtons)
public com.sun.star.frame.XFrame getCurrentFrame()
Copyright © 2012–2017 CoGrOO. All rights reserved.