com.metsci.glimpse.plot
Class SimplePlot2D

java.lang.Object
  extended by com.metsci.glimpse.layout.GlimpseLayout
      extended by com.metsci.glimpse.layout.GlimpseAxisLayout2D
          extended by com.metsci.glimpse.plot.Plot2D
              extended by 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:

Author:
ulman

Constructor Summary
SimplePlot2D()
           
SimplePlot2D(java.lang.String name)
           
 
Method Summary
 void addPainter(GlimpsePainter painter)
           
 void addPainterOuter(GlimpsePainter painter)
           
 BorderPainter getBorderPainter()
           
 CrosshairPainter getCrosshairPainter()
           
 GridPainter getGridPainter()
           
 GlimpseAxisLayout2D getLayoutCenter()
           
 void removePainter(GlimpsePainter painter)
           
 void removePainterOuter(GlimpsePainter painter)
           
 void setBackgroundColor(float[] color)
           
 void setPlotBackgroundColor(float[] color)
           
 java.lang.String toString()
           
 
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.GlimpseAxisLayout2D
clearCache, getAxis, getAxis, getAxisFactory, isAxisFactorySet, isAxisSet, setAxis, setAxis, setAxis, setAxisFactory
 
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
 

Constructor Detail

SimplePlot2D

public SimplePlot2D()

SimplePlot2D

public SimplePlot2D(java.lang.String name)
Method Detail

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.