1 2 23 package org.enhydra.tool.common.event; 24 25 import java.util.EventObject ; 26 27 public class ProgressEvent extends EventObject { 28 private String message = new String (); 29 private int progress = 0; 30 31 public ProgressEvent (Object source, int p, String m) { 32 super (source); 33 34 progress = p; 35 message = m; 36 } 37 38 public int getProgress () { 39 return progress; 40 } 41 42 public String getMessage () { 43 return message; 44 } 45 46 } 47 48 | Popular Tags |