org.das2.util
Class GraphicalLogHandler.LogRenderer

java.lang.Object
  extended by org.das2.graph.Renderer
      extended by org.das2.util.GraphicalLogHandler.LogRenderer
All Implemented Interfaces:
Editable, DataSetConsumer
Enclosing class:
GraphicalLogHandler

public class GraphicalLogHandler.LogRenderer
extends Renderer


Field Summary
 
Fields inherited from class org.das2.graph.Renderer
ds, lastException, logger, propertyChangeSupport, renderException
 
Constructor Summary
GraphicalLogHandler.LogRenderer()
           
 
Method Summary
protected  org.w3c.dom.Element getDOMElement(org.w3c.dom.Document document)
           
 java.lang.String getSearchRegex()
           
protected  void installRenderer()
           
 void render(java.awt.Graphics g1, DasAxis xAxis, DasAxis yAxis, ProgressMonitor mon)
          Render is called whenever the image needs to be refreshed or the content has changed.
 void setSearchRegex(java.lang.String regex)
           
protected  void uninstallRenderer()
           
 
Methods inherited from class org.das2.graph.Renderer
acceptContext, addPropertyChangeListener, addPropertyChangeListener, getAffineTransform, getConsumedDataSet, getDataLoader, getDataSet, getDataSetDescriptor, getDataSetID, getLastException, getParent, invalidateParentCacheImage, isActive, isDumpDataSet, isOverloading, refresh, refreshImage, removePropertyChangeListener, removePropertyChangeListener, renderException, setActive, setDataSet, setDataSetDescriptor, setDataSetID, setDataSetLoader, setDumpDataSet, setException, setLastException, setOverloading, update, updateImmediately, updatePlotImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicalLogHandler.LogRenderer

public GraphicalLogHandler.LogRenderer()
Method Detail

getSearchRegex

public java.lang.String getSearchRegex()

setSearchRegex

public void setSearchRegex(java.lang.String regex)

render

public void render(java.awt.Graphics g1,
                   DasAxis xAxis,
                   DasAxis yAxis,
                   ProgressMonitor mon)
Description copied from class: Renderer
Render is called whenever the image needs to be refreshed or the content has changed. This operation should occur with an animation-interactive time scale, and an image should be cached when this is not possible. The graphics object will have its origin at the upper-left corner of the screen.

Specified by:
render in class Renderer

installRenderer

protected void installRenderer()
Overrides:
installRenderer in class Renderer

uninstallRenderer

protected void uninstallRenderer()
Overrides:
uninstallRenderer in class Renderer

getDOMElement

protected org.w3c.dom.Element getDOMElement(org.w3c.dom.Document document)
Overrides:
getDOMElement in class Renderer