gov.nasa.worldwind.applications.glider
Class GliderWorldWindow
java.lang.Object
java.awt.Component
java.awt.Canvas
javax.media.opengl.GLCanvas
gov.nasa.worldwind.awt.WorldWindowGLCanvas
gov.nasa.worldwind.applications.glider.GliderWorldWindow
- All Implemented Interfaces:
- AVList, WorldWindow, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, javax.media.opengl.ComponentEvents, javax.media.opengl.GLAutoDrawable, javax.media.opengl.GLDrawable
public class GliderWorldWindow - extends WorldWindowGLCanvas
View class to support GLIDER program. This class is internal to the Eclipse RCP implementation of EarthView in the
GLIDER source.
- See Also:
- Serialized Form
| Methods inherited from class gov.nasa.worldwind.awt.WorldWindowGLCanvas |
addPositionListener, addPropertyChangeListener, addPropertyChangeListener, addRenderingExceptionListener, addRenderingListener, addSelectListener, clearList, copy, firePropertyChange, firePropertyChange, getCurrentPosition, getEntries, getInputHandler, getModel, getObjectsAtCurrentPosition, getPerFrameStatistics, getSceneController, getStringValue, getTextureCache, getValue, getValues, getView, hasKey, propertyChange, redraw, redrawNow, removeKey, removePositionListener, removePropertyChangeListener, removePropertyChangeListener, removeRenderingExceptionListener, removeRenderingListener, removeSelectListener, setInputHandler, setModel, setModelAndView, setPerFrameStatisticsKeys, setValue, setValues, setView, shutdown |
| Methods inherited from class javax.media.opengl.GLCanvas |
addGLEventListener, addNotify, createContext, display, getAutoSwapBufferMode, getChosenGLCapabilities, getContext, getGL, getGraphicsConfiguration, paint, removeGLEventListener, removeNotify, reshape, setAutoSwapBufferMode, setGL, setRealized, swapBuffers, update |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
| Methods inherited from interface javax.media.opengl.GLAutoDrawable |
repaint |
| Methods inherited from interface javax.media.opengl.GLDrawable |
getHeight, getWidth, setSize |
| Methods inherited from interface javax.media.opengl.ComponentEvents |
addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener |
imageTable
protected CopyOnWriteArraySet<GliderImage> imageTable
layerListener
protected GliderWorldWindow.LayerListener layerListener
GliderWorldWindow
public GliderWorldWindow()
addImage
public void addImage(GliderImage image)
throws IOException
- Adds an image to display on the globe.
- Parameters:
image - the image to display
- Throws:
IllegalArgumentException - if image is null.
IOException - if the image cannot be opened.
containsImage
public boolean containsImage(GliderImage image)
- Indicates whether a specified image is associated.
- Parameters:
image - the image in question.
- Returns:
true if the image is associated, false if not or if image is
null.
getImages
public Set<GliderImage> getImages()
- Returns the set of currently associated images.
- Returns:
- the set of currently associated images. The returned set is not modifiable and cannot be used to
associate or disassociate an image.
removeImage
public void removeImage(GliderImage image)
- Removes a specified image from the globe.
- Parameters:
image - the image to remove.
- Throws:
IllegalArgumentException - if image is null.
|
|