|
||||||||||
| 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.Layer
com.bbn.openmap.layer.OMGraphicHandlerLayer
fr.ifremer.isisfish.map.ResultatLayer
public class ResultatLayer
ResultatLayer.java Created: Mon Apr 15 15:14:40 2002
| 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 DataMapList |
dataMapList
|
protected com.bbn.openmap.omGraphics.OMGraphicList |
graphics
|
protected JPanel |
palette
|
protected com.bbn.openmap.proj.Projection |
proj
|
| Fields inherited from class com.bbn.openmap.layer.OMGraphicHandlerLayer |
|---|
consumeEvents, ConsumeEventsProperty, filter, interruptable, InterruptableProperty, layerWorker, LAYERWORKER_LOCK, layerWorkerQueue, logger, mouseEventInterpreter, mouseModeIDs, MouseModesProperty, projectionChangePolicy, ProjectionChangePolicyProperty, renderPolicy, RenderPolicyProperty, selectedList, TransparencyProperty |
| Fields inherited from class com.bbn.openmap.Layer |
|---|
addAsBackground, AddAsBackgroundProperty, addToBeanContext, AddToBeanContextProperty, attributes, autoPalette, AutoPaletteProperty, beanContextChildSupport, coordTransform, DataPathPrefixProperty, DisplayPaletteCmd, DisplayPropertiesCmd, doHack, HidePaletteCmd, i18n, localHackList, maxScale, MaxScaleProperty, minScale, MinScaleProperty, paletteListener, PrettyNameProperty, propertyPrefix, RedrawCmd, removable, RemovableProperty, SWING_PACKAGE, TransformProperty, windowSupport |
| 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 com.bbn.openmap.PropertyConsumer |
|---|
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ResultatLayer()
|
|
| Method Summary | |
|---|---|
void |
addDataMap(DataMap data)
Add a DataMap to this layer. |
protected void |
generateGraphics()
Create and project the graphics.Creer l ensemble des carres possible et affiche le cadrillage. |
DataMapList |
getDataMapList()
Get the DataMapList in this layer. |
Component |
getGUI()
Palette associated to the layer |
com.bbn.openmap.event.MapMouseListener |
getMapMouseListener()
Note: A layer interested in receiving amouse events should implement this function . |
String[] |
getMouseModeServiceList()
Return a list of the modes that are interesting to the MapMouseListener. |
com.bbn.openmap.proj.Projection |
getProjection()
Get the projection. |
void |
hidePalette()
Hide the layer's palette. |
boolean |
mouseClicked(MouseEvent e)
Invoked when the mouse has been clicked on a component. |
boolean |
mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. |
void |
mouseEntered(MouseEvent e)
Invoked when the mouse enters a component. |
void |
mouseExited(MouseEvent e)
Invoked when the mouse exits a component. |
void |
mouseMoved()
Handle a mouse cursor moving without the button being pressed. |
boolean |
mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons no down). |
boolean |
mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component. |
boolean |
mouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component. |
void |
paint(Graphics g)
Paints the layer. |
void |
projectionChanged(com.bbn.openmap.event.ProjectionEvent e)
Invoked when the projection has changed or this Layer has been added to the MapBean. |
void |
renderDataForProjection(com.bbn.openmap.proj.Projection proj,
Graphics g)
Implementing the ProjectionPainter interface. |
void |
setDataMapList(DataMapList list)
Set the dataMapList. |
void |
setMatriceInfo(org.nuiton.math.matrix.MatrixND matInfo)
|
void |
setProjection(com.bbn.openmap.proj.Projection proj)
Set the projection. |
void |
showPalette()
Make the palette visible. |
| Methods inherited from class com.bbn.openmap.layer.OMGraphicHandlerLayer |
|---|
actionPerformed, canSetList, copy, createLayerWorker, cut, deselect, dispose, doAction, doPrepare, filter, filter, filter, getConsumeEvents, getFilter, getInfoText, getItemsForMapMenu, getItemsForOMGraphicMenu, getLayerWorker, getList, getMouseEventInterpreter, getMouseModeIDsForEvents, getProjectionChangePolicy, getProperties, getPropertyInfo, getRenderPolicy, getSelected, getToolTipTextFor, getTransparency, getTransparencyAdjustmentPanel, highlight, interrupt, isCancelled, isHighlightable, isInterruptable, isSelectable, isWorking, leftClick, mouseOver, paste, prepare, receivesMapEvents, resetFiltering, select, setCancelled, setConsumeEvents, setFilter, setInterruptable, setLayerWorker, setList, setMouseEventInterpreter, setMouseModeIDsForEvents, setProjectionChangePolicy, setProperties, setRenderPolicy, setTransparency, supportsSQL, unhighlight, workerComplete |
| Methods inherited from class com.bbn.openmap.Layer |
|---|
addComponentListener, added, addInfoDisplayListener, addLayerStatusListener, addMouseListener, addVetoableChangeListener, childrenAdded, childrenRemoved, clearListeners, connectToBeanContext, createWindowSupport, disconnectFromBeanContext, finalize, findAndInit, findAndInit, findAndUndo, fireHideToolTip, firePaletteEvent, fireRequestBrowserContent, fireRequestBrowserContent, fireRequestCursor, fireRequestInfoLine, fireRequestInfoLine, fireRequestInfoLine, fireRequestMessage, fireRequestMessage, fireRequestToolTip, fireRequestToolTip, fireRequestURL, fireRequestURL, fireStatusUpdate, fireStatusUpdate, fireVetoableChange, getAddAsBackground, getAddToBeanContext, getAttribute, getBeanContext, getCoordTransform, getIcon, getMaxScale, getMinScale, getPackage, getPalette, getPropertyPrefix, getWindowSupport, hasGUI, isAutoPalette, isProjectionOK, isRemovable, notifyHideHack, prependDataPathPrefix, putAttribute, removeComponentListener, removeConfirmed, removed, removeInfoDisplayListener, removeLayerStatusListener, removeVetoableChangeListener, repaint, resetPalette, setAddAsBackground, setAddToBeanContext, setAutoPalette, setBeanContext, setCoordTransform, setIcon, setLayerProperties, setMaxScale, setMinScale, setName, setPaletteVisible, setProjection, setProperties, setPropertyPrefix, setRemovable, setVisible, setWindowSupport |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.beans.beancontext.BeanContextChild |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
protected DataMapList dataMapList
protected JPanel palette
protected com.bbn.openmap.proj.Projection proj
protected com.bbn.openmap.omGraphics.OMGraphicList graphics
| Constructor Detail |
|---|
public ResultatLayer()
| Method Detail |
|---|
public void addDataMap(DataMap data)
data - DataMap to add.public void setDataMapList(DataMapList list)
list - DataMapListpublic DataMapList getDataMapList()
public void setMatriceInfo(org.nuiton.math.matrix.MatrixND matInfo)
public void setProjection(com.bbn.openmap.proj.Projection proj)
setProjection in class com.bbn.openmap.Layerproj - Projectionpublic com.bbn.openmap.proj.Projection getProjection()
getProjection in class com.bbn.openmap.Layer
public void renderDataForProjection(com.bbn.openmap.proj.Projection proj,
Graphics g)
renderDataForProjection in interface com.bbn.openmap.ProjectionPainterrenderDataForProjection in class com.bbn.openmap.layer.OMGraphicHandlerLayerpublic void projectionChanged(com.bbn.openmap.event.ProjectionEvent e)
projectionChanged in interface com.bbn.openmap.event.ProjectionListenerprojectionChanged in class com.bbn.openmap.layer.OMGraphicHandlerLayere - ProjectionEventprotected void generateGraphics()
public Component getGUI()
getGUI in class com.bbn.openmap.Layerpublic void paint(Graphics g)
paint in class com.bbn.openmap.layer.OMGraphicHandlerLayerg - the Graphics context for paintingpublic void showPalette()
showPalette in class com.bbn.openmap.Layerpublic void hidePalette()
hidePalette in class com.bbn.openmap.Layerpublic String[] getMouseModeServiceList()
return new String[1] { SelectMouseMode.modeID };
- Specified by:
getMouseModeServiceList in interface com.bbn.openmap.event.MapMouseListener
- See Also:
SelectMouseMode.modeID
public com.bbn.openmap.event.MapMouseListener getMapMouseListener()
getMapMouseListener in class com.bbn.openmap.layer.OMGraphicHandlerLayerpublic boolean mousePressed(MouseEvent e)
mousePressed in interface com.bbn.openmap.event.MapMouseListenere - MouseEvent
public boolean mouseReleased(MouseEvent e)
mouseReleased in interface com.bbn.openmap.event.MapMouseListenere - MouseEvent
public boolean mouseClicked(MouseEvent e)
mousePressed(), or if no other listener processes the
event. If the listener successfully processes mouseClicked(), then it
will receive the next mouseClicked() notifications that have a click
count greater than one.
mouseClicked in interface com.bbn.openmap.event.MapMouseListenere - MouseEvent to handle.
public void mouseEntered(MouseEvent e)
mouseEntered in interface com.bbn.openmap.event.MapMouseListenere - MouseEvent to handle.public void mouseExited(MouseEvent e)
mouseExited in interface com.bbn.openmap.event.MapMouseListenere - MouseEvent to handle.public boolean mouseDragged(MouseEvent e)
mouseDragged in interface com.bbn.openmap.event.MapMouseListenere - MouseEvent to handle.
public boolean mouseMoved(MouseEvent e)
mouseMoved in interface com.bbn.openmap.event.MapMouseListenere - MouseEvent to handle.
public void mouseMoved()
mouseMoved in interface com.bbn.openmap.event.MapMouseListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||