FreeWRL/FreeX3D  3.0.0
BrowserEvent.java
1 package org.web3d.x3d.sai;
2 
3 import java.util.*;
4 
5 public class BrowserEvent extends EventObject {
6  public static final int INITIALIZED = 0;
7  public static final int SHUTDOWN = 1;
8  public static final int URL_ERROR = 2;
9  public static final int CONNECTION_ERROR = 10;
10  public static final int LAST_IDENTIFIER = 100;
11 
12  int action;
13  Object browser;
14 
15  public BrowserEvent(Object b, int a) {
16  super(b);
17  browser = b;
18  action = a;
19  }
20 
21  public int getID() {
22  return action;
23  }
24 }