Subversion Repositories eFlore/Applications.coel

Rev

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

package org.tela_botanica.client.vues;

import org.tela_botanica.client.ComposantId;

import com.extjs.gxt.ui.client.Style.Orientation;
import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.StatusBar;
import com.extjs.gxt.ui.client.widget.layout.RowLayout;

public class StatutVue extends LayoutContainer {
        private StatusBar barreStatut = null;
        
        public StatutVue() {
                setLayout(new RowLayout(Orientation.HORIZONTAL));
                setId(ComposantId.PANNEAU_STATUT);
                
                barreStatut = new StatusBar();
                add(barreStatut);
        }
        
        public void showBusy(String message) {
                barreStatut.showBusy(message);
        }
        
        public void clear() {
                barreStatut.clear();
        }
}