Package Pmv :: Module extrusionCommands :: Class Nucleic_Acids_properties
[hide private]
[frames] | no frames]

Class Nucleic_Acids_properties

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       Nucleic_Acids_properties

The Nucleic_Acids_properties class implements methods for setting
    Nucleic Acids colors and scaling factor.
    
Package : Pmv
    
Module  : extrusionCommands
    
Class   : Nucleic_Acids_properties
    
Command name : Nucleic_Acids_properties
    



Instance Methods [hide private]
  __init__(self)
Constructor for Nucleic_Acids_properties
  __call__(self, color_A=[1,0,0], color_G=[0,0,1], color_T=[0,1,0], color_C=[1,1,0], color_U=[1,0.5,0], scale_purine=1.3, scale_pyrimidine=1.3, height_purine=0.4, height_pyrimidine=0.4, color_backbone=1, **kw)
None <- Nucleic_Acids_properties(color_A = [1,0,0], color_G = [0,0,1], color_T = [0,1,0], color_C = [1,1,0], color_U = [1,0.5,0], scale_purine = 1.3, scale_pyrimidine = 1.3, height_purine = 0.4, height_pyrimidine = 0.4, color_backbone = 1)
  doit(self, color_A=[1,0,0], color_G=[0,0,1], color_T=[0,1,0], color_C=[1,1,0], color_U=[1,0.5,0], scale_purine=1.3, scale_pyrimidine=1.3, height_purine=0.4, height_pyrimidine=0.4, color_backbone=1)
virtual method.
  buildFormDescr(self, formName)
descr <- buildFormDescr(self, formName): this virtual method is implemented in the classes derived from Command.
  guiCallback(self)
  set_color_A(self)
  set_color_G(self)
  set_color_T(self)
  set_color_C(self)
  set_color_U(self)

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddCmdToViewer, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, setupUndoBefore, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__init__(self)
(Constructor)

source code 
Constructor for Nucleic_Acids_properties
Overrides: mvCommand.MVCommand.__init__

__call__(self, color_A=[1,0,0], color_G=[0,0,1], color_T=[0,1,0], color_C=[1,1,0], color_U=[1,0.5,0], scale_purine=1.3, scale_pyrimidine=1.3, height_purine=0.4, height_pyrimidine=0.4, color_backbone=1, **kw)
(Call operator)

source code 
None <- Nucleic_Acids_properties(color_A = [1,0,0], color_G = [0,0,1], color_T = [0,1,0], color_C = [1,1,0], color_U = [1,0.5,0], scale_purine = 1.3, scale_pyrimidine = 1.3, height_purine = 0.4, height_pyrimidine = 0.4, color_backbone = 1)
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, color_A=[1,0,0], color_G=[0,0,1], color_T=[0,1,0], color_C=[1,1,0], color_U=[1,0.5,0], scale_purine=1.3, scale_pyrimidine=1.3, height_purine=0.4, height_pyrimidine=0.4, color_backbone=1)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: ViewerFramework.VFCommand.Command.doit
(inherited documentation)

buildFormDescr(self, formName)

source code 
descr <- buildFormDescr(self, formName): this virtual method is implemented in the classes derived from Command. This is where the inputFormDescr is created and the description of the widgets appended. If a command has several inputForm buildFormDescr should build all the inputFormDescr and you do a if / elif check to know which one to create. formName : string name of the form corresponding to this descr.
Overrides: ViewerFramework.VFCommand.Command.buildFormDescr
(inherited documentation)

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback

set_color_A(self)

source code 
None

set_color_G(self)

source code 
None

set_color_T(self)

source code 
None

set_color_C(self)

source code 
None

set_color_U(self)

source code 
None