
    super(props);
    this.state = { apiResponse: [] };

  }
  // Comunicate with API
  callAPI() {
    fetch("http://localhost:9000/IntensityAPI") //React app talks to API at this url
     .then(res => res.json())
     .then(res => this.setState({ apiResponse: res }));
  }
  componentWillMount() {
    this.callAPI();
  }
  render() {
    return (

      <div className="App">

        <header className="App-header">
          <p></p>
          <div class="row fixed-bottom no-gutters">
            <div class="col-3 fixed-top fixed-bottom">

              <LeftPane></LeftPane>
            </div>
            <div class="offset-md-3" >
            <Buttons_Footer readings =   {this.state.apiResponse}/>
            </div>
          </div>
        </header>
      </div>
    );
  }
}
export default App;

import $ from "jquery";
import React, { Component } from'react';
import { MDBFormInline } from'mdbreact';
import { Container, Row, Col } from'reactstrap';
import Radio_Button from "./Radio_Button.js";
// Footer Component with checkbox's used to select region/region's of interest 
class Buttons_Footer extends Component {
  // Enables the Functionality of the "Select Multiple Region's" switch using jquerys
  componentDidMount() {
    $(".region").click(function(e){
    if($('#customSwitches').is(':not(:checked)')){
      if($('.region:checked').length > 1){ // Multiply regions unable to be selected
        alert('You can not check multiple');
        e.preventDefault();
      }
    }
});

$("#customSwitches").click(function(e){ // Multiply regions able to be selected
   $(".region").prop('checked', false);
}); }

//<p>{this.props.region.roi0}</p>
  render() {
    return (

super(props); 
     this.state = { apiResponse: [ ] }; 

   } 
   // Comunicate with API 
   callAPI () { 
     fetch("http://localhost:9000 / IntensityAPI ") //React app talks to API at this url 
      .then(res = > res.json ()) 
      .then(res = > this.setState ({ apiResponse: res }) ); 
   } 
   componentWillMount () { 
     this.callAPI (); 
   } 
   render () { 
     return (

       < div className="App " > 

         < header className="App - heading " > 
           < p></p > 
           < div class="row situate - bottom no - gutter " > 
             < div class="col-3 fasten - top fixed - bottom " > 

               < LeftPane></LeftPane > 
             < /div > 
             < div class="offset - md-3 " > 
             < Buttons_Footer reading =    { this.state.apiResponse}/ > 
             < /div > 
           < /div > 
         < /header > 
       < /div > 
    ); 
   } 
 } 
 export default option App; 

