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

Public Member Functions

 Dialog_Link (Map< String, JComponent > components)
 
void setDefaultLinks (ArrayList< NetworkLink > defaultLinks)
 
void showDefaultLinks (boolean show)
 
ArrayList< NetworkLinkgetAllLinks ()
 
int getP2pLinkCount ()
 
int getCsmaLinkCount ()
 

Static Public Member Functions

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

Public Attributes

ArrayList< NetworkLinklinks
 

Static Public Attributes

static final String COMPONENT_COMBO_BOX = "Link_ComboBox"
 
static final String COMPONENT_OVERVIEW_LABEL = "Link_OverviewLabel"
 
static boolean SHOW_DEFAULT = false
 

Detailed Description

The dialog for management of links settings

Definition at line 19 of file Dialog_Link.java.

Constructor & Destructor Documentation

◆ Dialog_Link()

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

to create the object of type Dialog_Link

Parameters
componentsthe helpful components
Since
0.3.0

Definition at line 97 of file Dialog_Link.java.

Member Function Documentation

◆ getAllLinks()

ArrayList< NetworkLink > Dialogs.Dialog_Link.getAllLinks ( )

to get all the link settings

Returns
the list of link settings
Since
0.3.0

Definition at line 184 of file Dialog_Link.java.

◆ getCsmaLinkCount()

int Dialogs.Dialog_Link.getCsmaLinkCount ( )

to get the count of CSMA Links

Returns
the size of CSMA Link settings
Since
1.1.0

Definition at line 217 of file Dialog_Link.java.

◆ getInstance()

static Dialog_Link Dialogs.Dialog_Link.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 84 of file Dialog_Link.java.

◆ getP2pLinkCount()

int Dialogs.Dialog_Link.getP2pLinkCount ( )

to get the count of P2P Links

Returns
the size of P2P Link settings
Since
1.1.0

Definition at line 198 of file Dialog_Link.java.

◆ setDefaultLinks()

void Dialogs.Dialog_Link.setDefaultLinks ( ArrayList< NetworkLink > defaultLinks)

Definition at line 150 of file Dialog_Link.java.

◆ showDefaultLinks()

void Dialogs.Dialog_Link.showDefaultLinks ( boolean show)

to make all default links visible

Parameters
showwhether to show or hide default links
Since
0.3.0

Definition at line 172 of file Dialog_Link.java.

Member Data Documentation

◆ COMPONENT_COMBO_BOX

final String Dialogs.Dialog_Link.COMPONENT_COMBO_BOX = "Link_ComboBox"
static

the key for the combo box

Definition at line 50 of file Dialog_Link.java.

◆ COMPONENT_OVERVIEW_LABEL

final String Dialogs.Dialog_Link.COMPONENT_OVERVIEW_LABEL = "Link_OverviewLabel"
static

the key for the overview label

Definition at line 54 of file Dialog_Link.java.

◆ links

ArrayList<NetworkLink> Dialogs.Dialog_Link.links

link settings

Definition at line 68 of file Dialog_Link.java.

◆ SHOW_DEFAULT

boolean Dialogs.Dialog_Link.SHOW_DEFAULT = false
static

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

Definition at line 58 of file Dialog_Link.java.


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