|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.web3d.x3d.sai.BrowserEvent
public class BrowserEvent
Class representing events that happen to the VRML browser.
This event notifies listener classes about changes to the browser that may be of interest to the client. VRML events cannot be consumed in the way that java AWT events can be.
| Field Summary | |
|---|---|
static int |
CONNECTION_ERROR
An error has occured that has caused the connection between the browser and the external application to fail. |
static int |
INITIALIZED
The browser has completed the initial loading of the world. |
static int |
LAST_IDENTIFIER
The number of reserved identifier numbers for event conditions. |
static int |
SHUTDOWN
The currently loaded world is about to be unloaded. |
static int |
URL_ERROR
An error occurred in loading VRML from a URL call. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
BrowserEvent(java.lang.Object browser,
int action)
Create a new browser event. |
|
| Method Summary | |
|---|---|
int |
getID()
Get the type of event that has occurred. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INITIALIZED
public static final int SHUTDOWN
public static final int URL_ERROR
public static final int CONNECTION_ERROR
public static final int LAST_IDENTIFIER
| Constructor Detail |
|---|
public BrowserEvent(java.lang.Object browser,
int action)
browser - The source of the browser that generated this eventaction - The event type to create
java.lang.IllegalArgumentException - if the action or browser id are not
legal values| Method Detail |
|---|
public int getID()
INITIALIZED,
SHUTDOWN
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||