Changeset 33269 in osm
- Timestamp:
- 2017-04-20T20:56:53+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters
- Files:
-
- 16 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/RasterFiltersPlugin.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters; 2 3 import java.awt.Container; 4 import java.io.File; 5 import java.io.IOException; 6 7 import javax.swing.JPanel; 2 8 3 9 import org.openstreetmap.josm.Main; … … 15 21 import org.openstreetmap.josm.plugins.Plugin; 16 22 import org.openstreetmap.josm.plugins.PluginInformation; 17 import org.openstreetmap.josm.plugins.rasterfilters.actions.Show LayerFiltersDialog;23 import org.openstreetmap.josm.plugins.rasterfilters.actions.ShowFiltersDialogAction; 18 24 import org.openstreetmap.josm.plugins.rasterfilters.gui.FiltersDialog; 19 25 import org.openstreetmap.josm.plugins.rasterfilters.preferences.FiltersDownloader; 20 26 import org.openstreetmap.josm.plugins.rasterfilters.preferences.RasterFiltersPreferences; 21 27 22 import javax.swing.*;23 import java.awt.*;24 import java.io.File;25 import java.io.IOException;26 28 27 29 /** … … 30 32 * 31 33 * @author Nipel-Crumple 32 *33 34 */ 34 35 public class RasterFiltersPlugin extends Plugin implements LayerChangeListener, ActiveLayerChangeListener { 35 36 36 37 private SideButton filterButton; 37 private Show LayerFiltersDialogaction;38 private ShowFiltersDialogAction action; 38 39 private PreferenceSetting setting; 39 40 … … 86 87 87 88 if (action == null) { 88 action = new Show LayerFiltersDialog();89 action = new ShowFiltersDialogAction(); 89 90 } 90 91 … … 122 123 if (Main.getLayerManager().getLayers().isEmpty()) { 123 124 Container container = filterButton.getParent(); 124 if (container != null) 125 if (container != null) { 125 126 container.remove(filterButton); 127 } 126 128 127 129 FiltersDownloader.destroyFilters(); -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/actions/ShowFiltersDialogAction.java
r33268 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.actions; 2 3 import java.awt.Component; 4 import java.awt.event.ActionEvent; 5 import java.net.MalformedURLException; 6 import java.util.ArrayList; 7 import java.util.List; 8 9 import javax.swing.AbstractAction; 10 import javax.swing.JMenuItem; 2 11 3 12 import org.openstreetmap.josm.Main; … … 8 17 import org.openstreetmap.josm.tools.ImageProvider; 9 18 10 import javax.swing.*;11 import java.awt.*;12 import java.awt.event.ActionEvent;13 import java.net.MalformedURLException;14 import java.util.ArrayList;15 import java.util.List;16 17 19 import static org.openstreetmap.josm.tools.I18n.tr; 18 20 19 21 /** 20 22 * The action that is called when user click on 'Choose filters' button 21 * <p>22 * and sets image on that button23 23 * 24 24 * @author Nipel-Crumple 25 25 */ 26 public final class Show LayerFiltersDialogextends AbstractAction implements LayerAction {26 public final class ShowFiltersDialogAction extends AbstractAction implements LayerAction { 27 27 28 28 private List<FiltersDialog> dialogs = new ArrayList<>(); 29 29 30 30 /** 31 * Constructs a new {@code Show LayerFiltersDialog}.31 * Constructs a new {@code ShowFiltersDialogAction}. 32 32 */ 33 public Show LayerFiltersDialog() {33 public ShowFiltersDialogAction() { 34 34 putValue(NAME, tr("Filters")); 35 35 putValue(SHORT_DESCRIPTION, tr("Choose Filter")); 36 putValue( SMALL_ICON, ImageProvider.get("josm_filters_48.png"));36 putValue("ImageResource", new ImageProvider("josm_filters_48.png").getResource()); 37 37 } 38 38 … … 55 55 if (temp.getLayer().equals(layer)) { 56 56 try { 57 temp.createAndShowG UI();57 temp.createAndShowGui(); 58 58 } catch (MalformedURLException e1) { 59 59 e1.printStackTrace(); … … 63 63 64 64 } 65 } else { 66 Main.debug("The layer is not the instance of " + ImageryLayer.class.getCanonicalName()); 65 67 } 66 68 } -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/filters/Filter.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.filters; 2 2 3 import javax.json.JsonObject;4 3 import java.awt.image.BufferedImage; 5 4 import java.rmi.server.UID; 5 6 import javax.json.JsonObject; 6 7 7 8 /** … … 27 28 * @return json object 'filterState' 28 29 */ 29 publicJsonObject changeFilterState(JsonObject filterState);30 JsonObject changeFilterState(JsonObject filterState); 30 31 31 32 /** … … 37 38 * @return processed image 38 39 */ 39 publicBufferedImage applyFilter(BufferedImage img);40 BufferedImage applyFilter(BufferedImage img); 40 41 41 42 /** … … 45 46 * @param id sets value of ID field 46 47 */ 47 publicvoid setId(UID id);48 void setId(UID id); 48 49 49 50 /** … … 52 53 * @return id of filter 53 54 */ 54 publicUID getId();55 UID getId(); 55 56 } -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/gui/FilterGuiListener.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.gui; 2 2 3 import com.bric.swing.ColorPicker; 4 import org.openstreetmap.josm.plugins.rasterfilters.model.FilterStateModel; 5 import org.openstreetmap.josm.plugins.rasterfilters.model.StateChangeListener; 6 import org.openstreetmap.josm.plugins.rasterfilters.values.BooleanValue; 7 import org.openstreetmap.josm.plugins.rasterfilters.values.ColorValue; 8 import org.openstreetmap.josm.plugins.rasterfilters.values.SelectValue; 9 import org.openstreetmap.josm.plugins.rasterfilters.values.SliderValue; 10 11 import javax.swing.*; 12 import javax.swing.event.ChangeEvent; 13 import javax.swing.event.ChangeListener; 14 import java.awt.*; 3 import java.awt.Color; 15 4 import java.awt.event.ActionEvent; 16 5 import java.awt.event.ActionListener; … … 23 12 import java.util.Set; 24 13 14 import javax.swing.ComboBoxModel; 15 import javax.swing.JCheckBox; 16 import javax.swing.JComboBox; 17 import javax.swing.JSlider; 18 import javax.swing.event.ChangeEvent; 19 import javax.swing.event.ChangeListener; 20 21 import com.bric.swing.ColorPicker; 22 import org.openstreetmap.josm.plugins.rasterfilters.model.FilterStateModel; 23 import org.openstreetmap.josm.plugins.rasterfilters.model.StateChangeListener; 24 import org.openstreetmap.josm.plugins.rasterfilters.values.BooleanValue; 25 import org.openstreetmap.josm.plugins.rasterfilters.values.ColorValue; 26 import org.openstreetmap.josm.plugins.rasterfilters.values.SelectValue; 27 import org.openstreetmap.josm.plugins.rasterfilters.values.SliderValue; 28 25 29 /** 26 30 * This class is GUI listener which tracks all changes of GUI controls … … 30 34 */ 31 35 public class FilterGuiListener implements ChangeListener, ItemListener, 32 ActionListener, PropertyChangeListener, FilterStateOwner { 36 ActionListener, PropertyChangeListener, FilterStateOwner 37 { 33 38 34 39 private StateChangeListener handler; … … 133 138 134 139 // notify about state is changed now so send msg to FiltersManager 135 if (handler != null) 140 if (handler != null) { 136 141 handler.filterStateChanged(filterId, filterState); 142 } 137 143 138 144 } -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/gui/FilterPanel.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.gui; 2 2 3 import com.bric.swing.ColorPicker; 4 import org.openstreetmap.josm.Main; 5 import org.openstreetmap.josm.plugins.rasterfilters.model.FiltersManager; 6 7 import javax.json.JsonArray; 8 import javax.json.JsonObject; 9 import javax.swing.*; 10 import javax.swing.border.Border; 11 import javax.swing.border.EmptyBorder; 12 import java.awt.*; 3 import java.awt.Color; 4 import java.awt.Component; 5 import java.awt.Dimension; 6 import java.awt.FlowLayout; 7 import java.awt.Font; 13 8 import java.awt.event.ActionListener; 14 9 import java.awt.event.ItemListener; 15 10 import java.rmi.server.UID; 16 11 import java.util.Hashtable; 12 13 import javax.json.JsonArray; 14 import javax.json.JsonObject; 15 import javax.swing.BorderFactory; 16 import javax.swing.Box; 17 import javax.swing.BoxLayout; 18 import javax.swing.DefaultComboBoxModel; 19 import javax.swing.JButton; 20 import javax.swing.JCheckBox; 21 import javax.swing.JComboBox; 22 import javax.swing.JComponent; 23 import javax.swing.JLabel; 24 import javax.swing.JOptionPane; 25 import javax.swing.JPanel; 26 import javax.swing.JSlider; 27 import javax.swing.border.Border; 28 import javax.swing.border.EmptyBorder; 29 30 import com.bric.swing.ColorPicker; 31 import org.openstreetmap.josm.Main; 32 import org.openstreetmap.josm.plugins.rasterfilters.model.FiltersManager; 17 33 18 34 import static org.openstreetmap.josm.tools.I18n.tr; … … 230 246 231 247 Main.debug("Slider is integer\n"); 232 Main.debug("minValue: " + String.valueOf(minValue) +233 "maxValue: " + String.valueOf(maxValue));248 Main.debug("minValue: " + String.valueOf(minValue) 249 + "maxValue: " + String.valueOf(maxValue)); 234 250 try { 235 251 slider = new JSlider(JSlider.HORIZONTAL, minValue, maxValue, … … 253 269 double minValueDouble = array.getJsonNumber(0).doubleValue(); 254 270 double maxValueDouble = array.getJsonNumber(1).doubleValue(); 255 Main.debug("DminValue: " + String.valueOf(minValueDouble) +256 "DmaxValue: " + String.valueOf(maxValueDouble));271 Main.debug("DminValue: " + String.valueOf(minValueDouble) 272 + "DmaxValue: " + String.valueOf(maxValueDouble)); 257 273 258 274 int minValue = (int) (minValueDouble * 100); -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/gui/FilterStateOwner.java
r32853 r33269 4 4 5 5 /** 6 * Filter state's keeper. This interface is implemented by {@link FilterGuiListe ener}.6 * Filter state's keeper. This interface is implemented by {@link FilterGuiListener}. 7 7 * 8 8 * @author Nipel-Crumple … … 10 10 public interface FilterStateOwner { 11 11 12 publicFilterStateModel getState();12 FilterStateModel getState(); 13 13 14 14 } -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/gui/FiltersDialog.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.gui; 2 2 3 import org.openstreetmap.josm.gui.layer.ImageryLayer; 4 import org.openstreetmap.josm.gui.layer.Layer; 5 import org.openstreetmap.josm.plugins.rasterfilters.model.FiltersManager; 6 import org.openstreetmap.josm.plugins.rasterfilters.preferences.FiltersDownloader; 7 8 import javax.swing.*; 9 import javax.swing.border.EmptyBorder; 10 import java.awt.*; 3 import java.awt.Color; 4 import java.awt.Component; 5 import java.awt.Dimension; 11 6 import java.awt.event.ActionEvent; 12 7 import java.awt.event.ActionListener; … … 14 9 import java.util.HashSet; 15 10 import java.util.Set; 11 12 import javax.swing.Box; 13 import javax.swing.BoxLayout; 14 import javax.swing.DefaultComboBoxModel; 15 import javax.swing.JButton; 16 import javax.swing.JComboBox; 17 import javax.swing.JFrame; 18 import javax.swing.JLabel; 19 import javax.swing.JPanel; 20 import javax.swing.JScrollPane; 21 import javax.swing.border.EmptyBorder; 22 23 import org.openstreetmap.josm.gui.layer.ImageryLayer; 24 import org.openstreetmap.josm.gui.layer.Layer; 25 import org.openstreetmap.josm.plugins.rasterfilters.model.FiltersManager; 26 import org.openstreetmap.josm.plugins.rasterfilters.preferences.FiltersDownloader; 16 27 17 28 /** … … 71 82 } 72 83 73 public JFrame createAndShowG UI() throws MalformedURLException {84 public JFrame createAndShowGui() throws MalformedURLException { 74 85 listModel.removeAllElements(); 75 86 … … 167 178 } 168 179 169 if (FiltersDownloader.filterTitles.isEmpty() 170 || listModel.getSize() == 0) { 180 if (FiltersDownloader.filterTitles.isEmpty() || listModel.getSize() == 0) { 171 181 addButton.setEnabled(false); 172 182 filterChooser.setEnabled(false); -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/model/FilterStateModel.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.model; 2 2 3 import org.openstreetmap.josm.plugins.rasterfilters.values.*; 3 import java.awt.Color; 4 import java.util.HashMap; 5 import java.util.Map; 6 import java.util.Map.Entry; 4 7 5 8 import javax.json.Json; 6 9 import javax.json.JsonObject; 7 10 import javax.json.JsonObjectBuilder; 8 import java.awt.*; 9 import java.util.HashMap; 10 import java.util.Map; 11 import java.util.Map.Entry; 11 12 import org.openstreetmap.josm.plugins.rasterfilters.values.BooleanValue; 13 import org.openstreetmap.josm.plugins.rasterfilters.values.ColorValue; 14 import org.openstreetmap.josm.plugins.rasterfilters.values.SelectValue; 15 import org.openstreetmap.josm.plugins.rasterfilters.values.SliderValue; 16 import org.openstreetmap.josm.plugins.rasterfilters.values.Value; 12 17 13 18 /** -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/model/FiltersManager.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.model; 2 3 import java.awt.Dimension; 4 import java.awt.event.ActionEvent; 5 import java.awt.event.ActionListener; 6 import java.awt.event.ItemEvent; 7 import java.awt.event.ItemListener; 8 import java.awt.image.BufferedImage; 9 import java.rmi.server.UID; 10 import java.util.HashSet; 11 import java.util.Iterator; 12 import java.util.LinkedHashMap; 13 import java.util.Map; 14 import java.util.Set; 15 16 import javax.json.JsonArray; 17 import javax.json.JsonObject; 18 import javax.swing.BorderFactory; 19 import javax.swing.JButton; 20 import javax.swing.JCheckBox; 21 import javax.swing.JComboBox; 22 import javax.swing.JComponent; 23 import javax.swing.JPanel; 24 import javax.swing.JSlider; 2 25 3 26 import com.bric.swing.ColorPicker; … … 10 33 import org.openstreetmap.josm.plugins.rasterfilters.preferences.FiltersDownloader; 11 34 12 import javax.json.JsonArray;13 import javax.json.JsonObject;14 import javax.swing.*;15 import java.awt.*;16 import java.awt.event.ActionEvent;17 import java.awt.event.ActionListener;18 import java.awt.event.ItemEvent;19 import java.awt.event.ItemListener;20 import java.awt.image.BufferedImage;21 import java.rmi.server.UID;22 import java.util.*;23 35 24 36 /** … … 28 40 * @author Nipel-Crumple 29 41 */ 30 public class FiltersManager implements StateChangeListener, ImageProcessor, 31 ActionListener, ItemListener { 42 public class FiltersManager implements StateChangeListener, ImageProcessor, ActionListener, ItemListener { 32 43 33 44 public Map<UID, Filter> filtersMap = new LinkedHashMap<>(); … … 139 150 public void filterStateChanged(UID filterId, FilterStateModel filterState) { 140 151 141 if (filtersMap.get(filterId) != null) 152 if (filtersMap.get(filterId) != null) { 142 153 filtersMap.get(filterId).changeFilterState(filterState.encodeJson()); 154 } 143 155 144 156 if (Main.getLayerManager().getActiveLayer() != null) { -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/model/StateChangeListener.java
r32853 r33269 11 11 public interface StateChangeListener { 12 12 13 publicvoid filterStateChanged(UID filterId, FilterStateModel filterState);13 void filterStateChanged(UID filterId, FilterStateModel filterState); 14 14 15 15 } -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/preferences/FiltersDownloader.java
r33113 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.preferences; 2 3 import java.awt.event.ActionEvent; 4 import java.awt.event.ActionListener; 5 import java.io.BufferedInputStream; 6 import java.io.BufferedOutputStream; 7 import java.io.BufferedReader; 8 import java.io.BufferedWriter; 9 import java.io.File; 10 import java.io.FileOutputStream; 11 import java.io.IOException; 12 import java.io.StringReader; 13 import java.net.HttpURLConnection; 14 import java.net.MalformedURLException; 15 import java.net.URL; 16 import java.net.URLClassLoader; 17 import java.net.URLConnection; 18 import java.nio.charset.StandardCharsets; 19 import java.nio.file.Files; 20 import java.util.ArrayList; 21 import java.util.HashMap; 22 import java.util.HashSet; 23 import java.util.List; 24 import java.util.Map; 25 import java.util.Set; 26 import java.util.TreeSet; 27 import java.util.regex.Matcher; 28 import java.util.regex.Pattern; 29 30 import javax.json.Json; 31 import javax.json.JsonArray; 32 import javax.json.JsonObject; 33 import javax.json.JsonReader; 2 34 3 35 import org.jsoup.Jsoup; … … 6 38 import org.jsoup.select.Elements; 7 39 import org.openstreetmap.josm.Main; 8 9 import javax.json.Json;10 import javax.json.JsonArray;11 import javax.json.JsonObject;12 import javax.json.JsonReader;13 import java.awt.event.ActionEvent;14 import java.awt.event.ActionListener;15 import java.io.*;16 import java.net.*;17 import java.nio.charset.StandardCharsets;18 import java.nio.file.Files;19 import java.util.*;20 import java.util.regex.Matcher;21 import java.util.regex.Pattern;22 40 23 41 /** … … 103 121 String paramName = "rasterfilters." 104 122 + meta.getString("name"); 105 123 106 124 boolean needToLoad = Main.pref.getBoolean(paramName); 107 125 108 126 if (needToLoad) { 109 127 JsonArray binaries = meta.getJsonArray("binaries"); … … 117 135 description, meta, needToLoad); 118 136 newFilterInfo.setOwner(owner); 119 137 120 138 if (!filtersInfoList.contains(newFilterInfo)) { 121 139 filtersInfoList.add(newFilterInfo); -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/preferences/RasterFiltersPreferences.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.preferences; 2 3 import java.awt.GridBagConstraints; 4 import java.awt.GridBagLayout; 5 import java.util.List; 6 7 import javax.json.JsonObject; 8 import javax.swing.JButton; 9 import javax.swing.JPanel; 10 import javax.swing.JScrollPane; 11 import javax.swing.JTable; 12 import javax.swing.border.EmptyBorder; 13 import javax.swing.event.TableModelEvent; 14 import javax.swing.event.TableModelListener; 15 import javax.swing.table.AbstractTableModel; 16 import javax.swing.table.TableModel; 2 17 3 18 import org.openstreetmap.josm.Main; … … 8 23 import org.openstreetmap.josm.tools.GBC; 9 24 10 import javax.json.JsonObject;11 import javax.swing.*;12 import javax.swing.border.EmptyBorder;13 import javax.swing.event.TableModelEvent;14 import javax.swing.event.TableModelListener;15 import javax.swing.table.AbstractTableModel;16 import javax.swing.table.TableModel;17 import java.awt.*;18 import java.util.List;19 20 25 /** 21 26 * This class draws subtab 'Image Filters' in the Preferences menu. … … 109 114 Object[][] data; 110 115 111 publicFiltersTableModel() {116 FiltersTableModel() { 112 117 113 118 filtersInfoList = FiltersDownloader.downloadFiltersInfoList(); … … 190 195 private String owner; 191 196 192 public FilterInfo() { 193 194 } 195 196 public FilterInfo(String name, String description, JsonObject meta, 197 boolean needToDownload) { 197 FilterInfo(String name, String description, JsonObject meta, boolean needToDownload) { 198 198 this.setName(name); 199 199 this.setDescription(description); … … 250 250 @Override 251 251 public boolean equals(Object o) { 252 if (o instanceof FilterInfo) { 253 if (name.equals(((FilterInfo) o).getName()) && 254 meta.equals(((FilterInfo) o).getMeta()) && 255 description.equals(((FilterInfo) o).getDescription())) { 256 return true; 257 } 258 } 259 260 return false; 252 return (o instanceof FilterInfo) && name.equals(((FilterInfo) o).getName()) 253 && meta.equals(((FilterInfo) o).getMeta()) && description.equals(((FilterInfo) o).getDescription()); 261 254 } 262 255 } -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/values/BooleanValue.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.values; 2 2 3 /** 4 * @author Nipel-Crumple 5 */ 3 6 public class BooleanValue implements Value<Boolean> { 4 7 -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/values/ColorValue.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.values; 2 2 3 /** 4 * @author Nipel-Crumple 5 */ 3 6 public class ColorValue<Color> implements Value<Color> { 4 7 -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/values/SelectValue.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.values; 2 2 3 /** 4 * @author Nipel-Crumple 5 */ 3 6 public class SelectValue<T> implements Value<T> { 4 7 -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/values/SliderValue.java
r32853 r33269 1 1 package org.openstreetmap.josm.plugins.rasterfilters.values; 2 2 3 /** 4 * @author Nipel-Crumple 5 */ 3 6 public class SliderValue<Number> implements Value<Number> { 4 7 … … 29 32 public void setParameterName(String name) { 30 33 this.parameterName = name; 31 ;32 34 } 33 35 34 36 public boolean isDouble() { 35 if (value instanceof Double) 36 return true; 37 return false; 37 return value instanceof Double; 38 38 } 39 39 } -
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/values/Value.java
r32853 r33269 9 9 * @author Nipel-Crumple 10 10 */ 11 public interface Value<T extends Object> {11 public interface Value<T> { 12 12 13 publicT getValue();13 T getValue(); 14 14 15 publicvoid setValue(T value);15 void setValue(T value); 16 16 17 publicString getParameterName();17 String getParameterName(); 18 18 19 publicvoid setParameterName(String name);19 void setParameterName(String name); 20 20 }
Note:
See TracChangeset
for help on using the changeset viewer.