Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 25 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

/**
 David Delon david.delon@clapas.net 2007
 
 */

/*
 * LeftPanel.java  : filtrage des releves (par communes, lieu-dit, dates ....)
 * 
 * 
 * 1: Le programme initialise les filtres communes, lieu-dit et dates)
 */


package org.tela_botanica.client;


import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.StackPanel;

import org.tela_botanica.client.LocationList;

/**
 */

public class LeftPanel extends Composite {

 private LocationList locationList = null;
 private DateList dateList = null;
 private StationList stationList = null;
 private Mediator mediator=null;

  public LeftPanel(Mediator med) {

        mediator=med;
        mediator.registerLeftPanel(this);               
                
        
        dateList = new DateList(mediator);
        locationList = new LocationList(mediator);
        stationList = new StationList(mediator);
        
        dateList.setStyleName("dateList");
        locationList.setStyleName("locationList");
        locationList.setStyleName("stationList");
        
        StackPanel outer = new StackPanel();
        
    // Create the groups within the stack panel.
    outer.add(locationList, "<b>Localit&eacute;s</b>", true);
    outer.add(stationList,"<b>Stations</b>",true);
    outer.add(dateList, "<b>Dates</b>", true);

    
    outer.showStack(0);
    
    initWidget(outer);
  }


  
}

/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log$
* 
*/