NS3-GUI-HELPER V1.2.0
A code generator for NS-3 Scripts
|
Public Member Functions | |
NodePainter (int x, int y, String label) | |
NodePainter (int x, int y, int r, String label) | |
NodePainter (int x, int y, int r, String label, Color fill) | |
void | paint (Graphics g) |
Public Attributes | |
int | xPos |
int | yPos |
int | radius |
String | label |
Color | color |
to manage, paint and store the node
Definition at line 10 of file NodePainter.java.
GuiRenderers.NodePainter.NodePainter | ( | int | x, |
int | y, | ||
String | label ) |
to create the object if type NodePainter
x | x-position |
y | y-position |
label | label for the node |
Definition at line 52 of file NodePainter.java.
GuiRenderers.NodePainter.NodePainter | ( | int | x, |
int | y, | ||
int | r, | ||
String | label ) |
to create the object if type NodePainter
x | x-position |
y | y-position |
r | radius value |
label | label for the node |
Definition at line 67 of file NodePainter.java.
GuiRenderers.NodePainter.NodePainter | ( | int | x, |
int | y, | ||
int | r, | ||
String | label, | ||
Color | fill ) |
to create the object if type NodePainter
x | x-position |
y | y-position |
r | radius value |
label | label for the node |
fill | the color for the node |
Definition at line 83 of file NodePainter.java.
void GuiRenderers.NodePainter.paint | ( | Graphics | g | ) |
to paint the node on the canvas
g | the Graphics from the painter |
Implements GuiRenderers.CanvasPainter.
Definition at line 99 of file NodePainter.java.
Color GuiRenderers.NodePainter.color |
color for the node
Definition at line 31 of file NodePainter.java.
String GuiRenderers.NodePainter.label |
label for the node
Definition at line 27 of file NodePainter.java.
int GuiRenderers.NodePainter.radius |
radius value for the node
Definition at line 23 of file NodePainter.java.
int GuiRenderers.NodePainter.xPos |
x-value for the node
Definition at line 15 of file NodePainter.java.
int GuiRenderers.NodePainter.yPos |
y-value for the node
Definition at line 19 of file NodePainter.java.