public class GStandardMessageDialog extends GStandardDialog
| Index | Class | Item | Constraint |
| 0 | GStandardMessageDialogMainContainer | mainContainer | "newline" (see table below) |
| 1 | ButtonPanel | buttonBox | "dock South" (see table below) |
| Index | Class | Item | Constraint |
| 0, 0 | GLabel | messageLabel | "newline" |
| Index | Class | Item | Constraint |
| 1, 0 | GButton | m_yesButton | "split 2 , alignx Left" |
| 1, 1 | GButton | m_noButton | "alignx Left" |
| 1, 2 | GButton | m_cancelButton | "alignx Right" |
GStandardDialog.TypeOfDialogGPanel.Panel, GPanel.ScrollBarVisibilityGComponent.CopyPasteOperation, GComponent.DisplayIndicatorStatus, GComponent.ItemType, GComponent.OperationNAME_ATTRIBUTE| Constructor and Description |
|---|
GStandardMessageDialog(String title,
String message,
GStandardDialog.TypeOfDialog typeDialog)
Constructor.
|
GStandardMessageDialog(String widgetId,
String title,
String message,
GStandardDialog.TypeOfDialog typeDialog)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setMessage(String message)
Method to update the message of the dialog.
|
beforeClickingButtons, clear, display, generic, getSubComponent, onButtonOne, onButtonTwo, setDefaultConstraints, setGContainer, showdispose, getCancelled, getJDialog, hide, setMaximumSize, setMinimumSize, setPreferredSize, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpenedclearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unputactivateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isEnabled, isForcedStatus, isModified, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setEnabled, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GStandardMessageDialog(String title, String message, GStandardDialog.TypeOfDialog typeDialog)
title - the title of the dialog.message - the message to be shown.typeDialog - the type of dialog.public GStandardMessageDialog(String widgetId, String title, String message, GStandardDialog.TypeOfDialog typeDialog)
widgetId - the widget identifier.title - the title of the dialog.message - the message to be shown.typeDialog - the type of dialog.public void setMessage(String message)
message - to be set.Copyright © 2024. All rights reserved.