Revision 10962 trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/buttonspanel/ButtonsPanel.java
ButtonsPanel.java | ||
---|---|---|
51 | 51 |
public static final int BUTTON_EXIT = 7; |
52 | 52 |
public static final int BUTTON_SEEDETAILS = 8; |
53 | 53 |
public static final int BUTTON_HIDEDETAILS = 9; |
54 |
public static final int BUTTON_PAUSE = 10; |
|
55 |
public static final int BUTTON_RESTART = 11; |
|
54 | 56 |
|
55 | 57 |
public static final int BUTTONS_ACCEPT = 1; |
56 | 58 |
public static final int BUTTONS_ACCEPTCANCEL = 2; |
... | ... | |
188 | 190 |
} |
189 | 191 |
|
190 | 192 |
/** |
193 |
* A?adir el boton Pausar. |
|
194 |
*/ |
|
195 |
public void addPause() { |
|
196 |
addButton(Messages.getText("pausar"), BUTTON_PAUSE); |
|
197 |
} |
|
198 |
|
|
199 |
/** |
|
200 |
* A?adir el boton Reanudar. |
|
201 |
*/ |
|
202 |
public void addRestart() { |
|
203 |
addButton(Messages.getText("reanudar"), BUTTON_RESTART); |
|
204 |
} |
|
205 |
|
|
206 |
/** |
|
191 | 207 |
* A?adimos un bot?n definido por el usuario. |
192 | 208 |
* |
193 | 209 |
* @param text Texto que contendr? el bot?n |
... | ... | |
206 | 222 |
|
207 | 223 |
add(button); |
208 | 224 |
} |
209 |
|
|
225 |
|
|
210 | 226 |
/** |
211 | 227 |
* Obtener un bot?n por su Entero |
212 | 228 |
* @param id N?mero del disparador del bot?n |
Also available in: Unified diff