|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.bbn.openmap.MapBean
com.bbn.openmap.BufferedMapBean
fr.ifremer.coser.ui.maps.CoserMap
public class CoserMap
Coser map based open openmap.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected com.bbn.openmap.event.MapMouseMode |
currentMouseMode
|
protected com.bbn.openmap.LayerHandler |
layerHandler
|
protected com.bbn.openmap.MouseDelegator |
md
|
protected static float |
SCALE
|
| Fields inherited from class com.bbn.openmap.BufferedMapBean |
|---|
bufferDirty, drawingBuffer |
| Fields inherited from class com.bbn.openmap.MapBean |
|---|
addedLayers, background, BackgroundProperty, currentLayers, CursorProperty, DEFAULT_BACKGROUND_COLOR, DEFAULT_CENTER_LAT, DEFAULT_CENTER_LON, DEFAULT_HEIGHT, DEFAULT_SCALE, DEFAULT_WIDTH, doContainerChange, layerRemovalDelayed, LayersProperty, minHeight, minWidth, painters, projection, ProjectionProperty, projectionSupport, ProjectionVetoedProperty, removedLayers, repaintPolicy, suppressCopyright, title, version |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CoserMap()
|
|
| Method Summary | |
|---|---|
protected void |
addGraticuleLayer()
|
protected void |
addLayer(String layerId,
String mapFile,
String lineColor,
String fillColor)
Add a new layer to the map depending on mapFile extension. |
protected com.bbn.openmap.Layer |
getShapeLayer(String layerId,
String mapFile,
String lineColor,
String fillColor)
Manage shp layer display. |
void |
initMap(Project project)
|
void |
setActiveMouseMode(com.bbn.openmap.event.MapMouseMode mode)
|
| Methods inherited from class com.bbn.openmap.BufferedMapBean |
|---|
componentResized, isBufferDirty, isBuffered, paintChildren, paintChildren, setBufferDirty, setLayers |
| Methods inherited from class com.bbn.openmap.MapBean |
|---|
addImpl, addPaintListener, addProjectionListener, addPropertyChangeListener, center, changeLayers, componentAdded, componentHidden, componentMoved, componentRemoved, componentShown, debugmsg, dispose, drawProjectionBackground, fireProjectionChanged, getBackground, getBckgrnd, getCenter, getCoordinates, getCoordinates, getCopyrightMessage, getDoContainerChange, getInsets, getMapBeanRepaintPolicy, getMinimumSize, getProjection, getProjectionType, getScale, hideLayerPalettes, isLayerRemovalDelayed, paint, paintBorder, paintChildrenWithBorder, pan, projectionChanged, purgeAndNotifyRemovedLayers, removePaintListener, removeProjectionListener, repaint, setBackground, setBackgroundColor, setBckgrnd, setCenter, setCenter, setCursor, setDoContainerChange, setLayerRemovalDelayed, setLayout, setMapBeanRepaintPolicy, setMinimumSize, setProjection, setProjectionType, setScale, showLayerPalettes, toString, zoom |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected com.bbn.openmap.LayerHandler layerHandler
protected com.bbn.openmap.event.MapMouseMode currentMouseMode
protected com.bbn.openmap.MouseDelegator md
protected static final float SCALE
| Constructor Detail |
|---|
public CoserMap()
| Method Detail |
|---|
public void setActiveMouseMode(com.bbn.openmap.event.MapMouseMode mode)
public void initMap(Project project)
protected void addGraticuleLayer()
protected void addLayer(String layerId,
String mapFile,
String lineColor,
String fillColor)
layerId - layer idmapFile - absolute map fail pathlineColor - line colorfillColor - fill color
protected com.bbn.openmap.Layer getShapeLayer(String layerId,
String mapFile,
String lineColor,
String fillColor)
layerId - layer idmapFile - absolute map fail pathlineColor - line colorfillColor - fill color
ShapeLayer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||