Package schrodinger :: Package application :: Package msv :: Package gui :: Module color :: Class PositionScheme
[hide private]
[frames] | no frames]

Class PositionScheme

    object --+    
             |    
RowColorScheme --+
                 |
                PositionScheme

A scheme that handles coloring residues according to the length of the sequence

setLength must be called to update the color scheme whenever the sequence changes

Instance Methods [hide private]
 
setLength(self, sequence_length)
Sets the position color scheme based on the length of the sequence

Inherited from RowColorScheme: __deepcopy__, __init__, getBackgroundBrush, getBackgroundBrushByKey, getBackgroundSelectionBrush, getTextColor, getToolTip, keys, setBackgroundBrush

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

Class Variables [hide private]

Inherited from RowColorScheme: DEFAULT_BACKGROUND_SELECTION_BRUSH

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setLength(self, sequence_length)

 

Sets the position color scheme based on the length of the sequence

Parameters:
  • sequence_length - The total length of the sequence.