svn-gvsig-desktop / tags / J2ME_compat_v1_2_Build_1209 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / edition / commands / CommandEvent.java @ 19509
History | View | Annotate | Download (563 Bytes)
1 |
package com.iver.cit.gvsig.fmap.edition.commands; |
---|---|
2 |
|
3 |
import com.iver.cit.gvsig.fmap.FMapEvent; |
4 |
|
5 |
/**
|
6 |
* <p>The class <code>CommandEvent</code> stores all necessary information of a command event
|
7 |
* produced on a layer.</p>
|
8 |
*
|
9 |
* @see FMapEvent
|
10 |
*/
|
11 |
public class CommandEvent extends FMapEvent{ |
12 |
private Command command;
|
13 |
/**
|
14 |
* Constructor method.
|
15 |
* @param command
|
16 |
*/
|
17 |
public CommandEvent(Command command){
|
18 |
this.command=command;
|
19 |
} |
20 |
/**
|
21 |
* Returns the Command
|
22 |
* @return
|
23 |
*/
|
24 |
public Command getCommand(){
|
25 |
return command;
|
26 |
} |
27 |
} |