Rev 1814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1814 | Rev 1830 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | package pt.estgp.estgweb.services.courses.coursereport.documentmodel; |
1 | package pt.estgp.estgweb.services.courses.coursereport.documentmodel.learningresults; |
- | 2 | ||
- | 3 | import pt.estgp.estgweb.services.courses.coursereport.documentmodel.learningresults.components.LearningResultsChartSem; |
|
- | 4 | import pt.estgp.estgweb.utils.documentBuilder.CustomPane; |
|
- | 5 | import pt.estgp.estgweb.utils.documentBuilder.DocumentSection; |
|
- | 6 | import pt.estgp.estgweb.utils.documentBuilder.TextComponent; |
|
2 | 7 | ||
3 | /** |
8 | /** |
4 | * Created by jorgemachado on 11/10/17. |
9 | * Created by jorgemachado on 11/10/17. |
5 | */ |
10 | */ |
6 | public class LearningAnalysisSection extends DocumentSection |
11 | public class LearningAnalysisSection extends DocumentSection |
7 | { |
12 | { |
8 | 1.5.0/docs/api/java/awt/TextComponent.html">TextComponent text = new 1.5.0/docs/api/java/awt/TextComponent.html">TextComponent(); |
- | |
9 | ImageComponent learningResultsChartSem1; |
- | |
10 | ImageComponent learningResultsChartSem2; |
- | |
11 | CustomPane customPane = new CustomPane(); |
- | |
12 | - | ||
13 | public 1.5.0/docs/api/java/awt/TextComponent.html">TextComponent getText() { |
13 | public LearningAnalysisSection() { |
14 | return text; |
- | |
15 | } |
- | |
16 | - | ||
17 | public void setText(1.5.0/docs/api/java/awt/TextComponent.html">TextComponent text) { |
- | |
18 | this.text = text; |
- | |
19 | } |
- | |
20 | - | ||
21 | public ImageComponent getLearningResultsChartSem1() { |
- | |
22 | return learningResultsChartSem1; |
- | |
23 | } |
- | |
24 | - | ||
25 | public void setLearningResultsChartSem1(ImageComponent learningResultsChartSem1) { |
- | |
26 | this.learningResultsChartSem1 = learningResultsChartSem1; |
- | |
27 | } |
- | |
28 | - | ||
29 | public ImageComponent getLearningResultsChartSem2() { |
- | |
30 | return learningResultsChartSem2; |
- | |
31 | } |
- | |
32 | - | ||
33 | public void setLearningResultsChartSem2(ImageComponent learningResultsChartSem2) { |
- | |
34 | this.learningResultsChartSem2 = learningResultsChartSem2; |
- | |
35 | } |
- | |
36 | - | ||
37 | public CustomPane getCustomPane() { |
- | |
38 | return customPane; |
- | |
39 | } |
14 | } |
40 | 15 | ||
- | 16 | public LearningAnalysisSection(1.5.0/docs/api/java/lang/String.html">String title) |
|
- | 17 | { |
|
- | 18 | super(title); |
|
41 | public void setCustomPane(CustomPane customPane) { |
19 | super.getComponents().add(new 1.5.0/docs/api/java/awt/TextComponent.html">TextComponent()); |
- | 20 | super.getComponents().add(new LearningResultsChartSem("S1")); |
|
- | 21 | super.getComponents().add(new LearningResultsChartSem("S2")); |
|
42 | this.customPane = customPane; |
22 | super.getComponents().add(new CustomPane()); |
43 | } |
23 | } |
44 | } |
24 | } |