Revision 228 org.gvsig.raster.app/trunk/org.gvsig.raster.app/org.gvsig.raster.app.wmtsclient/src/main/java/org/gvsig/raster/app/extension/wmtsclient/gui/panel/StylesPanel.java
StylesPanel.java | ||
---|---|---|
22 | 22 |
|
23 | 23 |
package org.gvsig.raster.app.extension.wmtsclient.gui.panel; |
24 | 24 |
|
25 |
import java.awt.BorderLayout; |
|
26 |
|
|
25 | 27 |
import javax.swing.JScrollPane; |
26 | 28 |
|
27 | 29 |
import org.gvsig.gui.beans.DefaultBean; |
28 | 30 |
|
29 |
|
|
30 | 31 |
/** |
31 |
* This is the Styles tab of the WMS wizard. |
|
32 |
* |
|
33 |
* @author jaume dominguez faus - jaume.dominguez@iver.es |
|
34 |
* |
|
32 |
* This is the Styles tab of the WMTS wizard. |
|
33 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
|
35 | 34 |
*/ |
36 | 35 |
class StylesPanel extends DefaultBean{ |
37 |
private static final long serialVersionUID = 1L;
|
|
38 |
private JScrollPane jScrollPane = null;
|
|
39 |
private StyleTree treeStyles = null;
|
|
36 |
private static final long serialVersionUID = 1L;
|
|
37 |
private JScrollPane jScrollPane = null;
|
|
38 |
private StyleTree treeStyles = null;
|
|
40 | 39 |
|
41 | 40 |
public StylesPanel() { |
42 | 41 |
super(); |
43 |
setLayout(null);
|
|
44 |
add(getJScrollPane(), null);
|
|
42 |
setLayout(new BorderLayout());
|
|
43 |
add(getJScrollPane(), BorderLayout.CENTER);
|
|
45 | 44 |
} |
46 | 45 |
|
47 | 46 |
/** |
... | ... | |
52 | 51 |
private JScrollPane getJScrollPane() { |
53 | 52 |
if (jScrollPane == null) { |
54 | 53 |
jScrollPane = new JScrollPane(); |
55 |
jScrollPane.setBounds(7, 10, 483, 367); |
|
56 | 54 |
jScrollPane.setViewportView(getStyleTree()); |
57 | 55 |
} |
58 | 56 |
return jScrollPane; |
... | ... | |
68 | 66 |
treeStyles = new StyleTree(); |
69 | 67 |
treeStyles.addMouseListener(new java.awt.event.MouseAdapter() { |
70 | 68 |
public void mouseClicked(java.awt.event.MouseEvent e) { |
71 |
|
|
72 | 69 |
//StyleTreeModel model = (StyleTreeModel) treeStyles.getModel(); |
73 | 70 |
//callValueChanged(model.getStylesSelection(/*parent.selectedLayersToArray()*/)); |
74 | 71 |
callValueChanged(null); |
Also available in: Unified diff