|
|||||||||
Home >> All >> org >> xmud >> [ graphicsengine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
org.xmud.graphicsengine
Class loader

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
org.xmud.graphicsengine.loader
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- public class loader
- extends java.applet.Applet
- implements java.awt.event.ActionListener
- extends java.applet.Applet
An example of how to use the Java3D loader interface with the Xj3D codebase.
- Version:
- $Revision: 1.1.1.1 $
Nested Class Summary |
Nested classes inherited from class java.applet.Applet |
java.applet.Applet.AccessibleApplet |
Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
(package private) UtilCanvas3D |
canvas
A canvas that can display timing information |
(package private) TransformGroup |
examineGroup
A transform for examine navigation style |
(package private) java.awt.Cursor |
handCursor
Cursor to display normally |
(package private) DirectionalLight |
headLight
|
(package private) MainFrame |
mf
The heavyweight frame containing everything |
(package private) Scene |
scene
The loaded scene |
(package private) BranchGroup |
sceneGroup
|
(package private) BranchGroup |
sceneRoot
The whole scenegraph's root |
(package private) SimpleUniverse |
universe
The J3D universe to hold everything |
(package private) java.awt.Label |
URLLabel
A label for the URL field |
(package private) java.awt.Panel |
URLPanel
A panel to contain the user-interface |
(package private) java.awt.TextField |
URLTextField
Field to type in URL |
(package private) TransformGroup |
vpTransGroup
|
(package private) VRML97Loader |
vrmlLoader
The loader implementation used to load VRML97 content |
(package private) java.awt.Cursor |
waitCursor
Cursor to display when waiting |
(package private) java.awt.event.WindowAdapter |
wl
An adaptor class used to capture close events |
Fields inherited from class java.applet.Applet |
|
Fields inherited from class java.awt.Panel |
|
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
loader(java.lang.String initLocation)
Create a new loader |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent ae)
Handle user interface actions |
(package private) void |
gotoLocation(java.lang.String location)
Load a new world |
static void |
main(java.lang.String[] args)
A main body for running as an application |
void |
processEvent(java.awt.AWTEvent e)
Process and AWT event |
private void |
setupLighting()
Setup the worlds lighting. |
private void |
setupNavigation()
Setup the navigation system. |
(package private) void |
setViewpoint()
Setup the scene's view |
Methods inherited from class java.applet.Applet |
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
universe
SimpleUniverse universe
- The J3D universe to hold everything
canvas
UtilCanvas3D canvas
- A canvas that can display timing information
vrmlLoader
VRML97Loader vrmlLoader
- The loader implementation used to load VRML97 content
scene
Scene scene
- The loaded scene
sceneRoot
BranchGroup sceneRoot
- The whole scenegraph's root
examineGroup
TransformGroup examineGroup
- A transform for examine navigation style
sceneGroup
BranchGroup sceneGroup
vpTransGroup
TransformGroup vpTransGroup
headLight
DirectionalLight headLight
mf
MainFrame mf
- The heavyweight frame containing everything
wl
java.awt.event.WindowAdapter wl
- An adaptor class used to capture close events
URLPanel
java.awt.Panel URLPanel
- A panel to contain the user-interface
URLLabel
java.awt.Label URLLabel
- A label for the URL field
URLTextField
java.awt.TextField URLTextField
- Field to type in URL
waitCursor
java.awt.Cursor waitCursor
- Cursor to display when waiting
handCursor
java.awt.Cursor handCursor
- Cursor to display normally
Constructor Detail |
loader
public loader(java.lang.String initLocation)
- Create a new loader
Method Detail |
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ae)
- Handle user interface actions
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
processEvent
public void processEvent(java.awt.AWTEvent e)
- Process and AWT event
setViewpoint
void setViewpoint()
- Setup the scene's view
gotoLocation
void gotoLocation(java.lang.String location)
- Load a new world
setupNavigation
private void setupNavigation()
- Setup the navigation system. We use a simple examine behavior
setupLighting
private void setupLighting()
- Setup the worlds lighting. If none is provided in the VRML file then
we create a simple headlight
main
public static void main(java.lang.String[] args)
- A main body for running as an application
|
|||||||||
Home >> All >> org >> xmud >> [ graphicsengine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |