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

Public Member Functions

 Dialog_Network (Map< String, JComponent > components)
 
void setDefaultNetworks (ArrayList< Network > links)
 
void showDefaultNetworks (boolean show)
 
ArrayList< NetworkgetAllNetworks ()
 
int getNetworkCount ()
 

Static Public Member Functions

static Dialog_Network getInstance (Map< String, JComponent > helpfulComponents)
 

Public Attributes

ArrayList< Networklinks
 

Static Public Attributes

static final String COMPONENT_COMBO_BOX = "Network_ComboBox"
 
static final String COMPONENT_OVERVIEW_LABEL = "Network_OverviewLabel"
 
static boolean SHOW_DEFAULT = false
 

Detailed Description

to manage network settings

Definition at line 16 of file Dialog_Network.java.

Constructor & Destructor Documentation

◆ Dialog_Network()

Dialogs.Dialog_Network.Dialog_Network ( Map< String, JComponent > components)

to create the object of type Dialog_Network

Parameters
componentsthe helpful components
Since
0.3.0

Definition at line 96 of file Dialog_Network.java.

Member Function Documentation

◆ getAllNetworks()

ArrayList< Network > Dialogs.Dialog_Network.getAllNetworks ( )

to get all the network settings

Returns
the list of network settings
Since
0.3.0

Definition at line 167 of file Dialog_Network.java.

◆ getInstance()

static Dialog_Network Dialogs.Dialog_Network.getInstance ( Map< String, JComponent > helpfulComponents)
static

to get the instance of this class

Parameters
helpfulComponentsthe components that should be managed
Since
1.1.0

Definition at line 62 of file Dialog_Network.java.

◆ getNetworkCount()

int Dialogs.Dialog_Network.getNetworkCount ( )

to get the count of network settings

Returns
the size of network settings
Since
1.1.0

Definition at line 180 of file Dialog_Network.java.

◆ setDefaultNetworks()

void Dialogs.Dialog_Network.setDefaultNetworks ( ArrayList< Network > links)

Definition at line 144 of file Dialog_Network.java.

◆ showDefaultNetworks()

void Dialogs.Dialog_Network.showDefaultNetworks ( boolean show)

to make all default links visible

Parameters
showwhether to show or hide default links
Since
0.3.0

Definition at line 155 of file Dialog_Network.java.

Member Data Documentation

◆ COMPONENT_COMBO_BOX

final String Dialogs.Dialog_Network.COMPONENT_COMBO_BOX = "Network_ComboBox"
static

key for the combo box

Definition at line 42 of file Dialog_Network.java.

◆ COMPONENT_OVERVIEW_LABEL

final String Dialogs.Dialog_Network.COMPONENT_OVERVIEW_LABEL = "Network_OverviewLabel"
static

key for the overview label

Definition at line 46 of file Dialog_Network.java.

◆ links

ArrayList<Network> Dialogs.Dialog_Network.links

network settings

Definition at line 79 of file Dialog_Network.java.

◆ SHOW_DEFAULT

boolean Dialogs.Dialog_Network.SHOW_DEFAULT = false
static

to indicate that whether the default network settings are visible or not

Definition at line 50 of file Dialog_Network.java.


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