Package com.metsci.glimpse.core.plot
Class MapPlot2D
- java.lang.Object
-
- com.metsci.glimpse.core.layout.GlimpseLayout
-
- com.metsci.glimpse.core.layout.GlimpseAxisLayout2D
-
- com.metsci.glimpse.core.plot.Plot2D
-
- com.metsci.glimpse.core.plot.MapPlot2D
-
- All Implemented Interfaces:
GlimpseTarget
,GlimpseKeyListener
,Keyable
,GlimpseMouseListener
,GlimpseMouseMotionListener
,GlimpseMouseWheelListener
,Mouseable
,GlimpsePainter
public class MapPlot2D extends Plot2D
A geographic plotting area.- Author:
- ulman
-
-
Field Summary
-
Fields inherited from class com.metsci.glimpse.core.plot.Plot2D
BACKGROUND_LAYER, DATA_LAYER, FOREGROUND_LAYER
-
-
Constructor Summary
Constructors Constructor Description MapPlot2D(GeoProjection projection)
-
Method Summary
-
Methods inherited from class com.metsci.glimpse.core.plot.Plot2D
addAxisListener, addGlimpseKeyListener, addGlimpseMouseAllListener, addGlimpseMouseListener, addGlimpseMouseMotionListener, addGlimpseMouseWheelListener, getAxis, getAxisPainterX, getAxisPainterY, getAxisPainterZ, getAxisX, getAxisY, getAxisZ, getLabelHandlerX, getLabelHandlerY, getLabelHandlerZ, getLayoutManager, getLayoutTitle, getLayoutX, getLayoutY, getLayoutZ, getTargetStackCenter, getTargetStackTitle, getTargetStackX, getTargetStackY, getTargetStackZ, lockAspectRatioXY, lockMaxX, lockMaxY, lockMaxZ, lockMinX, lockMinY, lockMinZ, removeGlimpseKeyListener, removeGlimpseMouseAllListener, removeGlimpseMouseListener, removeGlimpseMouseMotionListener, removeGlimpseMouseWheelListener, setAbsoluteMaxX, setAbsoluteMaxY, setAbsoluteMaxZ, setAbsoluteMinX, setAbsoluteMinY, setAbsoluteMinZ, setAxisColor, setAxisLabelColor, setAxisLabelZ, setAxisLabelZ, setAxisLabelZ, setAxisSizeX, setAxisSizeY, setAxisSizeZ, setBorderSize, setMarkerWidthZ, setMaxX, setMaxY, setMaxZ, setMinorTickCount, setMinorTickCountZ, setMinX, setMinY, setMinZ, setSelectionSize, setShowAxisMarkerZ, setShowMinorTicks, setShowMinorTicksZ, setTickColor, setTickLabelColor, setTickSize, setTickSpacingZ, setTitle, setTitleColor, setTitleFont, setTitleFont, setTitleHeight, setUpdateModeXY, setUpdateModeZ, showTitle, unlockMaxX, unlockMaxY, unlockMaxZ, unlockMinX, unlockMinY, unlockMinZ, validate
-
Methods inherited from class com.metsci.glimpse.core.layout.GlimpseAxisLayout2D
clearCache, getAxis, getAxis, getAxis, getAxisFactory, isAxisFactorySet, isAxisSet, setAxis, setAxis, setAxis, setAxisFactory
-
Methods inherited from class com.metsci.glimpse.core.layout.GlimpseLayout
addLayout, addLayout, addLayout, addLayout, addLayout, addPainter, addPainter, addPainter, addPainter, addPainter, dispose, getGlimpseKeyListeners, getGlimpseMouseListeners, getGlimpseMouseMotionListeners, getGlimpseMouseWheelListeners, getLayoutByKey, getLock, getName, getPainterByKey, getTargetBounds, getTargetChildren, invalidateLayout, isDisposed, isEventConsumer, isEventGenerator, isVisible, keyPressed, keyReleased, layoutTo, layoutTo, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, paintTo, removeAll, removeAllGlimpseListeners, removeAllLayouts, removeLayout, removeLayoutByKey, removePainterByKey, setEventConsumer, setEventGenerator, setLayoutData, setLayoutManager, setLookAndFeel, setName, setVisible, setZOrder, setZOrder
-
-
-
-
Constructor Detail
-
MapPlot2D
public MapPlot2D(GeoProjection projection)
-
-
Method Detail
-
attachAxisMouseListeners
public void attachAxisMouseListeners()
-
getAxisPainterTopX
public NumericAxisPainter getAxisPainterTopX()
-
getAxisPainterRightY
public NumericAxisPainter getAxisPainterRightY()
-
getLayoutPainterTopX
public GlimpseLayout getLayoutPainterTopX()
-
getLayoutPainterRightY
public GlimpseLayout getLayoutPainterRightY()
-
setAxisFont
public void setAxisFont(Font font)
- Overrides:
setAxisFont
in classPlot2D
-
setAxisFont
public void setAxisFont(Font font, boolean antialias)
- Overrides:
setAxisFont
in classPlot2D
-
setAxisLabelX
public void setAxisLabelX(String label)
- Overrides:
setAxisLabelX
in classPlot2D
-
setAxisLabelX
public void setAxisLabelX(String label, String abbreviatedUnits)
- Overrides:
setAxisLabelX
in classPlot2D
-
setAxisLabelX
public void setAxisLabelX(String label, String units, boolean abbreviated)
- Overrides:
setAxisLabelX
in classPlot2D
-
setShowAxisMarkerX
public void setShowAxisMarkerX(boolean show)
- Overrides:
setShowAxisMarkerX
in classPlot2D
-
setMarkerWidthX
public void setMarkerWidthX(int width)
- Overrides:
setMarkerWidthX
in classPlot2D
-
setShowMinorTicksX
public void setShowMinorTicksX(boolean show)
- Overrides:
setShowMinorTicksX
in classPlot2D
-
setTickSpacingX
public void setTickSpacingX(int spacing)
- Overrides:
setTickSpacingX
in classPlot2D
-
setMinorTickCountX
public void setMinorTickCountX(int count)
- Overrides:
setMinorTickCountX
in classPlot2D
-
setAxisLabelY
public void setAxisLabelY(String label)
- Overrides:
setAxisLabelY
in classPlot2D
-
setAxisLabelY
public void setAxisLabelY(String label, String abbreviatedUnits)
- Overrides:
setAxisLabelY
in classPlot2D
-
setAxisLabelY
public void setAxisLabelY(String label, String units, boolean abbreviated)
- Overrides:
setAxisLabelY
in classPlot2D
-
setShowAxisMarkerY
public void setShowAxisMarkerY(boolean show)
- Overrides:
setShowAxisMarkerY
in classPlot2D
-
setMarkerWidthY
public void setMarkerWidthY(int width)
- Overrides:
setMarkerWidthY
in classPlot2D
-
setShowMinorTicksY
public void setShowMinorTicksY(boolean show)
- Overrides:
setShowMinorTicksY
in classPlot2D
-
setTickSpacingY
public void setTickSpacingY(int spacing)
- Overrides:
setTickSpacingY
in classPlot2D
-
setMinorTickCountY
public void setMinorTickCountY(int count)
- Overrides:
setMinorTickCountY
in classPlot2D
-
addPainter
public void addPainter(GlimpsePainter painter)
- Overrides:
addPainter
in classGlimpseLayout
-
removePainter
public void removePainter(GlimpsePainter painter)
- Overrides:
removePainter
in classGlimpseLayout
-
getLayoutCenter
public GlimpseAxisLayout2D getLayoutCenter()
- Overrides:
getLayoutCenter
in classPlot2D
-
setPlotBackgroundColor
public void setPlotBackgroundColor(float[] color)
-
setBackgroundColor
public void setBackgroundColor(float[] color)
- Overrides:
setBackgroundColor
in classPlot2D
-
getCrosshairPainter
public CrosshairPainter getCrosshairPainter()
-
getBorderPainter
public MapBorderPainter getBorderPainter()
-
getGridPainter
public GridPainter getGridPainter()
-
getGeoProjection
public GeoProjection getGeoProjection()
-
-