1 28 package net.sf.jasperreports.engine.fill; 29 30 import java.awt.Color ; 31 import java.util.ArrayList ; 32 import java.util.List ; 33 34 import net.sf.jasperreports.engine.JRConstants; 35 import net.sf.jasperreports.engine.JRPrintElement; 36 import net.sf.jasperreports.engine.JRPrintElementContainer; 37 import net.sf.jasperreports.engine.JRPrintFrame; 38 39 46 public class JRTemplatePrintFrame extends JRTemplatePrintElement implements JRPrintFrame, JRPrintElementContainer 47 { 48 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 49 50 protected JRTemplateFrame templateFrame; 51 private List elements; 52 53 protected JRTemplatePrintFrame(JRTemplateFrame templateFrame) 54 { 55 super(templateFrame); 56 57 this.templateFrame = templateFrame; 58 elements = new ArrayList (); 59 } 60 61 public List getElements() 62 { 63 return elements; 64 } 65 66 public void addElement(JRPrintElement element) 67 { 68 elements.add(element); 69 } 70 71 74 public byte getBorder() 75 { 76 return templateFrame.getBorder(); 77 } 78 79 public Byte getOwnBorder() 80 { 81 return templateFrame.getOwnBorder(); 82 } 83 84 87 public void setBorder(byte border) 88 { 89 } 90 91 94 public Color getBorderColor() 95 { 96 return templateFrame.getBorderColor(); 97 } 98 99 public Color getOwnBorderColor() 100 { 101 return templateFrame.getOwnBorderColor(); 102 } 103 104 107 public void setBorderColor(Color borderColor) 108 { 109 } 110 111 114 public int getPadding() 115 { 116 return templateFrame.getPadding(); 117 } 118 119 public Integer getOwnPadding() 120 { 121 return templateFrame.getOwnPadding(); 122 } 123 124 127 public void setPadding(int padding) 128 { 129 } 130 131 134 public byte getTopBorder() 135 { 136 return templateFrame.getTopBorder(); 137 } 138 139 142 public Byte getOwnTopBorder() 143 { 144 return templateFrame.getOwnTopBorder(); 145 } 146 147 150 public void setTopBorder(byte topBorder) 151 { 152 } 153 154 157 public Color getTopBorderColor() 158 { 159 return templateFrame.getTopBorderColor(); 160 } 161 162 165 public Color getOwnTopBorderColor() 166 { 167 return templateFrame.getOwnTopBorderColor(); 168 } 169 170 173 public void setTopBorderColor(Color topBorderColor) 174 { 175 } 176 177 180 public int getTopPadding() 181 { 182 return templateFrame.getTopPadding(); 183 } 184 185 188 public Integer getOwnTopPadding() 189 { 190 return templateFrame.getOwnTopPadding(); 191 } 192 193 196 public void setTopPadding(int topPadding) 197 { 198 } 199 200 203 public byte getLeftBorder() 204 { 205 return templateFrame.getLeftBorder(); 206 } 207 208 211 public Byte getOwnLeftBorder() 212 { 213 return templateFrame.getOwnLeftBorder(); 214 } 215 216 219 public void setLeftBorder(byte leftBorder) 220 { 221 } 222 223 226 public Color getLeftBorderColor() 227 { 228 return templateFrame.getLeftBorderColor(); 229 } 230 231 234 public Color getOwnLeftBorderColor() 235 { 236 return templateFrame.getOwnLeftBorderColor(); 237 } 238 239 242 public void setLeftBorderColor(Color leftBorderColor) 243 { 244 } 245 246 249 public int getLeftPadding() 250 { 251 return templateFrame.getLeftPadding(); 252 } 253 254 257 public Integer getOwnLeftPadding() 258 { 259 return templateFrame.getOwnLeftPadding(); 260 } 261 262 265 public void setLeftPadding(int leftPadding) 266 { 267 } 268 269 272 public byte getBottomBorder() 273 { 274 return templateFrame.getBottomBorder(); 275 } 276 277 280 public Byte getOwnBottomBorder() 281 { 282 return templateFrame.getOwnBottomBorder(); 283 } 284 285 288 public void setBottomBorder(byte bottomBorder) 289 { 290 } 291 292 295 public Color getBottomBorderColor() 296 { 297 return templateFrame.getBottomBorderColor(); 298 } 299 300 303 public Color getOwnBottomBorderColor() 304 { 305 return templateFrame.getOwnBottomBorderColor(); 306 } 307 308 311 public void setBottomBorderColor(Color bottomBorderColor) 312 { 313 } 314 315 318 public int getBottomPadding() 319 { 320 return templateFrame.getBottomPadding(); 321 } 322 323 326 public Integer getOwnBottomPadding() 327 { 328 return templateFrame.getOwnBottomPadding(); 329 } 330 331 334 public void setBottomPadding(int bottomPadding) 335 { 336 } 337 338 341 public byte getRightBorder() 342 { 343 return templateFrame.getRightBorder(); 344 } 345 346 349 public Byte getOwnRightBorder() 350 { 351 return templateFrame.getOwnRightBorder(); 352 } 353 354 357 public void setRightBorder(byte rightBorder) 358 { 359 } 360 361 364 public Color getRightBorderColor() 365 { 366 return templateFrame.getRightBorderColor(); 367 } 368 369 372 public Color getOwnRightBorderColor() 373 { 374 return templateFrame.getOwnRightBorderColor(); 375 } 376 377 380 public void setRightBorderColor(Color rightBorderColor) 381 { 382 } 383 384 387 public int getRightPadding() 388 { 389 return templateFrame.getRightPadding(); 390 } 391 392 395 public Integer getOwnRightPadding() 396 { 397 return templateFrame.getOwnRightPadding(); 398 } 399 400 403 public void setRightPadding(int rightPadding) 404 { 405 } 406 407 410 public void setBorder(Byte border) 411 { 412 } 413 414 417 public void setPadding(Integer padding) 418 { 419 } 420 421 424 public void setTopBorder(Byte topBorder) 425 { 426 } 427 428 431 public void setTopPadding(Integer topPadding) 432 { 433 } 434 435 438 public void setLeftBorder(Byte leftBorder) 439 { 440 } 441 442 445 public void setLeftPadding(Integer leftPadding) 446 { 447 } 448 449 452 public void setBottomBorder(Byte bottomBorder) 453 { 454 } 455 456 459 public void setBottomPadding(Integer bottomPadding) 460 { 461 } 462 463 466 public void setRightBorder(Byte rightBorder) 467 { 468 } 469 470 473 public void setRightPadding(Integer rightPadding) 474 { 475 } 476 } 477 | Popular Tags |