comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java @ 81:1d0fb625248d

Replaced next button image with smart gwt button. flys-client/trunk@1588 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 28 Mar 2011 13:24:13 +0000
parents f793d35bfb08
children 4784ca718476
comparison
equal deleted inserted replaced
80:a26489e55730 81:1d0fb625248d
7 7
8 import com.smartgwt.client.widgets.Canvas; 8 import com.smartgwt.client.widgets.Canvas;
9 import com.smartgwt.client.widgets.Img; 9 import com.smartgwt.client.widgets.Img;
10 import com.smartgwt.client.widgets.events.ClickEvent; 10 import com.smartgwt.client.widgets.events.ClickEvent;
11 import com.smartgwt.client.widgets.events.ClickHandler; 11 import com.smartgwt.client.widgets.events.ClickHandler;
12 import com.smartgwt.client.widgets.Button;
12 13
13 import de.intevation.flys.client.client.FLYSMessages; 14 import de.intevation.flys.client.client.FLYSMessages;
14 import de.intevation.flys.client.client.event.HasStepBackHandlers; 15 import de.intevation.flys.client.client.event.HasStepBackHandlers;
15 import de.intevation.flys.client.client.event.HasStepForwardHandlers; 16 import de.intevation.flys.client.client.event.HasStepForwardHandlers;
16 import de.intevation.flys.client.client.event.StepBackEvent; 17 import de.intevation.flys.client.client.event.StepBackEvent;
119 * Creates the 'next' button to step forward to the next state. 120 * Creates the 'next' button to step forward to the next state.
120 * 121 *
121 * @return the 'next' button. 122 * @return the 'next' button.
122 */ 123 */
123 protected Canvas getNextButton() { 124 protected Canvas getNextButton() {
124 Img go = new Img(MSG.imageNext(), 80, 25); 125 Button next = new Button(MSG.buttonNext());
125 go.addClickHandler(this); 126 next.addClickHandler(this);
126 127
127 return go; 128 return next;
128 } 129 }
129 130
130 131
131 /** 132 /**
132 * Creates the 'back' button to step back to a previous state. 133 * Creates the 'back' button to step back to a previous state.

http://dive4elements.wald.intevation.org