Revision 12121
trunk/libraries/libUIComponent/src-test-ui/org/gvsig/gui/beans/propertiespanel/TestPropertiesPanel.java | ||
---|---|---|
52 | 52 |
} |
53 | 53 |
pd.addValue("Activo", "check1", new Boolean(true), null); // Slider |
54 | 54 |
{ |
55 |
ArrayList<String> lista = new ArrayList<String>();
|
|
55 |
ArrayList lista = new ArrayList();
|
|
56 | 56 |
lista.add("Primer elemento"); |
57 | 57 |
lista.add("Segundo elemento"); |
58 | 58 |
lista.add("Tercer elemento"); |
trunk/libraries/libUIComponent/src-test-ui/org/gvsig/gui/beans/propertiespanel/TestPropertiesPanel2.java | ||
---|---|---|
52 | 52 |
} |
53 | 53 |
pd.addValue("Activo", "check1", new Boolean(true), null); // Slider |
54 | 54 |
{ |
55 |
ArrayList<String> lista = new ArrayList<String>();
|
|
55 |
ArrayList lista = new ArrayList();
|
|
56 | 56 |
lista.add("Primer elemento"); |
57 | 57 |
lista.add("Segundo elemento"); |
58 | 58 |
lista.add("Tercer elemento"); |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/incrementabletask/IncrementableTask.java | ||
---|---|---|
46 | 46 |
private boolean ended = false; |
47 | 47 |
private boolean askOnCancel = true; |
48 | 48 |
|
49 |
private ArrayList<IncrementableListener> actionCommandListeners = new ArrayList<IncrementableListener>();
|
|
49 |
private ArrayList actionCommandListeners = new ArrayList();
|
|
50 | 50 |
private boolean bDoCallListeners = true; |
51 | 51 |
static private int eventId = Integer.MIN_VALUE; |
52 | 52 |
|
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/treelist/TreeListContainer.java | ||
---|---|---|
60 | 60 |
*/ |
61 | 61 |
public class TreeListContainer extends JPanel implements ActionListener, TreeSelectionListener, ListSelectionListener { |
62 | 62 |
private static final long serialVersionUID = 6665259638830401366L; |
63 |
private ArrayList<TreeListComponentListener> listListeners = new ArrayList<TreeListComponentListener>();
|
|
63 |
private ArrayList listListeners = new ArrayList();
|
|
64 | 64 |
|
65 |
private Hashtable<String, String> map = null;
|
|
65 |
private Hashtable map = null; |
|
66 | 66 |
|
67 | 67 |
// Componentes visuales |
68 | 68 |
private JScrollPane pTree = null; |
... | ... | |
95 | 95 |
* This method initializes this |
96 | 96 |
*/ |
97 | 97 |
private void initialize() { |
98 |
map = new Hashtable<String, String>();
|
|
98 |
map = new Hashtable(); |
|
99 | 99 |
raiz = new DefaultMutableTreeNode(Messages.getText("filtros")); |
100 | 100 |
setLayout(new BorderLayout()); |
101 | 101 |
|
... | ... | |
275 | 275 |
return map; |
276 | 276 |
} |
277 | 277 |
|
278 |
public void setMap(Hashtable<String, String> map) {
|
|
278 |
public void setMap(Hashtable map) { |
|
279 | 279 |
this.map = map; |
280 | 280 |
} |
281 | 281 |
|
... | ... | |
292 | 292 |
* A?adir el disparador de cuando se pulsa un bot?n. |
293 | 293 |
* @param listener |
294 | 294 |
*/ |
295 |
private ArrayList<TreeListChangeListener> actionChangeListeners = new ArrayList<TreeListChangeListener>();
|
|
295 |
private ArrayList actionChangeListeners = new ArrayList();
|
|
296 | 296 |
|
297 | 297 |
public void addChangeSelectionListener(TreeListChangeListener listener) { |
298 | 298 |
if (!actionChangeListeners.contains(listener)) |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/buttonbar/ButtonBarContainer.java | ||
---|---|---|
26 | 26 |
import javax.swing.JPanel; |
27 | 27 |
|
28 | 28 |
public class ButtonBarContainer extends JPanel { |
29 |
private static final long serialVersionUID = -2556987128553063939L;
|
|
30 |
private int wComp = 400;
|
|
31 |
private int hComp = 26;
|
|
32 |
private String pathToImages = "images/";
|
|
33 |
private ArrayList<JButton> buttons = new ArrayList<JButton>();
|
|
34 |
private boolean disableAllControls = false;
|
|
35 |
private boolean[] buttonsState = null;
|
|
29 |
private static final long serialVersionUID = -2556987128553063939L;
|
|
30 |
private int wComp = 400; |
|
31 |
private int hComp = 26; |
|
32 |
private String pathToImages = "images/"; |
|
33 |
private ArrayList buttons = new ArrayList();
|
|
34 |
private boolean disableAllControls = false; |
|
35 |
private boolean[] buttonsState = null; |
|
36 | 36 |
|
37 | 37 |
/** |
38 | 38 |
* This is the default constructor |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/propertiespanel/JPanelProperty.java | ||
---|---|---|
31 | 31 |
*/ |
32 | 32 |
public class JPanelProperty extends JPanel { |
33 | 33 |
private static final long serialVersionUID = 3024638614874519828L; |
34 |
private ArrayList<PropertiesComponentListener> actionCommandListeners = new ArrayList<PropertiesComponentListener>();
|
|
34 |
private ArrayList actionCommandListeners = new ArrayList();
|
|
35 | 35 |
|
36 | 36 |
/** |
37 | 37 |
* A?adir el disparador de cuando se pulsa un bot?n. |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/propertiespanel/PropertiesComponent.java | ||
---|---|---|
54 | 54 |
*/ |
55 | 55 |
public class PropertiesComponent extends JScrollPane implements FocusListener, KeyListener, ChangeListener, ItemListener, PropertiesComponentListener { |
56 | 56 |
private static final long serialVersionUID = 372118344763661890L; |
57 |
private ArrayList<PropertyStruct> datalist = new ArrayList<PropertyStruct>();
|
|
58 |
private ArrayList<PropertiesComponentListener> actionCommandListeners = new ArrayList<PropertiesComponentListener>();
|
|
57 |
private ArrayList datalist = new ArrayList();
|
|
58 |
private ArrayList actionCommandListeners = new ArrayList();
|
|
59 | 59 |
|
60 | 60 |
private JPanel jPanelContent = null; |
61 | 61 |
|
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/doubleslider/DoubleSlider.java | ||
---|---|---|
41 | 41 |
public class DoubleSlider extends JComponent implements MouseMotionListener, MouseListener, MouseWheelListener { |
42 | 42 |
private static final long serialVersionUID = 663355422780987493L; |
43 | 43 |
|
44 |
private ArrayList<DoubleSliderListener> actionCommandListeners = new ArrayList<DoubleSliderListener>();
|
|
44 |
private ArrayList actionCommandListeners = new ArrayList();
|
|
45 | 45 |
|
46 | 46 |
private Image bufferImage = null; |
47 | 47 |
private int width = 0; |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/graphic/GraphicContainer.java | ||
---|---|---|
38 | 38 |
*/ |
39 | 39 |
public class GraphicContainer extends JPanel implements DoubleSliderListener, TextIncreaserListener { |
40 | 40 |
private static final long serialVersionUID = -6230083498345786500L; |
41 |
private ArrayList<GraphicListener> actionCommandListeners = new ArrayList<GraphicListener>();
|
|
41 |
private ArrayList actionCommandListeners = new ArrayList();
|
|
42 | 42 |
|
43 | 43 |
private JPanel pGeneral = null; |
44 | 44 |
private GraphicChartPanel pGraphic = null; |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/buttonspanel/ButtonsPanel.java | ||
---|---|---|
38 | 38 |
public class ButtonsPanel extends JPanel { |
39 | 39 |
private static final long serialVersionUID = -7264041442217894577L; |
40 | 40 |
|
41 |
private ArrayList<JButton> buttonsList = new ArrayList<JButton>();
|
|
42 |
private ArrayList<ButtonsPanelListener> actionCommandListeners = new ArrayList<ButtonsPanelListener>();
|
|
41 |
private ArrayList buttonsList = new ArrayList();
|
|
42 |
private ArrayList actionCommandListeners = new ArrayList();
|
|
43 | 43 |
|
44 | 44 |
static private int eventId = Integer.MIN_VALUE; |
45 | 45 |
|
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/textincreaser/TextIncreaserContainer.java | ||
---|---|---|
37 | 37 |
*/ |
38 | 38 |
public class TextIncreaserContainer extends JPanel implements ActionListener, KeyListener{ |
39 | 39 |
private static final long serialVersionUID = 7570162018139822874L; |
40 |
private ArrayList<TextIncreaserListener> actionCommandListeners = new ArrayList<TextIncreaserListener>();
|
|
40 |
private ArrayList actionCommandListeners = new ArrayList();
|
|
41 | 41 |
private int width = 70; |
42 | 42 |
private JTextField tText = null; |
43 | 43 |
private JPanel pButtons = null; |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/table/models/CheckBoxModel.java | ||
---|---|---|
31 | 31 |
super(new Object[0][2], columnNames); |
32 | 32 |
} |
33 | 33 |
|
34 |
@SuppressWarnings("unchecked") |
|
35 | 34 |
public Class getColumnClass(int c) { |
36 | 35 |
if (c < 1) { |
37 | 36 |
return Boolean.class; |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/table/models/RadioButtonModel.java | ||
---|---|---|
27 | 27 |
super(new Object[0][2], columnNames); |
28 | 28 |
} |
29 | 29 |
|
30 |
@SuppressWarnings("unchecked") |
|
31 | 30 |
public Class getColumnClass(int c) { |
32 | 31 |
if (c < 1) { |
33 | 32 |
return Boolean.class; |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/table/models/TreeRadioButtonModel.java | ||
---|---|---|
31 | 31 |
super(new Object[0][4], columnNames); |
32 | 32 |
} |
33 | 33 |
|
34 |
@SuppressWarnings("unchecked") |
|
35 | 34 |
public Class getColumnClass(int c) { |
36 | 35 |
if (c < 3) { |
37 | 36 |
return Boolean.class; |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/table/models/ListModel.java | ||
---|---|---|
33 | 33 |
this.nColumns = columnNames.length; |
34 | 34 |
} |
35 | 35 |
|
36 |
@SuppressWarnings("unchecked") |
|
37 | 36 |
public Class getColumnClass(int c) { |
38 | 37 |
return String.class; |
39 | 38 |
} |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/table/models/TableButtonModel.java | ||
---|---|---|
34 | 34 |
super(new Object[0][4], columnNames); |
35 | 35 |
} |
36 | 36 |
|
37 |
@SuppressWarnings("unchecked") |
|
38 | 37 |
public Class getColumnClass(int c) { |
39 | 38 |
if ((c < 1) || (c == 4)) |
40 | 39 |
return JButton.class; |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/slidertext/listeners/SliderTextListener.java | ||
---|---|---|
40 | 40 |
* |
41 | 41 |
*/ |
42 | 42 |
public class SliderTextListener implements ChangeListener, ActionListener, KeyListener, FocusListener, MouseListener{ |
43 |
public ArrayList<ChangeListener> changeListenerList = new ArrayList<ChangeListener>();
|
|
44 |
public ArrayList<MouseListener> mouseListenerList = new ArrayList<MouseListener>();
|
|
45 |
public ArrayList<KeyListener> keyListenerList = new ArrayList<KeyListener>();
|
|
43 |
public ArrayList changeListenerList = new ArrayList();
|
|
44 |
public ArrayList mouseListenerList = new ArrayList();
|
|
45 |
public ArrayList keyListenerList = new ArrayList();
|
|
46 | 46 |
|
47 | 47 |
private SliderTextContainer sliderTextContainer = null; |
48 | 48 |
private boolean disconnectEvent = false; |
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/slidertext/ColorSliderTextContainer.java | ||
---|---|---|
43 | 43 |
*/ |
44 | 44 |
public class ColorSliderTextContainer extends JPanel implements ChangeListener, DoubleSliderListener { |
45 | 45 |
private static final long serialVersionUID = 1876415954410511634L; |
46 |
private ArrayList<DoubleSliderListener> actionCommandListeners = new ArrayList<DoubleSliderListener>();
|
|
46 |
private ArrayList actionCommandListeners = new ArrayList();
|
|
47 | 47 |
|
48 | 48 |
private JPanel pText = null; |
49 | 49 |
private DoubleSlider slider = null; |
Also available in: Unified diff