1 23 24 29 30 package com.sun.enterprise.tools.upgrade.gui.util; 31 32 37 public class DialogEvent extends java.util.EventObject { 38 39 public static final int CANCEL_ACTION = 2; 40 41 public static final int UPGRADE_ACTION = 4; 42 43 public static final int FINISH_ACTION = 5; 44 45 public static final int HELP_ACTION = 6; 46 47 public static final int CHANGE_ACTION = 7; 48 49 private java.lang.Object obj = null; 50 51 private int action; 52 53 public DialogEvent(java.lang.Object source,int act) { 54 super(source); 55 this.action = act; 56 } 57 58 public void setAction(int act){ 59 this.action=act; 60 } 61 public int getAction(){ 62 return this.action; 63 } 64 public java.lang.Object getObject() { 65 return this.obj; 66 } 67 68 public void setObject(java.lang.Object obj1) { 69 this.obj = obj1; 70 } 71 72 } 73 | Popular Tags |