Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 12 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12 Rev 13
Line 14... Line 14...
14
 * the License.
14
 * the License.
15
 */
15
 */
16
package org.tela_botanica.client;
16
package org.tela_botanica.client;
Line 17... Line 17...
17
 
17
 
18
import com.google.gwt.user.client.ui.Composite;
-
 
19
import com.google.gwt.user.client.ui.HorizontalPanel;
18
import com.google.gwt.user.client.ui.Composite;
Line 20... Line 19...
20
import com.google.gwt.user.client.ui.VerticalPanel;
19
import com.google.gwt.user.client.ui.StackPanel;
Line 21... Line 20...
21
 
20
 
22
import org.tela_botanica.client.LocationList;
21
import org.tela_botanica.client.LocationList;
Line 29... Line 28...
29
 private LocationList locationList = null;
28
 private LocationList locationList = null;
30
 private DateList dateList = null;
29
 private DateList dateList = null;
Line 31... Line 30...
31
 
30
 
Line 32... Line -...
32
  public LeftPanel(Mediator mediator) {
-
 
33
 
31
  public LeftPanel(Mediator mediator) {
34
	HorizontalPanel inner = new HorizontalPanel();
32
 
Line 35... Line 33...
35
	dateList = new DateList(mediator);
33
	dateList = new DateList(mediator);
36
	locationList = new LocationList(mediator);
34
	locationList = new LocationList(mediator);
Line 37... Line 35...
37
	
35
	
38
	dateList.setStyleName("dateList");
-
 
Line 39... Line -...
39
	locationList.setStyleName("locationList");
-
 
40
	
36
	dateList.setStyleName("dateList");
41
	VerticalPanel outer = new VerticalPanel();
37
	locationList.setStyleName("locationList");
42
 
-
 
Line -... Line 38...
-
 
38
	
-
 
39
	StackPanel outer = new StackPanel();
-
 
40
	
-
 
41
    outer.add(locationList,"Communes");
-
 
42
    outer.add(dateList,"Dates");
-
 
43
 
-
 
44
    // Create the groups within the stack panel.
43
	
45
    outer.add(locationList, "<b>Localit&eacute;s</b>", true);
44
    outer.add(inner);
46
    outer.add(dateList, "<b>Dates</b>", true);
Line -... Line 47...
-
 
47
 
-
 
48
    
45
    outer.add(locationList);
49
    outer.showStack(0);