1
2
3
4
5 package spellcast.ui;
6
7 /***
8 * Property change event for connecting to a server.
9 *
10 * @author Barrie Treloar
11 */
12 public class ConnectToServerEvent
13 {
14 private String serverAddress;
15 private String wizardName;
16 private String gender;
17
18 public ConnectToServerEvent( String serverAddress, String wizardName, String gender )
19 {
20 this.serverAddress = serverAddress;
21 this.wizardName = wizardName;
22 this.gender = gender;
23 }
24
25 /***
26 * Get the value of serverAddress.
27 *
28 * @return value of serverAddress.
29 */
30 public String getServerAddress()
31 {
32 return serverAddress;
33 }
34
35 /***
36 * Get the value of wizardName.
37 *
38 * @return value of wizardName.
39 */
40 public String getWizardName()
41 {
42 return wizardName;
43 }
44
45 /***
46 * Get the value of gender.
47 *
48 * @return value of gender.
49 */
50 public String getGender()
51 {
52 return gender;
53 }
54
55 }
56