NS3-GUI-HELPER V1.2.0
A code generator for NS-3 Scripts
|
Public Member Functions | |
Dialog_Link (Map< String, JComponent > components) | |
void | setDefaultLinks (ArrayList< NetworkLink > defaultLinks) |
void | showDefaultLinks (boolean show) |
ArrayList< NetworkLink > | getAllLinks () |
int | getP2pLinkCount () |
int | getCsmaLinkCount () |
Static Public Member Functions | |
static Dialog_Link | getInstance (Map< String, JComponent > helpfulComponents) |
Public Attributes | |
ArrayList< NetworkLink > | links |
Static Public Attributes | |
static final String | COMPONENT_COMBO_BOX = "Link_ComboBox" |
static final String | COMPONENT_OVERVIEW_LABEL = "Link_OverviewLabel" |
static boolean | SHOW_DEFAULT = false |
The dialog for management of links settings
Definition at line 19 of file Dialog_Link.java.
Dialogs.Dialog_Link.Dialog_Link | ( | Map< String, JComponent > | components | ) |
to create the object of type Dialog_Link
components | the helpful components |
Definition at line 97 of file Dialog_Link.java.
ArrayList< NetworkLink > Dialogs.Dialog_Link.getAllLinks | ( | ) |
to get all the link settings
Definition at line 184 of file Dialog_Link.java.
int Dialogs.Dialog_Link.getCsmaLinkCount | ( | ) |
to get the count of CSMA Links
Definition at line 217 of file Dialog_Link.java.
|
static |
to get the instance of this class
helpfulComponents | the components that should be managed |
Definition at line 84 of file Dialog_Link.java.
int Dialogs.Dialog_Link.getP2pLinkCount | ( | ) |
to get the count of P2P Links
Definition at line 198 of file Dialog_Link.java.
void Dialogs.Dialog_Link.setDefaultLinks | ( | ArrayList< NetworkLink > | defaultLinks | ) |
Definition at line 150 of file Dialog_Link.java.
void Dialogs.Dialog_Link.showDefaultLinks | ( | boolean | show | ) |
to make all default links visible
show | whether to show or hide default links |
Definition at line 172 of file Dialog_Link.java.
|
static |
the key for the combo box
Definition at line 50 of file Dialog_Link.java.
|
static |
the key for the overview label
Definition at line 54 of file Dialog_Link.java.
ArrayList<NetworkLink> Dialogs.Dialog_Link.links |
link settings
Definition at line 68 of file Dialog_Link.java.
|
static |
to indicate that whether the default network settings are visible or not
Definition at line 58 of file Dialog_Link.java.