Revision 1739
branches/CqCMSDvp/libraries/libCq CMS for java.old/src-dvp/org/cresques/io/EcwWriter.java | ||
---|---|---|
404 | 404 |
options.append("<check ident=\"GEOREF\" selected=\""+sel +"\" text=\"Georef Si/No\">"); |
405 | 405 |
options.append("</check>"); |
406 | 406 |
options.append("</panel>"); |
407 |
|
|
407 |
|
|
408 | 408 |
options.append("<panel layout=\"FlowLayout\" position=\"South\">"); |
409 | 409 |
options.append("<slider ident=\"COMPRESSION\" name=\"Nivel de Compresi?n\" sizex=\"350\" sizey=\"20\">"); |
410 | 410 |
options.append("<min>"+this.support.getCompressionList()[0]+"</min>"); |
branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/ui/raster/DataInputProps.java | ||
---|---|---|
473 | 473 |
} |
474 | 474 |
|
475 | 475 |
sliders[contSliders] = new XMLSlider( name, |
476 |
min,
|
|
477 |
max,
|
|
478 |
value,
|
|
479 |
minorspacing,
|
|
480 |
majorspacing);
|
|
476 |
min, |
|
477 |
max, |
|
478 |
value, |
|
479 |
minorspacing, |
|
480 |
majorspacing); |
|
481 | 481 |
sliders[contSliders].position = position; |
482 | 482 |
sliders[contSliders].id = id; |
483 | 483 |
|
... | ... | |
502 | 502 |
public void processText(CXMLParser parser){ |
503 | 503 |
|
504 | 504 |
texts[contTexts] = new XMLText(parser.getAttr("text","text")); |
505 |
|
|
505 |
|
|
506 |
String sizex = parser.getAttr("text","sizex"); |
|
507 |
String sizey = parser.getAttr("text","sizey"); |
|
508 |
if(sizex!=null && !sizex.equals("")) |
|
509 |
texts[contTexts].sizex = Integer.parseInt(sizex); |
|
510 |
if(sizey!=null && !sizey.equals("")) |
|
511 |
texts[contTexts].sizey = Integer.parseInt(sizey); |
|
512 |
|
|
506 | 513 |
//Posicionamiento. En q panel y su posici?n dentro de este |
507 | 514 |
texts[contTexts].numPanel = contPanels-1; |
508 | 515 |
panels[contPanels-1].nElements++; |
... | ... | |
777 | 784 |
|
778 | 785 |
if(sizex!=0 && sizey!=0) |
779 | 786 |
this.setPreferredSize(new java.awt.Dimension(sizex,sizey)); |
780 |
|
|
787 |
|
|
781 | 788 |
} |
782 | 789 |
} |
Also available in: Unified diff