Revision 36036 branches/v2_0_0_prep/extensions/extWFS2/src/org/gvsig/wfs/gui/panels/WFSOptionsPanel.java
WFSOptionsPanel.java | ||
---|---|---|
15 | 15 |
|
16 | 16 |
import org.gvsig.andami.PluginServices; |
17 | 17 |
import org.gvsig.gui.beans.panelGroup.IPanelGroup; |
18 |
import org.gvsig.remoteclient.wfs.WFSStatus; |
|
19 | 18 |
import org.gvsig.utils.StringUtilities; |
20 | 19 |
import org.gvsig.wfs.gui.panels.model.WFSSelectedFeature; |
21 | 20 |
|
... | ... | |
295 | 294 |
public String getUserName(){ |
296 | 295 |
return getUsernameText().getText(); |
297 | 296 |
} |
297 |
|
|
298 |
public void setUserName(String userName){ |
|
299 |
getUsernameText().setText(userName); |
|
300 |
} |
|
298 | 301 |
|
299 | 302 |
/** |
300 | 303 |
* Gets the password of the user. |
... | ... | |
304 | 307 |
public String getPassword(){ |
305 | 308 |
return getPasswordText().getText(); |
306 | 309 |
} |
310 |
|
|
311 |
public void setPassword(String password){ |
|
312 |
getPasswordText().setText(password); |
|
313 |
} |
|
307 | 314 |
|
308 | 315 |
/** |
309 | 316 |
* Gets the maximum number of values that can load. |
... | ... | |
319 | 326 |
return 10000; |
320 | 327 |
} |
321 | 328 |
} |
329 |
|
|
330 |
public void setBuffer(int buffer){ |
|
331 |
getBufferText().setText(String.valueOf(buffer)); |
|
332 |
} |
|
322 | 333 |
|
323 | 334 |
/** |
324 | 335 |
* Gets the timeout used during the loading process. |
... | ... | |
334 | 345 |
return 10000; |
335 | 346 |
} |
336 | 347 |
} |
348 |
|
|
349 |
public void setTimeOut(int timeOut){ |
|
350 |
getTimeOutText().setText(String.valueOf(timeOut)); |
|
351 |
} |
|
337 | 352 |
|
338 | 353 |
/** |
339 | 354 |
* Gets the reference system of the layer. |
... | ... | |
343 | 358 |
public String getSRS(){ |
344 | 359 |
return getSrsText().getText(); |
345 | 360 |
} |
361 |
|
|
362 |
public void setSRS(String srs){ |
|
363 |
getSrsText().setText(srs); |
|
364 |
} |
|
346 | 365 |
|
347 | 366 |
/** |
348 | 367 |
* This method initializes formatPanel |
... | ... | |
408 | 427 |
} |
409 | 428 |
|
410 | 429 |
/** |
411 |
* Updates the status of this panel. |
|
412 |
* |
|
413 |
* @param status status of the WFS graphical interface. |
|
414 |
*/ |
|
415 |
public void setStatus(WFSStatus status) { |
|
416 |
getBufferText().setText(String.valueOf(status.getMaxFeatures())); |
|
417 |
getTimeOutText().setText(String.valueOf(status.getTimeout())); |
|
418 |
getUsernameText().setText(status.getUserName()); |
|
419 |
getPasswordText().setText(status.getPassword()); |
|
420 |
} |
|
421 |
|
|
422 |
/** |
|
423 | 430 |
* This method initializes jLabelMiliSeconds |
424 | 431 |
* |
425 | 432 |
* @return javax.swing.JLabel |
Also available in: Unified diff