|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.WorldWindowImpl
gov.nasa.worldwind.WorldWindowGLAutoDrawable
public class WorldWindowGLAutoDrawable
A non-platform specific WorldWindow
class. This class can be aggregated into platform-specific classes to
provide the core functionality of World Wind.
Field Summary |
---|
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl |
---|
changeSupport |
Constructor Summary | |
---|---|
WorldWindowGLAutoDrawable()
Construct a new WorldWindowGLCanvase for a specified GLDrawable . |
Method Summary | |
---|---|
void |
display(GLAutoDrawable glAutoDrawable)
See GLEventListener#display(GLAutoDrawable) . |
void |
displayChanged(GLAutoDrawable glAutoDrawable,
boolean b,
boolean b1)
See GLEventListener#displayChanged(GLAutoDrawable,boolean,boolean) . |
protected void |
doDisplay()
|
protected void |
doSwapBuffers(GLAutoDrawable drawable)
|
void |
init(GLAutoDrawable glAutoDrawable)
See GLEventListener#init(GLAutoDrawable) . |
void |
initDrawable(GLAutoDrawable glAutoDrawable)
|
void |
initTextureCache(TextureCache textureCache)
|
void |
propertyChange(PropertyChangeEvent propertyChangeEvent)
The property change listener for this instance. |
void |
redrawNow()
Immediately repaints the world window without waiting for a window system repaint event. |
void |
reshape(GLAutoDrawable glAutoDrawable,
int x,
int y,
int w,
int h)
See GLEventListener#reshape(GLAutoDrawable,int,int,int,int) . |
void |
shutdown()
Causes resources used by the World Window to be freed. |
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gov.nasa.worldwind.WorldWindow |
---|
addPositionListener, addRenderingListener, addSelectListener, getCurrentPosition, getInputHandler, getModel, getObjectsAtCurrentPosition, getPerFrameStatistics, getSceneController, getTextureCache, getView, redraw, removePositionListener, removeRenderingListener, removeSelectListener, setInputHandler, setModel, setModelAndView, setPerFrameStatisticsKeys, setView |
Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Constructor Detail |
---|
public WorldWindowGLAutoDrawable()
WorldWindowGLCanvase
for a specified GLDrawable
.
Method Detail |
---|
public void display(GLAutoDrawable glAutoDrawable)
GLEventListener#display(GLAutoDrawable)
.
glAutoDrawable
- the drawable
IllegalStateException
- if no SceneController
exists for this canvaspublic void displayChanged(GLAutoDrawable glAutoDrawable, boolean b, boolean b1)
GLEventListener#displayChanged(GLAutoDrawable,boolean,boolean)
.
glAutoDrawable
- the drawableprotected void doDisplay()
protected void doSwapBuffers(GLAutoDrawable drawable)
public void init(GLAutoDrawable glAutoDrawable)
GLEventListener#init(GLAutoDrawable)
.
glAutoDrawable
- the drawablepublic void initDrawable(GLAutoDrawable glAutoDrawable)
initDrawable
in interface WorldWindowGLDrawable
public void initTextureCache(TextureCache textureCache)
initTextureCache
in interface WorldWindowGLDrawable
public void propertyChange(PropertyChangeEvent propertyChangeEvent)
WWObjectImpl
propertyChange
in interface PropertyChangeListener
propertyChange
in class WWObjectImpl
propertyChangeEvent
- the eventpublic void redrawNow()
WorldWindow
redrawNow
in interface WorldWindow
redrawNow
in class WorldWindowImpl
public void reshape(GLAutoDrawable glAutoDrawable, int x, int y, int w, int h)
GLEventListener#reshape(GLAutoDrawable,int,int,int,int)
.
glAutoDrawable
- the drawablepublic void shutdown()
WorldWindowImpl
shutdown
in interface WorldWindow
shutdown
in class WorldWindowImpl
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |