Last change
on this file since 24915 was 7315, checked in by kjdon, 20 years ago |
Veronika's feedback code - still needs some work, but its disabled by default
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.6 KB
|
Line | |
---|
1 | package org.greenstone.gatherer.feedback;
|
---|
2 |
|
---|
3 | import 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 | */
|
---|
11 | public 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.