Revision 760 2.1/trunk/org.gvsig.view3d/org.gvsig.view3d.vector/org.gvsig.view3d.vector.swing/org.gvsig.view3d.vector.swing.impl/src/main/java/org/gvsig/view3d/vector/swing/impl/JVectorExtrusionLoaderParametersView.java

View differences:

JVectorExtrusionLoaderParametersView.java
8 8
import java.awt.Dimension;
9 9
import javax.swing.Box;
10 10
import javax.swing.ImageIcon;
11
import javax.swing.JButton;
12 11
import javax.swing.JComboBox;
13 12
import javax.swing.JFrame;
14 13
import javax.swing.JLabel;
......
20 19
{
21 20
   JLabel elevationModeText = new JLabel();
22 21
   JLabel defaultColorText = new JLabel();
22
   JLabel heightFieldText = new JLabel();
23 23
   JLabel constantHeightText = new JLabel();
24
   JLabel verticalExaggerationText = new JLabel();
25
   JComboBox heightField = new JComboBox();
26
   JTextField constantHeight = new JTextField();
27
   JTextField verticalExaggeration = new JTextField();
24 28
   JComboBox elevationMode = new JComboBox();
25
   JButton defaultColor = new JButton();
26
   JTextField constantHeight = new JTextField();
29
   JPanel defaultColorPanel = new JPanel();
27 30

  
28 31
   /**
29 32
    * Default constructor
......
115 118
   public JPanel createPanel()
116 119
   {
117 120
      JPanel jpanel1 = new JPanel();
118
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE");
121
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE");
119 122
      CellConstraints cc = new CellConstraints();
120 123
      jpanel1.setLayout(formlayout1);
121 124

  
......
127 130
      defaultColorText.setText("default_color");
128 131
      jpanel1.add(defaultColorText,cc.xy(1,4));
129 132

  
133
      heightFieldText.setName("heightFieldText");
134
      heightFieldText.setText("height_field");
135
      jpanel1.add(heightFieldText,cc.xy(1,6));
136

  
130 137
      constantHeightText.setName("constantHeightText");
131 138
      constantHeightText.setText("constant_height");
132
      jpanel1.add(constantHeightText,cc.xy(1,6));
139
      jpanel1.add(constantHeightText,cc.xy(1,8));
133 140

  
134
      elevationMode.setName("elevationMode");
135
      jpanel1.add(elevationMode,cc.xy(3,2));
141
      verticalExaggerationText.setName("verticalExaggerationText");
142
      verticalExaggerationText.setText("vertical_exaggeration");
143
      jpanel1.add(verticalExaggerationText,cc.xy(1,10));
136 144

  
137
      defaultColor.setActionCommand("...");
138
      defaultColor.setName("defaultColor");
139
      defaultColor.setText("...");
140
      jpanel1.add(defaultColor,cc.xy(3,4));
145
      heightField.setName("heightField");
146
      jpanel1.add(heightField,cc.xywh(3,6,2,1));
141 147

  
142 148
      constantHeight.setName("constantHeight");
143
      jpanel1.add(constantHeight,cc.xy(3,6));
149
      jpanel1.add(constantHeight,cc.xywh(3,8,2,1));
144 150

  
145
      addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,3,5,7 });
151
      verticalExaggeration.setName("verticalExaggeration");
152
      jpanel1.add(verticalExaggeration,cc.xywh(3,10,2,1));
153

  
154
      elevationMode.setName("elevationMode");
155
      jpanel1.add(elevationMode,cc.xywh(3,2,2,1));
156

  
157
      defaultColorPanel.setName("defaultColorPanel");
158
      jpanel1.add(defaultColorPanel,cc.xy(3,4));
159

  
160
      addFillComponents(jpanel1,new int[]{ 1,2,3,4 },new int[]{ 1,3,5,7,9,11 });
146 161
      return jpanel1;
147 162
   }
148 163

  

Also available in: Unified diff