|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.DisplayMaster
ucar.unidata.view.geoloc.NavigatedDisplay
ucar.unidata.view.geoloc.MapProjectionDisplay
ucar.unidata.view.geoloc.MapProjectionDisplayJ2D
public class MapProjectionDisplayJ2D
Provides a navigated VisAD DisplayImpl for displaying data. The Projection or MapProjection provides the transformation from lat/lon space to xy space. There is one mode with this display - MODE_2D Performance is better using MapProjectionDisplayJ3D. Any displayable data must be able to map to RealType.Latitude, RealType.Longitude.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.view.geoloc.MapProjectionDisplay |
|---|
MapProjectionDisplay.MapProjection3DAdapter |
| Nested classes/interfaces inherited from class ucar.unidata.view.geoloc.NavigatedDisplay |
|---|
NavigatedDisplay.VerticalMapSet |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.view.geoloc.MapProjectionDisplay |
|---|
CURSOR_BEARING, CURSOR_BEARING_TYPE, CURSOR_RANGE, CURSOR_RANGE_TYPE, force2D |
| Fields inherited from class ucar.unidata.view.geoloc.NavigatedDisplay |
|---|
BOTTOM_VIEW, BOTTOM_VIEW_NAME, CURSOR_ALTITUDE, CURSOR_LATITUDE, CURSOR_LONGITUDE, 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 |
| Fields inherited from class ucar.visad.display.DisplayMaster |
|---|
behavior, defaultMouseFunctions, POINT_MODE |
| Constructor Summary | |
|---|---|
MapProjectionDisplayJ2D()
Constructs the default instance. |
|
MapProjectionDisplayJ2D(MapProjection projection)
Constructs an instance with the specified MapProjection |
|
MapProjectionDisplayJ2D(ucar.unidata.geoloc.ProjectionImpl projection)
Constructs an instance with the specified Projection and mode. |
|
| Method Summary | |
|---|---|
void |
addKeyboardBehavior(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapProjectionDisplayJ2D()
throws VisADException,
RemoteException
VisADException - Couldn't create necessary VisAD object
RemoteException - Couldn't create a remote object
public MapProjectionDisplayJ2D(ucar.unidata.geoloc.ProjectionImpl projection)
throws VisADException,
RemoteException
projection - map projection
VisADException - Couldn't create necessary VisAD object
RemoteException - Couldn't create a remote object
public MapProjectionDisplayJ2D(MapProjection projection)
throws VisADException,
RemoteException
projection - map projection CS
VisADException - Couldn't create necessary VisAD object
RemoteException - Couldn't create a remote object| Method Detail |
|---|
protected void initializeClass()
throws VisADException,
RemoteException
initializeClass in class MapProjectionDisplayRemoteException
VisADExceptionpublic void addKeyboardBehavior(KeyboardBehavior behavior)
addKeyboardBehavior in class MapProjectionDisplaybehavior - behavior to addpublic boolean isPerspectiveView()
isPerspectiveView in class NavigatedDisplaypublic void enableClipping(boolean clip)
enableClipping in class NavigatedDisplayclip - true to turn clipping on, otherwise offpublic RubberBandBox getRubberBandBox()
getRubberBandBox in class NavigatedDisplay
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||