public class BoundsRenderer extends Renderer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_COLOR |
static java.lang.String |
PROP_FILL_COLOR |
static java.lang.String |
PROP_FILLTEXTURE |
static java.lang.String |
PROP_POLAR |
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 |
|---|
BoundsRenderer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptContext(int x,
int y)
Returns true if the render will accept the context for a point.
|
boolean |
acceptsDataSet(QDataSet ds)
return true if the dataset appears to be in a scheme accepted by this renderer.
|
static QDataSet |
doAutorange(QDataSet ds) |
java.awt.Color |
getColor() |
java.lang.String |
getControl()
get the string which summarizes the state of the renderer.
|
java.awt.Color |
getFillColor() |
java.lang.String |
getFillTexture() |
javax.swing.Icon |
getListIcon()
An icon can be provided that will be shown in a list
along with the textual description of the element.
|
java.lang.String |
getListLabel()
return a
String that will help the user
identify this item when choosing from a list. |
boolean |
isPolar() |
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.geom.Area |
selectionArea() |
void |
setColor(java.awt.Color color) |
void |
setControl(java.lang.String s)
set the control string which contains a number of properties.
|
void |
setFillColor(java.awt.Color color) |
void |
setFillTexture(java.lang.String fillTexture) |
void |
setPolar(boolean polar)
if true then transform render the data in polar coordinates
|
addPropertyChangeListener, addPropertyChangeListener, addToStats, decodeDatum, decodeFillStyle, decodePlotSymbolConnectorControl, decodePlotSymbolControl, drawListIcon, encodeBooleanControl, encodeColorControl, encodeDatum, encodeFillStyle, encodePlotSymbolConnectorControl, encodePlotSymbolControl, formatControl, getAffineTransform, getBooleanControl, getBottomDecorator, getColorBar, getColorControl, getConsumedDataSet, getControl, getDataLoader, getDataSet, getDataSetDescriptor, getDataSetID, getDatumControl, getDoubleArrayControl, getDoubleControl, getId, getIntegerControl, getInternalDataSet, getLastException, getLegendLabel, 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, setDataSet, setDataSetDescriptor, setDataSetID, setDataSetLoader, setDrawLegendLabel, setDumpDataSet, setException, setId, setLastException, setLegendLabel, setParent, setStatsFile, setTopDecorator, setUpFont, setUpFont, uninstallRenderer, update, updateCacheImage, updateImmediately, updatePlotImagepublic static final java.lang.String PROP_COLOR
public static final java.lang.String PROP_FILL_COLOR
public static final java.lang.String PROP_FILLTEXTURE
public static final java.lang.String PROP_POLAR
public boolean acceptsDataSet(QDataSet ds)
RendereracceptsDataSet in class Rendererpublic 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 java.awt.geom.Area selectionArea()
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 java.lang.String getListLabel()
DisplayableString that will help the user
identify this item when choosing from a list.getListLabel in interface DisplayablegetListLabel in class Rendererpublic java.lang.String getControl()
RenderergetControl in class Rendererpublic void setControl(java.lang.String s)
RenderersetControl in class Renderers - the controletcpublic java.awt.Color getColor()
public void setColor(java.awt.Color color)
public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color color)
public java.lang.String getFillTexture()
public void setFillTexture(java.lang.String fillTexture)
public boolean isPolar()
public void setPolar(boolean polar)
polar - public void render(java.awt.Graphics2D g1,
DasAxis xAxis,
DasAxis yAxis)
Renderer