1 32 33 package it.businesslogic.ireport.gui.event; 34 import it.businesslogic.ireport.*; 35 import it.businesslogic.ireport.gui.*; 36 41 public class ReportBandChangedEvent { 42 43 private JReportFrame jReportFrame; 44 47 public static final int REMOVED = 1; 48 51 public static final int ADDED = 2; 52 55 public static final int CHANGED = 3; 56 57 60 private Band band; 61 62 65 private int type = 0; 66 67 public ReportBandChangedEvent(JReportFrame jReportFrame, Band band, int type) { 68 this.jReportFrame =jReportFrame; 69 this.band = band; 70 this.type = type; 71 } 72 73 77 public Band getBand() { 78 return band; 79 } 80 81 85 public void setBand(Band band) { 86 this.band = band; 87 } 88 89 95 public int getType() { 96 return type; 97 } 98 99 103 public void setType(int type) { 104 this.type = type; 105 } 106 107 111 public it.businesslogic.ireport.gui.JReportFrame getJReportFrame() { 112 return jReportFrame; 113 } 114 115 119 public void setJReportFrame(it.businesslogic.ireport.gui.JReportFrame jReportFrame) { 120 this.jReportFrame = jReportFrame; 121 } 122 123 } 124 | Popular Tags |