|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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]); } ...
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 |
---|
static final int LO
static final int HI
static final int MID
static final int PT
static final int SNAP_ON
MapGrid
,
Constant Field Valuesstatic final int SNAP_MID
MapGrid
,
Constant Field Valuesstatic final int LONGITUDE_AXIS
MapGrid
,
Constant Field Valuesstatic final int LATITUDE_AXIS
MapGrid
,
Constant Field Valuesstatic final int DEPTH_AXIS
MapGrid
,
Constant Field Valuesstatic final int HEIGHT_AXIS
MapGrid
,
Constant Field Valuesstatic final int TIME_AXIS
MapGrid
,
Constant Field Values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |