Subversion Repositories eFlore/Applications.coel

Rev

Rev 1790 | 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
 
1790 aurelien 7
public class FenetreForm extends Window {
703 jp_milcent 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);
1680 raphael 16
		setHeadingHtml(titre);
703 jp_milcent 17
		setLayout(new FitLayout());
1790 aurelien 18
		setOnEsc(false);
703 jp_milcent 19
	}
20
}