Subversion Repositories eFlore/Applications.coel

Rev

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

Rev Author Line No. Line
703 jp_milcent 1
package org.tela_botanica.client.vues;
2
 
3
import com.extjs.gxt.ui.client.widget.Window;
4
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
5
import com.google.gwt.core.client.GWT;
6
 
7
public class FenetreForm extends Window{
8
 
9
	public FenetreForm(String titre) {
10
		int hauteur = (int) Math.ceil(com.google.gwt.user.client.Window.getClientHeight() * .8);
11
		int largeur = (int) Math.ceil(com.google.gwt.user.client.Window.getClientWidth() * .8);
12
		setSize(largeur, hauteur);
13
		setPlain(true);
14
		setModal(true);
15
		setBlinkModal(true);
16
		setHeading(titre);
17
		setLayout(new FitLayout());
18
	}
19
}