public class MapProjectionDisplayJ2D extends MapProjectionDisplay
MapProjectionDisplay.MapProjection3DAdapter
NavigatedDisplay.VerticalMapSet
CURSOR_BEARING, CURSOR_BEARING_TYPE, CURSOR_RANGE, CURSOR_RANGE_TYPE, force2D
BOTTOM_VIEW, BOTTOM_VIEW_NAME, CLIP_BACK_DEFAULT, CLIP_BACK_PERSPECTIVE, CLIP_FRONT_DEFAULT, CLIP_FRONT_PERSPECTIVE, CURSOR_ALTITUDE, CURSOR_LATITUDE, CURSOR_LONGITUDE, defaultClipDistanceBack, defaultClipDistanceFront, EAST_VIEW, EAST_VIEW_NAME, MODE_2D, MODE_2Din3D, MODE_3D, NORTH_VIEW, NORTH_VIEW_NAME, SOUTH_VIEW, SOUTH_VIEW_NAME, TOP_VIEW, TOP_VIEW_NAME, WEST_VIEW, WEST_VIEW_NAME
behavior, defaultMouseFunctions, POINT_MODE
Constructor and Description |
---|
MapProjectionDisplayJ2D()
Constructs the default instance.
|
MapProjectionDisplayJ2D(visad.georef.MapProjection projection)
Constructs an instance with the specified MapProjection
|
MapProjectionDisplayJ2D(ucar.unidata.geoloc.ProjectionImpl projection)
Constructs an instance with the specified Projection and mode.
|
Modifier and Type | Method and Description |
---|---|
void |
addKeyboardBehavior(visad.KeyboardBehavior behavior)
Add a keyboard behavior.
|
void |
enableClipping(boolean clip)
Enable clipping of data at the box edges
|
RubberBandBox |
getRubberBandBox()
Retrieve the RubberBandBox being used in this component.
|
protected void |
initializeClass()
Set up the display called by constructor
|
boolean |
isPerspectiveView()
Get the view to perspective or parallel.
|
addVerticalMap, cursorMoved, destroy, getAltitudeMap, getCursorBearing, getCursorRange, getDisplayAltitudeType, getDisplayCoordinateSystem, getDisplayLatitudeType, getDisplayLongitudeType, getEarthLocation, getInstance, getInstance, getInstance, getInstance, getLatScaleInfo, getLonScaleInfo, getMapProjection, getSpatialCoordinates, getSpatialCoordinates, getVerticalRange, getVertScaleInfo, init, main, makeDefaultMapProjection, pointerMoved, removeVerticalMap, scaleVerticalValues, setCursorBearing, setCursorRange, setLatScaleInfo, setLonScaleInfo, setMapArea, setMapProjection, setMapProjection, setMapProjection, setMapRegion, setVerticalRange, setVerticalRangeUnit, setVertScaleInfo, setView, updateLocation
animateMatrix, animateMatrix, animateMatrix, animateMatrix, applyRotation, center, center, center, center, centerAndZoom, centerAndZoom, enableRubberBanding, getAnimationStringOn, getAutoRotate, getBottomViewName, getBoxVisible, getCenterPoint, getClipDistanceBack, getClipDistanceFront, getCursorAltitude, getCursorLatitude, getCursorLongitude, getDisplayMode, getEarthLocation, getEarthLocation, getEarthLocation, getEastViewName, getIsAnimating, getLatLonBox, getLatLonBox, getLatLonRect, getNavigationToolBar, getNavigationToolBar, getNorthViewName, getRay, getRayDirection, getRayPositionAtZ, getRotation, getScaledValue, getScalesVisible, getScreenCenter, getScreenCenterBottom, getScreenCenterLeft, getScreenCenterRight, getScreenCenterTop, getScreenCoordinates, getScreenCoordinates, getScreenLowerLeft, getScreenLowerRight, getScreenSidesCoordinates, getScreenUpperLeft, getScreenUpperRight, getSouthViewName, getSpatialCoordinates, getSpatialCoordinatesFromScreen, getSpatialCoordinatesFromScreen, getTopViewName, getVerticalRangeUnit, getVerticalRangeVisible, getView, getVisadBox, getWestViewName, init, isClippingEnabled, moveToScreen, moveToScreen, moveToScreen, resetClipDistance, resetScaleTranslate, rotateFaster, rotateSlower, rotateView, rotateView, screenToEarthLocation, setAnimationStringOn, setAutoRotate, setBoxVisible, setClipDistanceBack, setClipDistanceFront, setCursorAltitude, setCursorLatitude, setCursorLongitude, setCursorStringOn, setForeground, setPerspectiveView, setPolygonOffset, setPolygonOffsetFactor, setRotateDelay, setRotationMultiplierMatrix, setRubberBandBox, setScalesVisible, setVerticalMapUnit, setVerticalRangeVisible, setView
addDisplayable, addDisplayListener, addPropertyChangeListener, addPropertyChangeListener, addScalarMap, addScalarMaps, addVetoableChangeListener, addVetoableChangeListener, buildAnimationSet, dataChange, draw, ensureInactive, equals, finalize, firePropertyChange, firePropertyChange, getAnimationSetFromDisplayables, getAnimationStringVisible, getBackground, getComponent, getDestroyed, getDisplay, getDisplayableCount, getDisplayables, getDisplayables, getDisplayAspect, getDisplayComponent, getDisplayScale, getForeground, getImage, getMouseBehavior, getMouseFunctionMap, getOffscreenDimension, getProjectionMatrix, getSavedProjectionMatrix, getScale, getScreenBounds, getStereoAvailable, getWaitMessageVisible, handleMouseWheelMoved, hashCode, indexOf, init, is3D, isActive, isPointMode, printMatrix, printMe, rebuild, rebuildDisplay, reDisplayAll, removeDisplayable, removeDisplayables, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, removeScalarMaps, removeVetoableChangeListener, removeVetoableChangeListener, replaceScalarMap, reScale, resetMouseFunctions, resetProjection, rotate, rotateX, rotateY, rotateZ, saveCurrentDisplay, saveCurrentDisplay, saveCurrentDisplay, saveProjection, setActive, setAnimation, setAnimationStringVisible, setBackground, setDefaultMouseFunctions, setDisplayables, setDisplayables, setDisplayActive, setDisplayAspect, setDisplayInactive, setEyePosition, setKeyboardBehavior, setKeyboardEventMap, setKeyboardEventMap, setMouseFunctions, setOffscreenDimension, setPointMode, setProjectionMatrix, setRebuildNecessary, setWaitMessageVisible, setWheelEventMap, translate, zoom, zoom
public MapProjectionDisplayJ2D() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
- Couldn't create necessary VisAD objectjava.rmi.RemoteException
- Couldn't create a remote objectpublic MapProjectionDisplayJ2D(ucar.unidata.geoloc.ProjectionImpl projection) throws visad.VisADException, java.rmi.RemoteException
projection
- map projectionvisad.VisADException
- Couldn't create necessary VisAD objectjava.rmi.RemoteException
- Couldn't create a remote objectpublic MapProjectionDisplayJ2D(visad.georef.MapProjection projection) throws visad.VisADException, java.rmi.RemoteException
projection
- map projection CSvisad.VisADException
- Couldn't create necessary VisAD objectjava.rmi.RemoteException
- Couldn't create a remote objectprotected void initializeClass() throws visad.VisADException, java.rmi.RemoteException
initializeClass
in class MapProjectionDisplay
java.rmi.RemoteException
visad.VisADException
public void addKeyboardBehavior(visad.KeyboardBehavior behavior)
addKeyboardBehavior
in class MapProjectionDisplay
behavior
- behavior to addpublic boolean isPerspectiveView()
isPerspectiveView
in class NavigatedDisplay
public void enableClipping(boolean clip)
enableClipping
in class NavigatedDisplay
clip
- true to turn clipping on, otherwise offpublic RubberBandBox getRubberBandBox()
getRubberBandBox
in class NavigatedDisplay