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

Public Member Functions

 WifiLinkPainter (ArrayList< Integer > nodeList, ArrayList< NodePainter > nodes)
 
void paint (Graphics g)
 

Public Attributes

ArrayList< Integer > nodeList
 
ArrayList< NodePainternodes
 

Detailed Description

to manage and paint Wi-Fi Links

Definition at line 14 of file WifiLinkPainter.java.

Constructor & Destructor Documentation

◆ WifiLinkPainter()

GuiRenderers.WifiLinkPainter.WifiLinkPainter ( ArrayList< Integer > nodeList,
ArrayList< NodePainter > nodes )

to create the object of type CSMA Link

Parameters
nodeListthe index of node
nodesthe nodes
Since
1.2.0

Definition at line 48 of file WifiLinkPainter.java.

Member Function Documentation

◆ paint()

void GuiRenderers.WifiLinkPainter.paint ( Graphics g)

to paint the object/element on the canvas

Implements GuiRenderers.CanvasPainter.

Definition at line 55 of file WifiLinkPainter.java.

Member Data Documentation

◆ nodeList

ArrayList<Integer> GuiRenderers.WifiLinkPainter.nodeList

list of index of nodes which are part of CSMA channel

Definition at line 19 of file WifiLinkPainter.java.

◆ nodes

ArrayList<NodePainter> GuiRenderers.WifiLinkPainter.nodes

the nodes which are part of CSMA channel

Definition at line 23 of file WifiLinkPainter.java.


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