source: other-projects/FileTransfer-WebSocketPair/testGXTWithGreenstone/src/org/greenstone/gatherer/feedback/CompGroup.java@ 33053

Last change on this file since 33053 was 33053, checked in by ak19, 5 years ago

I still had some stuff of Nathan Kelly's (FileTransfer-WebSocketPair) sitting on my USB. Had already commited the Themes folder at the time, 2 years back. Not sure if he wanted this additional folder commited. But I didn't want to delete it and decided it will be better off on SVN. When we use his project, if we find we didn't need this test folder, we can remove it from svn then.

File size: 1.6 KB
Line 
1package org.greenstone.gatherer.feedback;
2
3import java.io.*;
4
5/**
6 * The instance of this class will hold a UserComponent and the status of the UserComponent.
7 * For each of the CompGroup instance will contains all the information and the status of
8 * a window that is opened by the application the user used.
9 * @author Veronica Liesaputra
10 */
11public class CompGroup implements Serializable
12{
13 /**
14 * This variable will hold the status of the window that is opened by the application.
15 */
16 private String comp_status;
17
18 /**
19 * This variable will hold the information about the window that is opened by the
20 * application.
21 */
22 private UserComponent comp;
23
24 public CompGroup ()
25 {
26
27 }
28
29 /**
30 * It will make CompGroup instance that hold the information and status of the window
31 * thats is opened by the application.
32 * @param curr_comp information about the window opened by the application.
33 * @param curr_status status of the window opened by the application.
34 */
35 public CompGroup (UserComponent curr_comp,String curr_status)
36 {
37 comp_status = curr_status;
38 comp = curr_comp;
39 }
40
41 /**
42 * This method will return the status of the window opened by the application.
43 * @return the status of the window.
44 */
45 public String getStatus ()
46 {
47 return comp_status;
48 }
49
50 /**
51 * This method will return the information about the window opened by the application.
52 * @return the information about the window.
53 */
54 public UserComponent getComponent()
55 {
56 return comp;
57 }
58}
59
60
Note: See TracBrowser for help on using the repository browser.