Subversion Repositories eFlore/Archives.cel-v1

Rev

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

Rev Author Line No. Line
2 ddelon 1
/*
2
 * Copyright 2006 Google Inc.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
 * use this file except in compliance with the License. You may obtain a copy of
6
 * the License at
7
 *
8
 * http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
 * License for the specific language governing permissions and limitations under
14
 * the License.
15
 */
16
package org.tela_botanica.client;
17
 
18
import com.google.gwt.user.client.ui.Composite;
19
import com.google.gwt.user.client.ui.HTML;
20
import com.google.gwt.user.client.ui.HorizontalPanel;
11 ddelon 21
import com.google.gwt.user.client.ui.VerticalPanel;
2 ddelon 22
 
23
/**
24
 * Composite permet de wrapper des Widget pour creer un nouveau Widget cf methode initWidget()
25
 */
26
 
27
public class TopPanel extends Composite {
12 ddelon 28
 
11 ddelon 29
 
12 ddelon 30
 
31
  public TopPanel(final Mediator med) {
32
 
33
 
11 ddelon 34
   VerticalPanel outer = new VerticalPanel();
12 ddelon 35
 
11 ddelon 36
 
37
	outer.setHorizontalAlignment(HorizontalPanel.ALIGN_RIGHT);
38
 
39
	 outer.add(new HTML("<b>Carnet en ligne</b>"));
40
 
41
 
42
 
2 ddelon 43
    initWidget(outer);
44
  }
45
 
46
}