public class GraphicalLogHandler.LogRenderer extends Renderer
colorBar, control, CONTROL_KEY_COLOR, CONTROL_KEY_COLOR_TABLE, CONTROL_KEY_DRAW_ERROR, CONTROL_KEY_FILL_COLOR, CONTROL_KEY_FILL_DIRECTION, CONTROL_KEY_FONT_SIZE, CONTROL_KEY_LINE_STYLE, CONTROL_KEY_LINE_THICK, CONTROL_KEY_REFERENCE, CONTROL_KEY_SYMBOL, CONTROL_KEY_SYMBOL_SIZE, drawLegendLabel, ds, firstValidIndex, id, lastException, lastValidIndex, legendLabel, logger, MARKER_DATASET, MARKER_X_AXIS_RANGE, MARKER_Y_AXIS_RANGE, needWorkMarkers, PROP_ACTIVE, PROP_COLORBAR, PROP_CONTROL, PROP_DRAWLEGENDLABEL, PROP_ID, PROP_LEGENDLABEL, PROP_TOPDECORATOR, propertyChangeSupport, renderException, topDecorator| Constructor and Description |
|---|
LogRenderer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSearchRegex() |
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) |
acceptContext, acceptsDataSet, addPropertyChangeListener, addPropertyChangeListener, decodePlotSymbolControl, drawListIcon, encodeBooleanControl, encodeColorControl, encodePlotSymbolControl, formatControl, getAffineTransform, getBooleanControl, getColorBar, getColorControl, getConsumedDataSet, getControl, getControl, getDataLoader, getDataSet, getDataSetDescriptor, getDataSetID, getDatumControl, getDoubleArrayControl, getDoubleControl, getId, getIntegerControl, getLastException, getLegendLabel, getListIcon, getListLabel, getParent, getRenderCount, getTopDecorator, getUpdateCount, getXmemento, getYmemento, hasControl, incrementRenderCount, incrementUpdateCount, installRenderer, invalidateParentCacheImage, isActive, isDrawLegendLabel, isDumpDataSet, isTableDataSet, parseControl, refresh, refreshImage, removePropertyChangeListener, removePropertyChangeListener, renderException, resetCounters, setActive, setColorBar, setControl, setDataSet, setDataSetDescriptor, setDataSetID, setDataSetLoader, setDrawLegendLabel, setDumpDataSet, setException, setId, setLastException, setLegendLabel, setParent, setTopDecorator, setUpFont, setUpFont, uninstallRenderer, update, updateCacheImage, updateImmediately, updatePlotImagepublic java.lang.String getSearchRegex()
public void setSearchRegex(java.lang.String regex)
public void render(java.awt.Graphics g1,
DasAxis xAxis,
DasAxis yAxis,
ProgressMonitor mon)
Rendererrender in class Rendererg1 - the graphics context in the canvas reference frame.xAxis - the axis relating x data coordinates to horizontal pixel coordinatesyAxis - the axis relating y data coordinates to horizontal pixel coordinatesmon - a monitor for the operation. Note the render operation should
be fast (<300ms).