KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > userinterface > UPValueElement


1 package com.calipso.reportgenerator.userinterface;
2
3 import com.calipso.reportgenerator.common.ReportFilterSpec;
4 import com.calipso.reportgenerator.common.ReportSpec;
5
6 /**
7  * Representa un elemento de tipo value de
8  * la coleccion <code>UPCollection</code>.
9  * Conoce todos los datos necesarios de 1 filtro para una dimension.
10  */

11
12 public class UPValueElement extends UPCollectionElement {
13
14   private String JavaDoc uniqueArgument;
15   private String JavaDoc uniqueTfCaption;
16
17   public UPValueElement(ReportFilterSpec filterDefinition, ReportSpec reportSpec,
18                         String JavaDoc uniqueArgument, String JavaDoc uniqueTfCaption) {
19     super(filterDefinition, reportSpec);
20     this.uniqueArgument = uniqueArgument;
21     this.uniqueTfCaption = uniqueTfCaption;
22   }
23
24   public String JavaDoc getUniqueArgument() {
25     return uniqueArgument;
26   }
27
28   public String JavaDoc getUniqueTfCaption() {
29     return uniqueTfCaption;
30   }
31
32   public ReportSpec getReportSpec() {
33     return super.getReportSpec();
34   }
35
36   public ReportFilterSpec getFilterDefinition() {
37     return super.getFilterDefinition();
38   }
39
40   public UPPanel getVisualComponent() {
41     return new UPValuePanel(this);
42   }
43 }
44
Popular Tags