Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 25 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26 ddelon 1
/**
2
 David Delon david.delon@clapas.net 2007
3
 
4
 */
5
 
10 ddelon 6
/*
26 ddelon 7
 * LeftPanel.java  : filtrage des releves (par communes, lieu-dit, dates ....)
10 ddelon 8
 *
9
 *
26 ddelon 10
 * 1: Le programme initialise les filtres communes, lieu-dit et dates)
10 ddelon 11
 */
26 ddelon 12
 
13
 
10 ddelon 14
package org.tela_botanica.client;
15
 
26 ddelon 16
 
10 ddelon 17
import com.google.gwt.user.client.ui.Composite;
13 ddelon 18
import com.google.gwt.user.client.ui.StackPanel;
10 ddelon 19
 
20
import org.tela_botanica.client.LocationList;
21
 
22
/**
23
 */
24
 
25
public class LeftPanel extends Composite {
26
 
27
 private LocationList locationList = null;
12 ddelon 28
 private DateList dateList = null;
14 ddelon 29
 private StationList stationList = null;
25 ddelon 30
 private Mediator mediator=null;
10 ddelon 31
 
25 ddelon 32
  public LeftPanel(Mediator med) {
10 ddelon 33
 
25 ddelon 34
	mediator=med;
35
	mediator.registerLeftPanel(this);
36
 
37
 
12 ddelon 38
	dateList = new DateList(mediator);
10 ddelon 39
	locationList = new LocationList(mediator);
14 ddelon 40
	stationList = new StationList(mediator);
12 ddelon 41
 
42
	dateList.setStyleName("dateList");
43
	locationList.setStyleName("locationList");
14 ddelon 44
	locationList.setStyleName("stationList");
12 ddelon 45
 
13 ddelon 46
	StackPanel outer = new StackPanel();
10 ddelon 47
 
13 ddelon 48
    // Create the groups within the stack panel.
49
    outer.add(locationList, "<b>Localit&eacute;s</b>", true);
14 ddelon 50
    outer.add(stationList,"<b>Stations</b>",true);
13 ddelon 51
    outer.add(dateList, "<b>Dates</b>", true);
52
 
53
 
54
    outer.showStack(0);
55
 
10 ddelon 56
    initWidget(outer);
57
  }
58
 
13 ddelon 59
 
60
 
10 ddelon 61
}
26 ddelon 62
 
63
/* +--Fin du code ---------------------------------------------------------------------------------------+
64
* $Log$
65
*
66
*/