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:
setAxisFontin classPlot2D
-
setAxisFont
public void setAxisFont(Font font, boolean antialias)
- Overrides:
setAxisFontin classPlot2D
-
setAxisLabelX
public void setAxisLabelX(String label)
- Overrides:
setAxisLabelXin classPlot2D
-
setAxisLabelX
public void setAxisLabelX(String label, String abbreviatedUnits)
- Overrides:
setAxisLabelXin classPlot2D
-
setAxisLabelX
public void setAxisLabelX(String label, String units, boolean abbreviated)
- Overrides:
setAxisLabelXin classPlot2D
-
setShowAxisMarkerX
public void setShowAxisMarkerX(boolean show)
- Overrides:
setShowAxisMarkerXin classPlot2D
-
setMarkerWidthX
public void setMarkerWidthX(int width)
- Overrides:
setMarkerWidthXin classPlot2D
-
setShowMinorTicksX
public void setShowMinorTicksX(boolean show)
- Overrides:
setShowMinorTicksXin classPlot2D
-
setTickSpacingX
public void setTickSpacingX(int spacing)
- Overrides:
setTickSpacingXin classPlot2D
-
setMinorTickCountX
public void setMinorTickCountX(int count)
- Overrides:
setMinorTickCountXin classPlot2D
-
setAxisLabelY
public void setAxisLabelY(String label)
- Overrides:
setAxisLabelYin classPlot2D
-
setAxisLabelY
public void setAxisLabelY(String label, String abbreviatedUnits)
- Overrides:
setAxisLabelYin classPlot2D
-
setAxisLabelY
public void setAxisLabelY(String label, String units, boolean abbreviated)
- Overrides:
setAxisLabelYin classPlot2D
-
setShowAxisMarkerY
public void setShowAxisMarkerY(boolean show)
- Overrides:
setShowAxisMarkerYin classPlot2D
-
setMarkerWidthY
public void setMarkerWidthY(int width)
- Overrides:
setMarkerWidthYin classPlot2D
-
setShowMinorTicksY
public void setShowMinorTicksY(boolean show)
- Overrides:
setShowMinorTicksYin classPlot2D
-
setTickSpacingY
public void setTickSpacingY(int spacing)
- Overrides:
setTickSpacingYin classPlot2D
-
setMinorTickCountY
public void setMinorTickCountY(int count)
- Overrides:
setMinorTickCountYin classPlot2D
-
addPainter
public void addPainter(GlimpsePainter painter)
- Overrides:
addPainterin classGlimpseLayout
-
removePainter
public void removePainter(GlimpsePainter painter)
- Overrides:
removePainterin classGlimpseLayout
-
getLayoutCenter
public GlimpseAxisLayout2D getLayoutCenter()
- Overrides:
getLayoutCenterin classPlot2D
-
setPlotBackgroundColor
public void setPlotBackgroundColor(float[] color)
-
setBackgroundColor
public void setBackgroundColor(float[] color)
- Overrides:
setBackgroundColorin classPlot2D
-
getCrosshairPainter
public CrosshairPainter getCrosshairPainter()
-
getBorderPainter
public MapBorderPainter getBorderPainter()
-
getGridPainter
public GridPainter getGridPainter()
-
getGeoProjection
public GeoProjection getGeoProjection()
-
-