1 28 package net.sf.jasperreports.engine; 29 30 31 44 public interface JRVariable 45 { 46 50 public static final String REPORT_COUNT = "REPORT_COUNT"; 51 52 53 56 public static final String PAGE_COUNT = "PAGE_COUNT"; 57 58 59 62 public static final String COLUMN_COUNT = "COLUMN_COUNT"; 63 64 65 69 public static final String PAGE_NUMBER = "PAGE_NUMBER"; 70 71 72 75 public static final String COLUMN_NUMBER = "COLUMN_NUMBER"; 76 77 78 79 80 84 public static final byte RESET_TYPE_REPORT = 1; 85 86 87 90 public static final byte RESET_TYPE_PAGE = 2; 91 92 93 96 public static final byte RESET_TYPE_COLUMN = 3; 97 98 99 102 public static final byte RESET_TYPE_GROUP = 4; 103 104 105 109 public static final byte RESET_TYPE_NONE = 5; 110 111 112 113 114 115 118 public static final byte CALCULATION_NOTHING = 0; 119 120 121 126 public static final byte CALCULATION_COUNT = 1; 127 128 129 134 public static final byte CALCULATION_SUM = 2; 135 136 137 146 public static final byte CALCULATION_AVERAGE = 3; 147 148 149 153 public static final byte CALCULATION_LOWEST = 4; 154 155 156 160 public static final byte CALCULATION_HIGHEST = 5; 161 162 163 175 public static final byte CALCULATION_STANDARD_DEVIATION = 6; 176 177 178 182 public static final byte CALCULATION_VARIANCE = 7; 183 184 185 190 public static final byte CALCULATION_SYSTEM = 8; 191 192 193 196 public static final byte CALCULATION_FIRST = 9; 197 198 199 204 public static final byte CALCULATION_DISTINCT_COUNT = 10; 205 206 207 211 public String getName(); 212 213 214 218 public Class getValueClass(); 219 220 223 public String getValueClassName(); 224 225 231 public Class getIncrementerFactoryClass(); 232 233 236 public String getIncrementerFactoryClassName(); 237 238 241 public byte getResetType(); 242 243 247 public byte getIncrementType(); 248 249 252 public byte getCalculation(); 253 254 258 public boolean isSystemDefined(); 259 260 264 public JRExpression getExpression(); 265 266 270 public JRExpression getInitialValueExpression(); 271 272 276 public JRGroup getResetGroup(); 277 278 282 public JRGroup getIncrementGroup(); 283 284 } 285 | Popular Tags |