Subversion Repositories eFlore/Applications.del

Rev

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

package org.tela_botanica.del.client.composants.motsclesimages;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.Widget;

public class MotsClesImageVue extends Composite  implements MotsClesImagePresenteur.Vue {
        
        @UiField
        public Panel motsCles;
        
        @UiField
        public Panel saisieMotsCles;

        interface MyUiBinder extends UiBinder<Widget, MotsClesImageVue> {
                
        }

        private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);

        public MotsClesImageVue() {
                // sets listBox
                initWidget(uiBinder.createAndBindUi(this));
        }
        
        @Override
        public void viderZoneMotsCles() {
                motsCles.clear();
        }

        @Override
        public HasWidgets getZoneMotsCles() {
                return motsCles;
        }
        
        @Override
        public HasWidgets getZoneSaisieMotsCles() {
                return saisieMotsCles;
        }
}