1 32 33 package it.businesslogic.ireport.undo; 34 import it.businesslogic.ireport.*; 35 39 public class PositionedElement { 40 41 private ReportElement element; 42 43 private int oldPosition; 44 45 private int newPosition; 46 47 public PositionedElement(ReportElement element, int oldPosition, int newPosition) 48 { 49 this.element = element; 50 this.oldPosition = oldPosition; 51 this.newPosition = newPosition; 52 } 53 54 58 public it.businesslogic.ireport.ReportElement getElement() { 59 return element; 60 } 61 62 66 public void setElement(it.businesslogic.ireport.ReportElement element) { 67 this.element = element; 68 } 69 70 74 public int getNewPosition() { 75 return newPosition; 76 } 77 78 82 public void setNewPosition(int newPosition) { 83 this.newPosition = newPosition; 84 } 85 86 90 public int getOldPosition() { 91 return oldPosition; 92 } 93 94 98 public void setOldPosition(int oldPosition) { 99 this.oldPosition = oldPosition; 100 } 101 102 } 103 | Popular Tags |