com.metsci.glimpse.plot
Class SimplePlot2D
java.lang.Object
com.metsci.glimpse.layout.GlimpseLayout
com.metsci.glimpse.layout.GlimpseAxisLayout2D
com.metsci.glimpse.plot.Plot2D
com.metsci.glimpse.plot.SimplePlot2D
- All Implemented Interfaces:
- GlimpseTarget, GlimpseMouseListener, GlimpseMouseMotionListener, GlimpseMouseWheelListener, Mouseable, GlimpsePainter
- Direct Known Subclasses:
- ColorAxisPlot2D
public class SimplePlot2D
- extends Plot2D
Identical in structure to Plot2D
, but also provides
a pre-selected set of common plot elements including:
- a solid color background to the plot
- a simple line border around the plotting area
- vertical and horizontal grid lines which match the axis tick marks
- a crosshair which follows the mouse position
- Author:
- ulman
Methods inherited from class com.metsci.glimpse.plot.Plot2D |
addAxisListener, 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, removeGlimpseMouseAllListener, removeGlimpseMouseListener, removeGlimpseMouseMotionListener, removeGlimpseMouseWheelListener, setAbsoluteMaxX, setAbsoluteMaxY, setAbsoluteMaxZ, setAbsoluteMinX, setAbsoluteMinY, setAbsoluteMinZ, setAxisColor, setAxisFont, setAxisFont, setAxisLabelColor, setAxisLabelX, setAxisLabelX, setAxisLabelX, setAxisLabelY, setAxisLabelY, setAxisLabelY, setAxisLabelZ, setAxisLabelZ, setAxisLabelZ, setAxisSizeX, setAxisSizeY, setAxisSizeZ, setBorderSize, setMarkerWidthX, setMarkerWidthY, setMarkerWidthZ, setMaxX, setMaxY, setMaxZ, setMinorTickCount, setMinorTickCountX, setMinorTickCountY, setMinorTickCountZ, setMinX, setMinY, setMinZ, setSelectionSize, setShowAxisMarkerX, setShowAxisMarkerY, setShowAxisMarkerZ, setShowMinorTicks, setShowMinorTicksX, setShowMinorTicksY, setShowMinorTicksZ, setTickColor, setTickLabelColor, setTickSize, setTickSpacingX, setTickSpacingY, setTickSpacingZ, setTitle, setTitleColor, setTitleFont, setTitleFont, setTitleHeight, setUpdateModeXY, setUpdateModeZ, showTitle, unlockMaxX, unlockMaxY, unlockMaxZ, unlockMinX, unlockMinY, unlockMinZ, validate |
Methods inherited from class com.metsci.glimpse.layout.GlimpseLayout |
addLayout, addLayout, addPainter, dispose, getGlimpseMouseListeners, getGlimpseMouseMotionListeners, getGlimpseMouseWheelListeners, getName, getTargetBounds, getTargetChildren, invalidateLayout, isDisposed, isEventConsumer, isEventGenerator, isVisible, layoutTo, layoutTo, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, paintTo, removeAllGlimpseListeners, removeLayout, setEventConsumer, setEventGenerator, setLayoutData, setLayoutManager, setLookAndFeel, setName, setVisible |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimplePlot2D
public SimplePlot2D()
SimplePlot2D
public SimplePlot2D(java.lang.String name)
addPainterOuter
public void addPainterOuter(GlimpsePainter painter)
removePainterOuter
public void removePainterOuter(GlimpsePainter painter)
addPainter
public void addPainter(GlimpsePainter painter)
- Overrides:
addPainter
in class GlimpseLayout
removePainter
public void removePainter(GlimpsePainter painter)
- Overrides:
removePainter
in class GlimpseLayout
setPlotBackgroundColor
public void setPlotBackgroundColor(float[] color)
setBackgroundColor
public void setBackgroundColor(float[] color)
- Overrides:
setBackgroundColor
in class Plot2D
getCrosshairPainter
public CrosshairPainter getCrosshairPainter()
getBorderPainter
public BorderPainter getBorderPainter()
getGridPainter
public GridPainter getGridPainter()
getLayoutCenter
public GlimpseAxisLayout2D getLayoutCenter()
- Overrides:
getLayoutCenter
in class Plot2D
toString
public java.lang.String toString()
- Overrides:
toString
in class Plot2D
Copyright © 2012 Metron, Inc.. All Rights Reserved.