Revision 12970 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/SimpleFill.java

View differences:

SimpleFill.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.12  2007-08-03 11:29:13  jaume
46
* Revision 1.13  2007-08-08 10:16:53  jvidal
47
* javadoc
48
*
49
* Revision 1.12  2007/08/03 11:29:13  jaume
47 50
* refactored AbstractTypeSymbolEditorPanel class name to AbastractTypeSymbolEditor
48 51
*
49 52
* Revision 1.11  2007/07/23 07:01:13  jaume
......
131 134
import com.iver.cit.gvsig.gui.panels.ColorChooserPanel;
132 135
import com.iver.cit.gvsig.project.documents.view.legend.gui.JSymbolPreviewButton;
133 136
/**
137
* <b>SimpleFill</b> allows the user to store and modify the properties that fills a
138
* polygon with a padding and an outline<p>
139
* <p>
140
* This functionality is carried out thanks to a tab (simple fill)which is included
141
* in the panel to edit the properities of a symbol (SymbolEditor)how is explained
142
* in AbstractTypeSymbolEditor.<p>
143
* <p>
144
* This tab permits the user to change the color of the padding
145
* (<b>jccFillColor</b>)and its outline (<b>btnOutline</b>).Also the user has the
146
* options to modify the opacity (<b>sldFillTransparency,sldOutlineTransparency</b>)
147
* for both attributes and the width <b>txtOutlineWidth</b> (only for the outline).
134 148
*
135
* @author jaume dominguez faus - jaume.dominguez@iver.es
136 149
*
150
*@see AbstractTypeSymbolEditor
151
*@author jaume dominguez faus - jaume.dominguez@iver.es
137 152
*/
138 153
public class SimpleFill extends AbstractTypeSymbolEditor implements ActionListener, ChangeListener {
139 154
	private static final String NAME = PluginServices.
......
159 174
		return (JPanel[]) tabs.toArray(new JPanel[0]);
160 175
	}
161 176

  
177
	/**
178
	 * Initializes the parameters that allows the user to fill the padding of
179
	 * a polygon with a simplefill style.To do it, a tab (simple fill) is created inside the
180
	 * SymbolEditor panel with default values for the different attributes.
181
	 */
162 182
	private void initialize() {
163 183
		JPanel myTab = new JPanel(new FlowLayout(FlowLayout.LEADING, 5,5));
164 184
		myTab.setName(PluginServices.getText(this, "simple_fill"));
......
232 252
				} else {
233 253
					sldOutlineTransparency.setValue(100);
234 254
				}
235
				
236
				
237 255

  
256

  
257

  
238 258
			}
239 259
		} catch (IndexOutOfBoundsException ioEx) {
240 260
			NotificationManager.addWarning("Symbol layer index out of bounds", ioEx);

Also available in: Unified diff