A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
grid.Colors Class Reference

Public Member Functions

def __init__
 
def add
 
def lookup
 

Static Public Attributes

list default_colors = [Color(1, 0, 0), Color(0, 1, 0), Color(0, 0, 1), Color(1, 1, 0), Color(1, 0, 1), Color(0, 1, 1)]
 

Private Attributes

 __colors
 

Detailed Description

Definition at line 237 of file grid.py.

Constructor & Destructor Documentation

def grid.Colors.__init__ (   self)

Definition at line 240 of file grid.py.

Member Function Documentation

def grid.Colors.add (   self,
  name,
  color 
)

Definition at line 242 of file grid.py.

References grid.Colors.__colors.

Referenced by grid.Colors.lookup().

+ Here is the caller graph for this function:

def grid.Colors.lookup (   self,
  name 
)

Definition at line 244 of file grid.py.

References grid.Colors.add().

+ Here is the call graph for this function:

Member Data Documentation

grid.Colors.__colors
private

Definition at line 241 of file grid.py.

Referenced by grid.Colors.add(), and grid.TopLegendRenderer.draw().

list grid.Colors.default_colors = [Color(1, 0, 0), Color(0, 1, 0), Color(0, 0, 1), Color(1, 1, 0), Color(1, 0, 1), Color(0, 1, 1)]
static

Definition at line 239 of file grid.py.


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