|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.view.MapViewPanel
public class MapViewPanel
A GUI panel that display a MapView.
| Field Summary | |
|---|---|
java.awt.Image |
backgroundImage
|
MapViewFrame |
frame
|
MapSpaceLegend |
legend
|
MapSpace |
space
|
| Fields inherited from interface com.partnersoft.io.formats.rover.RoverConstants |
|---|
ALIGN_BOTTOM_CENTER, ALIGN_BOTTOM_FIT, ALIGN_BOTTOM_LEFT, ALIGN_BOTTOM_RIGHT, ALIGN_CENTER, ALIGN_CENTER_LEFT, ALIGN_CENTER_RIGHT, ALIGN_CODE_CENTER, ALIGN_CODE_FIT, ALIGN_CODE_HIGH, ALIGN_CODE_LOW, ALIGN_FIT, ALIGN_FIT_LEFT, ALIGN_FIT_RIGHT, ALIGN_TOP_CENTER, ALIGN_TOP_FIT, ALIGN_TOP_LEFT, ALIGN_TOP_RIGHT, COMMENT, DATA_FIELDS_MAX, EOF, FLOAT_COORDS, GEOMETRY_TYPE_NAMES, HAS_DATA, HAS_OFFSET, HAS_ROTATION, LIST, MASK_TYPECODE, NAMING, POINT, POLYGON, POLYLINE, POP, PUSH, RENDER_FINDITEM, RENDER_INDICATION, RENDER_NORMAL, RENDER_SELECTION, ROTATION_MULT, TEXEL_COORD_MAX, TEXEL_COORD_SIZE, TEXT, TILE_COORD_MAX, TILE_SIZE_PIXELS, VALUE |
| Constructor Summary | |
|---|---|
MapViewPanel(MapSpace space)
|
|
| Method Summary | |
|---|---|
void |
addKeyListener(java.awt.event.KeyListener listener)
|
void |
addMapMotionListener(MapMotionListener listener)
|
void |
addMapMouseListener(MapMouseListener listener)
|
protected void |
finalize()
Closes the statistics file. |
int |
getBaselineMillis()
This property is used during benchmarking. |
RenderController |
getController()
|
java.util.ArrayList |
getDataAt(double x,
double y,
int pixelX,
int pixelY)
Returns an array of MapDataLinks to the data at the given pixel coordinates. |
EZ2DGL |
getEZ2DGL()
|
java.awt.Component |
getGUI()
|
WheelMenu |
getWheelMenu()
|
void |
initialize()
|
void |
removeKeyListener(java.awt.event.KeyListener listener)
|
void |
removeMapMotionListener(MapMotionListener listener)
|
void |
removeMapMouseListener(MapMouseListener listener)
|
void |
setActive(boolean isActive)
|
void |
setBaselineMillis(int argBaselineMillis)
This property is used during benchmarking. |
void |
setCurrentIndications(java.util.ArrayList items)
Sets the current indication and therefore highlight. |
void |
setCurrentSelection(MapDataItem item)
Sets the current selection and therefore highlight. |
void |
setLegend(MapSpaceLegend newLegend)
|
void |
setRubberBand(double x1,
double y1,
double x2,
double y2)
|
void |
viewChanged()
Call this whenever the view changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MapSpace space
public MapSpaceLegend legend
public MapViewFrame frame
public java.awt.Image backgroundImage
| Constructor Detail |
|---|
public MapViewPanel(MapSpace space)
| Method Detail |
|---|
public void viewChanged()
public void setRubberBand(double x1,
double y1,
double x2,
double y2)
public java.util.ArrayList getDataAt(double x,
double y,
int pixelX,
int pixelY)
public void setCurrentSelection(MapDataItem item)
public void setCurrentIndications(java.util.ArrayList items)
public void setLegend(MapSpaceLegend newLegend)
public WheelMenu getWheelMenu()
public void addMapMouseListener(MapMouseListener listener)
public void removeMapMouseListener(MapMouseListener listener)
public void addMapMotionListener(MapMotionListener listener)
public void removeMapMotionListener(MapMotionListener listener)
public void addKeyListener(java.awt.event.KeyListener listener)
public void removeKeyListener(java.awt.event.KeyListener listener)
public int getBaselineMillis()
public void setBaselineMillis(int argBaselineMillis)
public java.awt.Component getGUI()
public EZ2DGL getEZ2DGL()
public RenderController getController()
public void setActive(boolean isActive)
protected void finalize()
finalize in class java.lang.Objectpublic void initialize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||