KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > browser > ProgressEvent


1 /*******************************************************************************
2  * Copyright (c) 2003, 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.swt.browser;
12
13 import org.eclipse.swt.widgets.*;
14 import org.eclipse.swt.events.*;
15
16 /**
17  * A <code>ProgressEvent</code> is sent by a {@link Browser} to
18  * {@link ProgressListener}'s when a progress is made during the
19  * loading of the current URL or when the loading of the current
20  * URL has been completed.
21  *
22  * @since 3.0
23  */

24 public class ProgressEvent extends TypedEvent {
25     /** current value */
26     public int current;
27     /** total value */
28     public int total;
29     
30     static final long serialVersionUID = 3977018427045393972L;
31
32 ProgressEvent(Widget w) {
33     super(w);
34 }
35 }
36
Popular Tags