Package s3 :: Module s3utils :: Class S3PriorityRepresent
[frames] | no frames]

Class S3PriorityRepresent

source code

object --+
         |
        S3PriorityRepresent

Color-coded representation of priorities

Instance Methods
 
__init__(self, options, classes=None)
Constructor
source code
 
represent(self, value, row=None)
Representation function
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, options, classes=None)
(Constructor)

source code 

Constructor

Parameters:
  • options - the options (as dict or anything that can be converted into a dict)
  • classes - a dict mapping keys to CSS class suffixes
Overrides: object.__init__

represent(self, value, row=None)

source code 

Representation function

Parameters:
  • value - the value to represent