Public Member Functions | |
__init__ (self) | |
Initializer. | |
add (self, name, color) | |
Add. | |
lookup (self, name) | |
Lookup name. | |
Static Public Attributes | |
list | default_colors |
default colors XXX add more | |
Private Attributes | |
__colors | |
colors | |
grid.Colors.__init__ | ( | self | ) |
grid.Colors.add | ( | self, | |
name, | |||
color ) |
Add.
self | this object |
name | name of the color |
color | color value |
Definition at line 526 of file grid.py.
References grid.Colors.__colors, and grid.TopLegendRenderer.__colors.
Referenced by grid.Colors.lookup().
grid.Colors.lookup | ( | self, | |
name ) |
Lookup name.
self | this object |
name | name |
Definition at line 535 of file grid.py.
References grid.Colors.__colors, grid.TopLegendRenderer.__colors, grid.Colors.add(), and grid.Colors.default_colors.
|
private |
colors
Definition at line 524 of file grid.py.
Referenced by grid.Colors.add(), grid.TopLegendRenderer.draw(), and grid.Colors.lookup().
|
static |
default colors XXX add more
Definition at line 511 of file grid.py.
Referenced by grid.Colors.lookup().