public class PlotSymbolRenderer extends Renderer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_COLOR |
static java.lang.String |
PROP_COLORBYDATASETID |
static java.lang.String |
PROP_PSYM |
static java.lang.String |
PROP_SYMSIZE |
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, logger, 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 |
---|
PlotSymbolRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add PropertyChangeListener.
|
java.awt.Color |
getColor()
Get the value of color
|
java.lang.String |
getColorByDataSetId() |
protected org.w3c.dom.Element |
getDOMElement(org.w3c.dom.Document document) |
PlotSymbol |
getPsym()
Get the value of psym
|
double |
getSymSize()
Get the value of symsize
|
protected void |
installRenderer() |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove PropertyChangeListener.
|
void |
render(java.awt.Graphics2D g,
DasAxis xAxis,
DasAxis yAxis)
Render is called whenever the image needs to be refreshed or the content
has changed.
|
void |
setColor(java.awt.Color newcolor)
Set the value of color
|
void |
setColorBar(DasColorBar colorBar)
set a colorbar for the renderer.
|
void |
setColorByDataSetId(java.lang.String newcolorByDataSetId) |
void |
setPsym(PlotSymbol newpsym)
Set the value of psym
|
void |
setSymSize(double newsymsize)
Set the value of symsize
|
protected void |
uninstallRenderer() |
acceptContext, acceptsDataSet, 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, getListIcon, getListLabel, getParent, getRenderCount, getStatsFile, getTopDecorator, getUpdateCount, getXmemento, getYmemento, hasControl, incrementRenderCount, incrementUpdateCount, invalidateParentCacheImage, isActive, isDrawLegendLabel, isDumpDataSet, isTableDataSet, parseControl, parseLayoutString, postException, postMessage, postMessage, refresh, refreshImage, removePropertyChangeListener, renderException, resetCounters, setActive, setBottomDecorator, setControl, setDataSet, setDataSetDescriptor, setDataSetID, setDataSetLoader, setDrawLegendLabel, setDumpDataSet, setException, setId, setLastException, setLegendLabel, setParent, setStatsFile, setTopDecorator, setUpFont, setUpFont, update, updateCacheImage, updateImmediately, updatePlotImage
public static final java.lang.String PROP_PSYM
public static final java.lang.String PROP_SYMSIZE
public static final java.lang.String PROP_COLOR
public static final java.lang.String PROP_COLORBYDATASETID
public void render(java.awt.Graphics2D g, DasAxis xAxis, DasAxis yAxis)
Renderer
public PlotSymbol getPsym()
public void setPsym(PlotSymbol newpsym)
newpsym
- new value of psympublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in class Renderer
listener
- public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in class Renderer
listener
- public double getSymSize()
public void setSymSize(double newsymsize)
newsymsize
- new value of symsizepublic java.awt.Color getColor()
public void setColor(java.awt.Color newcolor)
newcolor
- new value of colorpublic java.lang.String getColorByDataSetId()
public void setColorByDataSetId(java.lang.String newcolorByDataSetId)
public void setColorBar(DasColorBar colorBar)
Renderer
setColorBar
in class Renderer
colorBar
- a colorbarprotected void installRenderer()
installRenderer
in class Renderer
protected void uninstallRenderer()
uninstallRenderer
in class Renderer
protected org.w3c.dom.Element getDOMElement(org.w3c.dom.Document document)