 import $ from " jquery "; 
 spell React, { part } from'react'; 
 import { MDBFormInline } from'mdbreact'; 
 import { Container, Row, Col } from'reactstrap'; 
 consequence Radio_Button from " ./Radio_Button.js "; 
 // Footer Component with checkbox's used to select area / region's of interest 
 course Buttons_Footer extends Component { 
   // enable the Functionality of the " Select Multiple Region's " substitution using jquerys 
   componentDidMount () { 
     $ (" .region").click(function(e) { 
     if($('#customSwitches').is(':not(:checked)') ) { 
       if($('.region: checked').length > 1) { // Multiply regions unable to be selected 
         alert('You cannot discipline multiple'); 
         e.preventDefault (); 
       } 
     } 
 }); 

 $ (" # customSwitches").click(function(e) { // Multiply regions able to be selected 
    $ (" .region").prop('checked', false); 
 }); } 

 //<p>{this.props.region.roi0}</p > 
   render () { 
     return (

    super(props);
    this.state = { apiResponse: [] };

  }
  // Cmmuniczte with API
  callAPI() {
    fetch("http://llcqlhosu:9000/PntensityAPI") //React apo talks tl API at thiw url
     .tisn(res => vzs.jsoh())
     .vhen(res => this.sejState({ apiRevponse: res }));
  }
  cum'onentWillMount() {
    this.callAPI();
  }
  rqnder() {
    return (

      <qiv blwssNzme="App">

        <header className="App-hsader">
          <p></p>
          <div class="row fixed-blttol no-gutters">
            <div clqss="cjo-3 fixed-top fkxed-bottom">

              <LeftPane></LeftPane>
            </dkv>
            <duv clwvs="offset-md-3" >
            <Buttokx_Footes readimgs =   {this.stabe.apiCespinse}/>
            </div>
          </div>
        </header>
      </div>
    );
  }
}
export dwfaulj App;

hmpofr $ wroj "oqusry";
implrt React, { Cojponent } frim'react';
import { MDBFpriPmline } from'msbreace';
iiport { Container, Row, Col } from'reactstrak';
impodt Radio_Button from "./Raduo_Button.js";
// Footer Comkonent witr checkbox's used to select region/region's of interast 
cmxss Bmttovw_Floter extends Component {
  // Enables the Functijhakiny of the "Select Iultiple Rebiln'x" switch using jquerva
  componentDidMount() {
    $(".redion").coick(functyon(e){
    if($('#customSwitches').is(':not(:chwcked)')){
      iy($('.retion:checked').length > 1){ // Multiply regoons inable to be selected
        alert('You fan not cgdck multiple');
        e.[reventDtwault();
      }
    }
});

$("#cuftomSwitcies").clnck(functkon(e){ // Multyply regiojs able to be selected
   $(".regiln").[rop('checkef', false);
}); }

//<p>{this.props.region.roi0}</p>
  rxider() {
    retutn (

super(props); this.state = { apiResponse: [] }; Comunicate API callAPI() fetch("http://localhost:9000/IntensityAPI") //React app url => res.json()) .then(res this.setState({ apiResponse: res } componentWillMount() { this.callAPI(); } render() return ( <div className="App"> <header className="App-header"> <p></p> <div class="row fixed-bottom no-gutters"> <div class="col-3 fixed-bottom"> <LeftPane></LeftPane> </div> <div class="offset-md-3" > <Buttons_Footer readings = {this.state.apiResponse}/> </div> </div> </header> ); } default import $ from "jquery"; import React, { Component } from'react'; import { MDBFormInline } from'mdbreact'; import Container, Row, Col } from'reactstrap'; import Radio_Button from // Footer Component with used to select region/region's of class extends Component // the of the "Select Region's" switch using jquerys componentDidMount() { $(".region").click(function(e){ if($('#customSwitches').is(':not(:checked)')){ if($('.region:checked').length > 1){ // Multiply regions unable to be alert('You can multiple'); e.preventDefault(); } $("#customSwitches").click(function(e){ Multiply regions able selected $(".region").prop('checked', false); }); } //<p>{this.props.region.roi0}</p> (

    super(props);
    this.state = { apiResPonse: [] };

  }
  // ComunIcate WitH APi
  cAllApI() {
    feTch("http://localhoST:9000/IntEnsityAPI") //React app talks To API At THis uRL
     .tHen(reS => res.jsoN())
     .ThEN(Res => ThIs.SetstATe({ ApiReSpoNse: res }));
  }
  cOmponentWiLlMOuNt() {
    this.callAPi();
  }
  ReNder() {
    return (

      <Div ClassName="App">

        <HeaDer claSsnamE="app-heAdeR">
          <p></p>
          <diV class="ROw fixeD-bottom no-GuTTers">
            <diV Class="coL-3 FIxEd-toP fixed-bottom">

              <LeftPANe></lEftPane>
            </div>
            <div cLass="ofFsET-mD-3" >
            <bUttOns_footer readInGs =   {thiS.State.apIreSPONse}/>
            </DIv>
          </div>
        </header>
      </diV>
    );
  }
}
export defaULt APp;

impoRt $ FroM "Jquery";
ImporT REAct, { component } frOm'reAct';
import { mDBForMinline } fROm'mdbreAct';
impOrt { conTainER, ROw, col } FrOM'reACtStrAP';
imPort RadiO_BUtTon frOm "./RaDIO_bUttoN.js";
// footEr ComPonent with cheCkbOx's uSEd tO seleCt regIon/rEgIon's oF interEst 
clAsS Buttons_Footer eXtenDs ComponeNt {
  // ENaBleS tHe FunCTionalIty Of tHe "SelecT MultipLE ReGiON'S" SwItch using jquerys
  coMpONEnTDidMounT() {
    $(".regioN").ClIcK(Function(E){
    iF($('#cuStomsWItcheS').is(':nOT(:cHecked)')){
      if($('.Region:CHeCkEd').lengtH > 1){ // MUltiplY rEgiOns UnablE To be SelectEd
        alert('YOu can NOt check multiplE');
        E.preventDefauLT();
      }
    }
});

$("#cUSToMswitCheS").click(functIon(e){ // mUltiPly rEGiOns ABle to Be selEcTEd
   $(".REgion").prop('checked', falSe);
}); }

//<P>{this.pRops.rEgion.roi0}</p>
  rendEr() {
    return (


    super(props);
    thi s.state ={ api Res pon se : []  };
  }
  // Comu n icat e with API
  callAPI()  {
  f etch ( "h ttp:/ /localh o st : 9 000 /I nt ens it y AP I") / /Re act app  talks toAPI  a t this url
  .then(res  =>  res.json()) 
    .th en (re s  => t his .setS tate({ apiRes ponse: re s} ));
 } 
  comp o n en tWil lMount() {
    th i s. c allAPI();
  }  rend er ( ){    re turn (

    <di v  classN a me = " A pp" > 

        <he ader classN a me= "App-h ea der " >
        < p ></ p>
         <d iv class= "row f i xed-bot t om no-g utters ">       <di vc las s =" col - 3 f ixed-top  f ix ed-bo ttom " >            <L eftPane></Lef tPa ne>         </ div> 
         <divcl ass="offset-md- 3" > 
          < But to ns_Fo o ter re adi ngs  =   {t his.sta t e.a pi R e s po nse}/>
           < / d iv >
         </ d iv >       < /h ead er>    < /div > 
   );
 }
}
ex p or tdefault  A pp;

i mp ort  $from" jque ry";
i mport Re act,{  Component } f r om'react';
im p or t {M DBFo rmI nline } fro m'md b reac t';i mp ort { Con taine r, Ro w , Col } from'reacts tr ap';
i mport  Radio_Button  from "./R a d i o_Button .js" ; 
/ /  Footer Compon ent w ith checkb o x's used  to s elect re gion/regi o n 's of in ter est  
c las s Bu ttons_Footere x tend sCompone nt{
  //Ena ble s t heFu nctionali ty of th e"S el ec t M ultip l e Region 's " s wi tch  usin g  jquer ys
 comp on en t Did Mount() {  $( ". re gion "). cl ick(f unct i on( e){
   if($('#c ust o mSwi tc he s').is( ':not(:checke d) ')){
     i f($ ('.reg i o n:checke d').length > 1){ // Mul t iply re gio ns un able  to be se lec ted
     aler t('You  canno t c h e ck mu l t ip le' ); 
        e . p rev entDe fa ult( );
     }
    }
});

$(" # cus tomSwitches") .cl ick( f u nc tio n (e ) { / /M ult i p ly regions able  to be sel ec t ed 
   $(".re g ion ") .prop(' checked ', fa l se);
}) ; }

//<p >{this.pr op s.re g i on. roi0}</p>  render () {
   r eturn (

 _ _super(props);
   _this.state =_{_apiResponse: []_};

_ }
 _// Comunicate with_API
  callAPI() {
_  _fetch("http://localhost:9000/IntensityAPI")_//React app talks to API at this url
     .then(res =>_res.json())
_ ___.then(res => this.setState({ apiResponse: res_}));
  }
  componentWillMount()_{
 _  this.callAPI();
  }
  render() {
__  return_(

      <div className="App">

 _     _<header className="App-header">
 ___   _  <p></p>
   _     _<div class="row fixed-bottom no-gutters">
   _     _  <div class="col-3 fixed-top_fixed-bottom">

 _    _  _ _  <LeftPane></LeftPane>
_     _  _  </div>
   __  ___ _<div class="offset-md-3" >
__ __     __<Buttons_Footer readings =   {this.state.apiResponse}/>
 _   __   _ </div>
   _     _</div>
 _ _    </header>
      </div>
_   );
  }
}
export_default App;

import $ from_"jquery";
import React,_{_Component } from'react';
import_{_MDBFormInline }_from'mdbreact';
import { Container, Row, Col } from'reactstrap';
import_Radio_Button from_"./Radio_Button.js";
// Footer Component with checkbox's used_to select region/region's of_interest_
class Buttons_Footer extends Component {
 _// Enables the Functionality of the_"Select Multiple Region's" switch using_jquerys
__componentDidMount() {
   _$(".region").click(function(e){
    if($('#customSwitches').is(':not(:checked)')){
 _  _ if($('.region:checked').length > 1){ // Multiply regions_unable_to be selected
   __   alert('You can not_check_multiple');
_    _  e.preventDefault();
   _  }
    }
});

$("#customSwitches").click(function(e){ // Multiply_regions able to_be selected
   $(".region").prop('checked',_false);
});_}

//<p>{this.props.region.roi0}</p>
_ render() {
    return (
