View Javadoc
1 /***
2 * Copyright (c) 2003 Booz|Allen|Hamilton
3 *
4 * This software and documentation is the confidential and proprietary
5 * information of Booz|Allen|Hamilton. Booz|Allen|Hamilton
6 * makes no representation or warranties about the suitability of the
7 * software, either expressed or implied. It is subject to change
8 * without notice.
9 *
10 * U.S. and international copyright laws protect this material. No part
11 * of this material may be reproduced, published, disclosed, or
12 * transmitted in any form or by any means, in whole or in part, without
13 * the prior written permission of Booz|Allen|Hamilton.
14 */
15 package net.mlw.fball.gui.events;
16
17 import net.mlw.fball.event.Event;
18
19 /***
20 *
21 * @author Matthew L. Wilson
22 * @version $Revision: 1.1 $ $Date: 2004/03/01 15:31:43 $
23 */
24 public class StateChangedEvent implements Event
25 {
26 private String name;
27 private Object source;
28
29 public StateChangedEvent(String name, Object source)
30 {
31 this.name = name;
32 this.source = source;
33 }
34
35 /***
36 * @return Returns the source.
37 */
38 public Object getSource()
39 {
40 return source;
41 }
42
43 /***
44 * @return Returns the name.
45 */
46 public String getName()
47 {
48 return name;
49 }
50
51 }
This page was automatically generated by Maven