org.gnu.gtk
public class MessageDialog extends Dialog
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.MessageDialog
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
The easiest way to do a modal message dialog is to use MessageDialog.
Constructor Summary | |
---|---|
MessageDialog(Window parent, DialogFlags flags, MessageType type, ButtonsType buttons, String message, boolean hasMarkup)
Construct a new MessageDialog.
| |
MessageDialog(Handle handle)
Construct a MessageDialog using a handle to a native resource. |
Method Summary | |
---|---|
static MessageDialog | getMessageDialog(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
void | setMarkup(String markup)
Sets the text of the message dialog to be markup, which is
marked up with the Pango text markup language.
|
void | setSecondaryMarkup(String markup)
Sets the secondary text of the message dialog to be markup,
which is marked up with the Pango text markup language.
|
void | setSecondaryText(String text)
Sets the secondary text of the message dialog to be text.
|
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a new MessageDialog.Parameters: parent The parent Window of this MessageDialog. flags Provides initialization information for the Dialog. type The type of message to display. buttons What type of buttons should be on this dialog. message The message to display. hasMarkup Does the message String contain markup?
See Also: MessageType
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a MessageDialog using a handle to a native resource.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the text of the message dialog to be markup, which is marked up with the Pango text markup language.Parameters: markup The markup string.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the secondary text of the message dialog to be markup, which is marked up with the Pango text markup language.Note that setting a secondary text makes the primary text become bold, unless you have provided explicit markup.
Since: 2.6
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the secondary text of the message dialog to be text.Note that setting a secondary text makes the primary text become bold, unless you have provided explicit markup.
Since: 2.6