Revision 1306 org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.algorithm/org.gvsig.raster.tools.algorithm.swing/org.gvsig.raster.tools.algorithm.swing.api/src/main/java/org/gvsig/raster/tools/algorithm/swing/maskthreshold/MaskThresholdPanel.java

View differences:

MaskThresholdPanel.java
24 24
import javax.swing.JComboBox;
25 25
import javax.swing.JComponent;
26 26

  
27
import org.gvsig.raster.swing.listener.PanelChangeListener;
28

  
27 29
/**
28 30
 * API for the mask threshold user interface
29 31
 * @author Nacho Brodin (nachobrodin@gmail.com)
30 32
 */
31 33
public interface MaskThresholdPanel {
32
	public static final int           LAYERS_INPUT_COMBO    = 0;
33
	public static final int           BANDS_INPUT_COMBO     = 1;
34
	public static final int           LAYERS_OPERAT_COMBO   = 2;
35
	public static final int           BANDS_OPERAT_COMBO    = 3;
36
	public static final int           LAYERS_OUTPUT_COMBO   = 4;
37
	public static final int           BANDS_OUTPUT_COMBO    = 5;
38
	public static final int           METHOD_OUTPUT_COMBO   = 6;
34
	public static final int           LAYERS_INPUT_COMBO       = 0;
35
	public static final int           BANDS_INPUT_COMBO        = 1;
36
	public static final int           LAYERS_OPERAT_COMBO      = 2;
37
	public static final int           BANDS_OPERAT_COMBO       = 3;
38
	public static final int           LAYERS_OUTPUT_COMBO      = 4;
39
	public static final int           BANDS_OUTPUT_COMBO       = 5;
40
	public static final int           METHOD_OUTPUT_COMBO      = 6;
41
	public static final int           OPERATION_OUTPUT_COMBO   = 7;
39 42
	
40 43
	public MaskThresholdData getOutput();
41 44
	
42 45
	public JComboBox getComboBox(int component);
43 46
	
44 47
	public JComponent getComponent();
48
	
49
	/**
50
	 * Events when any component receives changes
51
	 * @param listener
52
	 */
53
	public void addPanelChangeEvent(PanelChangeListener listener);
45 54
}

Also available in: Unified diff