C# Class GnomeSurferPro.ViewModels.ChromosomeBarViewModel

Inheritance: ViewModelBase
Datei anzeigen Open project: igemsoftware/BU_Wellesley_Software_2011 Class Usage Examples

Public Methods

Method Description
ChromosomeBarViewModel ( IGenBankProvider provider, SurfaceWindow1ViewModel surfaceWindowVM ) : System
GenePentagonContacted ( Rect position, VisualGene direction ) : void

Private Methods

Method Description
AddTickmarksToCollection ( Collection partsCollection, double contentWidth, double basePairInterval ) : void
ConvertBasePairToOffset ( int basePair ) : double
ConvertIGenesToIVisualParts ( ICollection geneList ) : ObservableCollection
ConvertOffsetToBasePair ( double offset ) : int
OnNewChromosomeStream ( IChromosomeStream stream ) : void
ScrollBarChanged ( ) : void

Method Details

ChromosomeBarViewModel() public method

public ChromosomeBarViewModel ( IGenBankProvider provider, SurfaceWindow1ViewModel surfaceWindowVM ) : System
provider IGenBankProvider
surfaceWindowVM SurfaceWindow1ViewModel
return System

GenePentagonContacted() public method

public GenePentagonContacted ( Rect position, VisualGene direction ) : void
position System.Windows.Rect
direction VisualGene
return void