1 32 33 package it.businesslogic.ireport.gui.event; 34 import java.util.*; 35 39 public class InternalFrameActivatedEvent { 40 41 public static final int ACTIVATED = 1; 42 public static final int CLOSED = -1; 43 44 private it.businesslogic.ireport.gui.JMDIFrame jMDIFrame = null; 45 private int action = 1; 46 47 48 49 public InternalFrameActivatedEvent( it.businesslogic.ireport.gui.JMDIFrame jMDIFrame) { 50 this(jMDIFrame,ACTIVATED); 51 } 52 53 public InternalFrameActivatedEvent( it.businesslogic.ireport.gui.JMDIFrame jMDIFrame, int action) { 54 this.action = action; 55 this.jMDIFrame = jMDIFrame; 56 } 57 58 62 public it.businesslogic.ireport.gui.JMDIFrame getJMDIFrame() { 63 return jMDIFrame; 64 } 65 66 70 public void setJMDIFrame(it.businesslogic.ireport.gui.JMDIFrame jMDIFrame) { 71 this.jMDIFrame = jMDIFrame; 72 } 73 74 78 public int getAction() { 79 return action; 80 } 81 82 86 public void setAction(int action) { 87 this.action = action; 88 } 89 90 } 91 | Popular Tags |