// $Id: StatusEvent.java,v 1.1 2006/05/20 17:02:04 Sasha Buzko Exp $ // // Copyright (c) 2000-2002 San Diego Supercomputer Center (SDSC), // a facility operated jointly by the University of California, // San Diego (UCSD) and General Atomics, San Diego, California, USA. // // Users and possessors of this source code are hereby granted a // nonexclusive, royalty-free copyright and design patent license to // use this code in individual software. License is not granted for // commercial resale, in whole or in part, without prior written // permission from SDSC. This source is provided "AS IS" without express // or implied warranty of any kind. // // For further information, please see: http://mbt.sdsc.edu // // History: // $Log: StatusEvent.java,v $ // Revision 1.1 2006/05/20 17:02:04 Sasha Buzko // Updated version // // Revision 1.1 2006/04/30 20:13:59 Sasha Buzko // New version of the app // // Revision 1.1 2006/04/15 19:42:26 Sasha Buzko // Initial commit // // Revision 1.1 2005/11/13 04:35:05 Administrator // *** empty log message *** // // Revision 1.3 2003/04/03 22:40:33 moreland // Added "progress" handling support. // // Revision 1.2 2003/02/27 21:23:05 moreland // Corrected javadoc "see" reference paths. // // Revision 1.1 2003/01/31 21:15:50 moreland // Added classes to provide a toolkit-wide static status message output mechanism. // // Revision 1.0 2002/10/24 17:54:01 moreland // First revision. // package edu.sdsc.mbt.util; /** * A status message container used by the Status class. *

* @see edu.sdsc.mbt.util.Status * @see edu.sdsc.mbt.util.StatusListener *

* @author John L. Moreland */ public class StatusEvent { /** * An output message type of event. */ public static final int TYPE_OUTPUT = 0; /** * A progress type of event. */ public static final int TYPE_PROGRESS = 1; /** * The message type. */ public int type = TYPE_OUTPUT; /** * The message level. */ public int level = 0; /** * The message text. */ public String message = null; /** * The progress percentage (0.0-1.0). */ public float percent = 0.0f; }