www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

bloc.js~ (1003B)


      1 function MBloc() {
      2     makeUid(this);
      3     makeField(this, 'mTitreBloc', new MTitreBloc());
      4     makeField(this, 'mListePortsEntrée', new MListePorts(true));
      5     makeField(this, 'mListePortsSortie', new MListePorts(false));
      6     makeField(this, 'mListeDéfinitions', new MListeDéfinitions());
      7 }
      8 
      9 function VBloc(mBloc, emplacement) {
     10     makeView(this, 'vBloc', emplacement, 'vTitreBloc', 'vListePortsEntrée', 'vListePortsSortie', 'vTitresTabsDéfinitions', 'vContenusTabsDéfinitions');
     11     new VTitreBloc(mBloc.mTitreBloc(), this.parties.vTitreBloc);
     12     new VListePorts(mBloc.mListePortsEntrée(), this.parties.vListePortsEntrée);
     13     new VListePorts(mBloc.mListePortsSortie(), this.parties.vListePortsSortie);
     14     
     15     this.mvTabsDéfinitions = new MVTabsDéfinitions(mBloc.mListeDéfinitions());
     16     
     17     new VTitresTabsDéfinitions(this.mvTabsDéfinitions, this.parties.vTitresTabsDéfinitions);
     18     new VContenusTabsDéfinitions(this.mvTabsDéfinitions, this.parties.vContenusTabsDéfinitions);
     19 }