1 32 33 package it.businesslogic.ireport.undo; 34 import it.businesslogic.ireport.*; 35 39 public class GroupPositionedElement { 40 41 private ReportElement element; 42 43 private int oldPosition; 44 45 private int newPosition; 46 47 private String oldElementGroup = ""; 48 private String newElementGroup = ""; 49 50 public GroupPositionedElement(ReportElement element, int oldPosition, int newPosition, String oldElementGroup, String newElementGroup) 51 { 52 this.element = element; 53 this.oldPosition = oldPosition; 54 this.newPosition = newPosition; 55 this.oldElementGroup = oldElementGroup; 56 this.newElementGroup = newElementGroup; 57 } 58 59 63 public it.businesslogic.ireport.ReportElement getElement() { 64 return element; 65 } 66 67 71 public void setElement(it.businesslogic.ireport.ReportElement element) { 72 this.element = element; 73 } 74 75 79 public int getNewPosition() { 80 return newPosition; 81 } 82 83 87 public void setNewPosition(int newPosition) { 88 this.newPosition = newPosition; 89 } 90 91 95 public int getOldPosition() { 96 return oldPosition; 97 } 98 99 103 public void setOldPosition(int oldPosition) { 104 this.oldPosition = oldPosition; 105 } 106 107 public String getOldElementGroup() { 108 return oldElementGroup; 109 } 110 111 public void setOldElementGroup(String oldElementGroup) { 112 this.oldElementGroup = oldElementGroup; 113 } 114 115 public String getNewElementGroup() { 116 return newElementGroup; 117 } 118 119 public void setNewElementGroup(String newElementGroup) { 120 this.newElementGroup = newElementGroup; 121 } 122 123 } 124 | Popular Tags |