svn-gvsig-desktop / branches / v05 / extensions / extWMS / test / com / iver / cit / gvsig / gui / panels / LayerTreeTest.java @ 3855
History | View | Annotate | Download (3.45 KB)
1 |
package com.iver.cit.gvsig.gui.panels; |
---|---|
2 |
|
3 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
4 |
*
|
5 |
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
8 |
* modify it under the terms of the GNU General Public License
|
9 |
* as published by the Free Software Foundation; either version 2
|
10 |
* of the License, or (at your option) any later version.
|
11 |
*
|
12 |
* This program is distributed in the hope that it will be useful,
|
13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
* GNU General Public License for more details.
|
16 |
*
|
17 |
* You should have received a copy of the GNU General Public License
|
18 |
* along with this program; if not, write to the Free Software
|
19 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
20 |
*
|
21 |
* For more information, contact:
|
22 |
*
|
23 |
* Generalitat Valenciana
|
24 |
* Conselleria d'Infraestructures i Transport
|
25 |
* Av. Blasco Ib??ez, 50
|
26 |
* 46010 VALENCIA
|
27 |
* SPAIN
|
28 |
*
|
29 |
* +34 963862235
|
30 |
* gvsig@gva.es
|
31 |
* www.gvsig.gva.es
|
32 |
*
|
33 |
* or
|
34 |
*
|
35 |
* IVER T.I. S.A
|
36 |
* Salamanca 50
|
37 |
* 46005 Valencia
|
38 |
* Spain
|
39 |
*
|
40 |
* +34 963163400
|
41 |
* dac@iver.es
|
42 |
*/
|
43 |
|
44 |
/* CVS MESSAGES:
|
45 |
*
|
46 |
* $Id: LayerTreeTest.java 3855 2006-01-31 16:25:24Z jaume $
|
47 |
* $Log$
|
48 |
* Revision 1.2.2.3 2006-01-31 16:25:24 jaume
|
49 |
* correcciones de bugs
|
50 |
*
|
51 |
* Revision 1.3 2006/01/26 16:07:14 jaume
|
52 |
* *** empty log message ***
|
53 |
*
|
54 |
* Revision 1.2.2.1 2006/01/26 12:59:33 jaume
|
55 |
* 0.5
|
56 |
*
|
57 |
* Revision 1.2 2006/01/24 14:36:33 jaume
|
58 |
* This is the new version
|
59 |
*
|
60 |
* Revision 1.1.2.1 2006/01/19 16:09:30 jaume
|
61 |
* *** empty log message ***
|
62 |
*
|
63 |
*
|
64 |
*/
|
65 |
/**
|
66 |
*
|
67 |
*/
|
68 |
import com.iver.cit.gvsig.gui.panels.LayerTree; |
69 |
|
70 |
|
71 |
/**
|
72 |
* LayerTree test.
|
73 |
*
|
74 |
* @author jaume
|
75 |
*
|
76 |
*/
|
77 |
public class LayerTreeTest { |
78 |
static String[] texts = new String[] { |
79 |
"Release 2 of the WMS Global Mosaic, a seamless mosaic of Landsat7 scenes.\n"+
|
80 |
"Spatial resolution is 0.5 second for the pan band, 1 second for the visual and near-IR bands and 2 second for the thermal bands\n"+
|
81 |
"Use this layer to request individual grayscale bands. The default styles may have gamma, sharpening and saturation filters applied.\n"+
|
82 |
"The grayscale styles have no extra processing applied, and will return the image data as stored on the server.\n"+
|
83 |
"The source dataset is part of the NASA Scientific Data Purchase, and contains scenes acquired in 1999-2003.\n"+
|
84 |
" This layer provides pan-sharpened images, where the pan band is used for the image brightness regardless of the color combination requested."
|
85 |
|
86 |
, |
87 |
|
88 |
"Release 2 of the WMS Global Mosaic, a seamless mosaic of Landsat7 scenes. Spatial resolution is 0.5 second for the pan band, 1 second for the visual and near-IR bands and 2 second for the thermal bands Use this layer to request individual grayscale bands. The default styles may have gamma, sharpening and saturation filters applied. The grayscale styles have no extra processing applied, and will return the image data as stored on the server. The source dataset is part of the NASA Scientific Data Purchase, and contains scenes acquired in 1999-2003. This layer provides pan-sharpened images, where the pan band is used for the image brightness regardless of the color combination requested."
|
89 |
}; |
90 |
|
91 |
public static void main(String args[]){ |
92 |
for (int i = 0; i < texts.length; i++) { |
93 |
System.out.println(LayerTree.format(texts[i], 80)); |
94 |
} |
95 |
} |
96 |
|
97 |
} |