dods.clients.importwizard.TMAP.map
Interface MapConstants

All Known Implementing Classes:
MapCanvas, MapGrid, MapTool, PTcXTool, PTcXYTool, PTcYTool, PTTool, SpatialPanel, XcYTool, XTool, XYTool, YcXTool, YTool

public interface MapConstants

Constants which are used with the tmap.map package.

Each applet which uses this package will want to implement this interface to access the user_x and user_y arrays in MapCanvas.

An example from an applet:


 ...

  public boolean mouseDrag(Event evt, int x, int y) {
        text_label.setText("from:  " + map.user_x[LO] + ", " + map.user_y[LO] +
        " to:  " + map.user_x[HI] + ", " + map.user_y[HI]);
  }

...

Version:
1.0, 26 Sep 1996
Author:
Jonathan Callahan

Field Summary
static int DEPTH_AXIS
          A predefined constant for specification of an axis type.
static int HEIGHT_AXIS
          A predefined constant for specification of an axis type.
static int HI
          A predefined constant for the right/top of a MapTool.
static int LATITUDE_AXIS
          A predefined constant for specification of an axis type.
static int LO
          A predefined constant for the left/bottom of a MapTool.
static int LONGITUDE_AXIS
          A predefined constant for specification of an axis type.
static int MID
          A predefined constant for the center of a MapTool.
static int PT
          A predefined constant for the center of a MapTool.
static int SNAP_MID
          A predefined constant for affecting how snapping occurs.
static int SNAP_ON
          A predefined constant for affecting how snapping occurs.
static int TIME_AXIS
          A predefined constant for specification of an axis type.
 

Field Detail

LO

static final int LO
A predefined constant for the left/bottom of a MapTool.

See Also:
Constant Field Values

HI

static final int HI
A predefined constant for the right/top of a MapTool.

See Also:
Constant Field Values

MID

static final int MID
A predefined constant for the center of a MapTool.

See Also:
Constant Field Values

PT

static final int PT
A predefined constant for the center of a MapTool.

See Also:
Constant Field Values

SNAP_ON

static final int SNAP_ON
A predefined constant for affecting how snapping occurs.

See Also:
MapGrid, Constant Field Values

SNAP_MID

static final int SNAP_MID
A predefined constant for affecting how snapping occurs.

See Also:
MapGrid, Constant Field Values

LONGITUDE_AXIS

static final int LONGITUDE_AXIS
A predefined constant for specification of an axis type.

See Also:
MapGrid, Constant Field Values

LATITUDE_AXIS

static final int LATITUDE_AXIS
A predefined constant for specification of an axis type.

See Also:
MapGrid, Constant Field Values

DEPTH_AXIS

static final int DEPTH_AXIS
A predefined constant for specification of an axis type.

See Also:
MapGrid, Constant Field Values

HEIGHT_AXIS

static final int HEIGHT_AXIS
A predefined constant for specification of an axis type.

See Also:
MapGrid, Constant Field Values

TIME_AXIS

static final int TIME_AXIS
A predefined constant for specification of an axis type.

See Also:
MapGrid, Constant Field Values