svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libUIComponent / src / org / gvsig / gui / beans / buttonspanel / ButtonsPanelEvent.java @ 26897
History | View | Annotate | Download (1.35 KB)
1 |
package org.gvsig.gui.beans.buttonspanel; |
---|---|
2 |
|
3 |
/* gvSIG. Geographic Information System of the Valencian Government
|
4 |
*
|
5 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
6 |
* of the Valencian Government (CIT)
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
9 |
* modify it under the terms of the GNU General Public License
|
10 |
* as published by the Free Software Foundation; either version 2
|
11 |
* of the License, or (at your option) any later version.
|
12 |
*
|
13 |
* This program is distributed in the hope that it will be useful,
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
* GNU General Public License for more details.
|
17 |
*
|
18 |
* You should have received a copy of the GNU General Public License
|
19 |
* along with this program; if not, write to the Free Software
|
20 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
21 |
* MA 02110-1301, USA.
|
22 |
*
|
23 |
*/
|
24 |
|
25 |
import java.util.EventObject; |
26 |
|
27 |
/**
|
28 |
*
|
29 |
* @version 09/05/2008
|
30 |
*
|
31 |
* @author BorSanZa - Borja Sanchez Zamorano (borja.sanchez@iver.es)
|
32 |
*/
|
33 |
public class ButtonsPanelEvent extends EventObject { |
34 |
private static final long serialVersionUID = 4275588038151358375L; |
35 |
|
36 |
int button = 0; |
37 |
|
38 |
public ButtonsPanelEvent(Object source, int button) { |
39 |
super(source);
|
40 |
this.button = button;
|
41 |
} |
42 |
|
43 |
public int getButton() { |
44 |
return button;
|
45 |
} |
46 |
} |