NS3-GUI-HELPER V1.2.0
A code generator for NS-3 Scripts
Loading...
Searching...
No Matches
Dialogs.Dialog_Helper Class Reference

Public Member Functions

 Dialog_Helper (Component component)
 
int showConfirmationDialog (String msg, String title)
 
void showWarningMsg (String msg, String title)
 
void showInformationMsg (String msg, String title)
 
void showErrorMsg (String msg, String title)
 

Public Attributes

Component anyParentComponent
 

Detailed Description

This will help to show confirmation, warning, error and information messages in dialog form

Definition at line 19 of file Dialog_Helper.java.

Constructor & Destructor Documentation

◆ Dialog_Helper()

Dialogs.Dialog_Helper.Dialog_Helper ( Component component)

to create an object of type Dialog_Helper

Parameters
componentthe parent component
Since
1.0.0

Definition at line 31 of file Dialog_Helper.java.

Member Function Documentation

◆ showConfirmationDialog()

int Dialogs.Dialog_Helper.showConfirmationDialog ( String msg,
String title )

to show the confirmation dialog

Parameters
msgthe msg that you want to show
titleThe title of the dialog
Returns
The integer value showcasing the selected choice of the user
Since
1.0.0

Definition at line 44 of file Dialog_Helper.java.

◆ showErrorMsg()

void Dialogs.Dialog_Helper.showErrorMsg ( String msg,
String title )

to show the error dialog

Parameters
msgthe message that you want to show
titlethe title of the dialog
Since
1.0.0

Definition at line 80 of file Dialog_Helper.java.

◆ showInformationMsg()

void Dialogs.Dialog_Helper.showInformationMsg ( String msg,
String title )

to show the information dialog

Parameters
msgthe message that you want to show
titlethe title of the dialog
Since
1.0.0

Definition at line 68 of file Dialog_Helper.java.

◆ showWarningMsg()

void Dialogs.Dialog_Helper.showWarningMsg ( String msg,
String title )

to show the warning dialog

Parameters
msgthe message that you want to show
titleThe title of the dialog
Since
1.0.0

Definition at line 56 of file Dialog_Helper.java.

Member Data Documentation

◆ anyParentComponent

Component Dialogs.Dialog_Helper.anyParentComponent

the parent component, in reference of the dialog box

Definition at line 23 of file Dialog_Helper.java.


The documentation for this class was generated from the following file: