NS3-GUI-HELPER V1.2.0
A code generator for NS-3 Scripts
|
Public Member Functions | |
P2pLinkPainter (NodePainter a, NodePainter b) | |
P2pLinkPainter (NodePainter a, NodePainter b, Color color) | |
void | paint (Graphics g) |
Public Attributes | |
NodePainter | nodeA |
NodePainter | nodeB |
Color | linkColor |
to manage, paint and store the P2P Links
Definition at line 10 of file P2pLinkPainter.java.
GuiRenderers.P2pLinkPainter.P2pLinkPainter | ( | NodePainter | a, |
NodePainter | b ) |
to create the object of type P2pLinkPainter
a | the first node |
b | the second node |
Definition at line 34 of file P2pLinkPainter.java.
GuiRenderers.P2pLinkPainter.P2pLinkPainter | ( | NodePainter | a, |
NodePainter | b, | ||
Color | color ) |
to create the object of type P2pLinkPainter
a | the first node |
b | the second node |
color | the color of the link |
Definition at line 47 of file P2pLinkPainter.java.
void GuiRenderers.P2pLinkPainter.paint | ( | Graphics | g | ) |
to paint the P2P Link on the canvas
g | Graphics for painting, from painter |
Implements GuiRenderers.CanvasPainter.
Definition at line 61 of file P2pLinkPainter.java.
Color GuiRenderers.P2pLinkPainter.linkColor |
for color of the link
Definition at line 19 of file P2pLinkPainter.java.
NodePainter GuiRenderers.P2pLinkPainter.nodeA |
to mark nodes who are part of point to point link
Definition at line 15 of file P2pLinkPainter.java.
NodePainter GuiRenderers.P2pLinkPainter.nodeB |
Definition at line 15 of file P2pLinkPainter.java.