1 package com.calipso.reportgenerator.userinterface; 2 3 import com.calipso.reportgenerator.common.ReportFilterSpec; 4 import com.calipso.reportgenerator.common.ReportSpec; 5 6 11 12 public class UPRangeElement extends UPCollectionElement { 13 14 private String startingArgument; 15 private String endingArgument; 16 private String startingTfCaption; 17 private String endingTfCaption; 18 19 public UPRangeElement(ReportFilterSpec filterDefinition, ReportSpec reportSpec, 20 String startingArgument, String endingArgument, 21 String startingTfCaption, String endingTfCaption) { 22 super(filterDefinition, reportSpec); 23 this.startingArgument = startingArgument; 24 this.endingArgument = endingArgument; 25 this.startingTfCaption = startingTfCaption; 26 this.endingTfCaption = endingTfCaption; 27 } 28 29 public String getStartingTfCaption() { 30 return startingTfCaption; 31 } 32 33 public String getEndingTfCaption() { 34 return endingTfCaption; 35 } 36 37 public String getStartingArgument() { 38 return startingArgument; 39 } 40 41 public String getEndingArgument() { 42 return endingArgument; 43 } 44 45 public ReportSpec getReportSpec() { 46 return super.getReportSpec(); 47 } 48 49 public ReportFilterSpec getFilterDefinition() { 50 return super.getFilterDefinition(); 51 } 52 53 public UPPanel getVisualComponent() { 54 return new UPRangePanel(this); 55 } 56 } 57 | Popular Tags |