public class HugeScatterRenderer extends Renderer
| Modifier and Type | Field and Description |
|---|---|
protected int |
envelope |
protected static java.util.logging.Logger |
logger |
static java.lang.String |
PROP_ENVELOPE |
bottomDecorator, colorBar, control, CONTROL_KEY_COLOR, CONTROL_KEY_COLOR_TABLE, CONTROL_KEY_DRAW_ERROR, CONTROL_KEY_FILL_COLOR, CONTROL_KEY_FILL_DIRECTION, CONTROL_KEY_FILL_TEXTURE, CONTROL_KEY_FONT_SIZE, CONTROL_KEY_LINE_STYLE, CONTROL_KEY_LINE_THICK, CONTROL_KEY_MODULO_X, CONTROL_KEY_MODULO_Y, CONTROL_KEY_REFERENCE, CONTROL_KEY_SPECIAL_COLORS, CONTROL_KEY_SYMBOL, CONTROL_KEY_SYMBOL_SIZE, drawLegendLabel, ds, firstValidIndex, id, lastException, lastValidIndex, legendLabel, MARKER_DATASET, MARKER_X_AXIS_RANGE, MARKER_Y_AXIS_RANGE, needWorkMarkers, PROP_ACTIVE, PROP_BOTTOMDECORATOR, PROP_COLORBAR, PROP_CONTROL, PROP_DRAWLEGENDLABEL, PROP_ID, PROP_LEGENDLABEL, PROP_RECORDFILE, PROP_TOPDECORATOR, propertyChangeSupport, renderException, topDecorator| Constructor and Description |
|---|
HugeScatterRenderer(DataSetDescriptor dsd) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptContext(int x,
int y)
Returns true if the render will accept the context for a point.
|
static QDataSet |
doAutorange(QDataSet ds) |
java.awt.Color |
getColor() |
int |
getEnvelope() |
javax.swing.Icon |
getListIcon()
An icon can be provided that will be shown in a list
along with the textual description of the element.
|
int |
getSaturationHitCount() |
boolean |
isPrint300dpi()
Getter for property draw300dpi.
|
void |
render(java.awt.Graphics2D g1,
DasAxis xAxis,
DasAxis yAxis)
Render is called whenever the image needs to be refreshed or the content
has changed.
|
java.awt.Shape |
selectionArea()
return a Shape object showing where the data lie and focus should be accepted.
|
void |
setColor(java.awt.Color color) |
void |
setDataSet(QDataSet ds)
Set the dataset to be plotted.
|
void |
setEnvelope(int envelope)
0=none.
|
void |
setPrint300dpi(boolean print300dpi)
Setter for property draw300dpi.
|
void |
setSaturationHitCount(int d) |
void |
updatePlotImage(DasAxis xAxis,
DasAxis yAxis,
ProgressMonitor monitor)
updatePlotImage is called once the expensive operation of loading
the data is completed.
|
acceptsDataSet, addPropertyChangeListener, addPropertyChangeListener, addToStats, decodeDatum, decodeFillStyle, decodePlotSymbolConnectorControl, decodePlotSymbolControl, drawListIcon, encodeBooleanControl, encodeColorControl, encodeDatum, encodeFillStyle, encodePlotSymbolConnectorControl, encodePlotSymbolControl, formatControl, getAffineTransform, getBooleanControl, getBottomDecorator, getColorBar, getColorControl, getConsumedDataSet, getControl, getControl, getDataLoader, getDataSet, getDataSetDescriptor, getDataSetID, getDatumControl, getDoubleArrayControl, getDoubleControl, getId, getIntegerControl, getInternalDataSet, getLastException, getLegendLabel, getListLabel, getParent, getRenderCount, getStatsFile, getTopDecorator, getUpdateCount, getXmemento, getYmemento, hasControl, incrementRenderCount, incrementUpdateCount, installRenderer, invalidateParentCacheImage, isActive, isDrawLegendLabel, isDumpDataSet, isTableDataSet, parseControl, parseLayoutString, postException, postMessage, postMessage, refresh, refreshImage, removePropertyChangeListener, removePropertyChangeListener, renderException, resetCounters, setActive, setBottomDecorator, setColorBar, setControl, setDataSetDescriptor, setDataSetID, setDataSetLoader, setDrawLegendLabel, setDumpDataSet, setException, setId, setLastException, setLegendLabel, setParent, setStatsFile, setTopDecorator, setUpFont, setUpFont, uninstallRenderer, update, updateCacheImage, updateImmediatelyprotected static final java.util.logging.Logger logger
protected int envelope
public static final java.lang.String PROP_ENVELOPE
public HugeScatterRenderer(DataSetDescriptor dsd)
public javax.swing.Icon getListIcon()
Displayablenull if there
is no icon available, or a roughly 16x16 pixel icon.getListIcon in interface DisplayablegetListIcon in class Rendererpublic void setDataSet(QDataSet ds)
RenderersetDataSet in class Rendererpublic void render(java.awt.Graphics2D g1,
DasAxis xAxis,
DasAxis yAxis)
Rendererpublic void updatePlotImage(DasAxis xAxis, DasAxis yAxis, ProgressMonitor monitor) throws DasException
RendererupdatePlotImage in class RendererxAxis - the axis relating x data coordinates to horizontal pixel coordinatesyAxis - the axis relating y data coordinates to horizontal pixel coordinatesmonitor - a monitor for the operation. Note the updatePlotImage operation should be fast (<1000ms).DasExceptionpublic void setSaturationHitCount(int d)
public int getSaturationHitCount()
public void setColor(java.awt.Color color)
public java.awt.Color getColor()
public int getEnvelope()
public void setEnvelope(int envelope)
envelope - public boolean acceptContext(int x,
int y)
RendereracceptContext in class Rendererx - the x coordinate in the canvas coordinate system.y - the y coordinate in the canvas coordinate system.public boolean isPrint300dpi()
public void setPrint300dpi(boolean print300dpi)
print300dpi - New value of property draw300dpi.public java.awt.Shape selectionArea()