public class PitchAngleDistributionRenderer extends Renderer
Modifier and Type | Field and Description |
---|---|
protected boolean |
mirror
if true, then mirror the image about angle=0.
|
protected java.lang.String |
origin |
protected boolean |
originNorth |
static java.lang.String |
PROP_CLOCKWISE |
static java.lang.String |
PROP_DRAWPOLARAXES |
static java.lang.String |
PROP_MIRROR |
static java.lang.String |
PROP_ORIGIN
One of "", "N", "S", "E", "W"
|
static java.lang.String |
PROP_ORIGINNORTH
if true, then angle=0 is in the positive Y direction, otherwise
it is in the positive x direction
|
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 |
---|
PitchAngleDistributionRenderer(DasColorBar cb) |
Modifier and Type | Method and Description |
---|---|
static boolean |
acceptsData(QDataSet ds)
accepts data that is rank 2 and not a timeseries.
|
static QDataSet |
doAutorange(QDataSet tds) |
java.lang.String |
getControl()
get the string which summarizes the state of the renderer.
|
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 |
getOrigin() |
protected void |
installRenderer() |
boolean |
isClockwise()
true if increasing angle corresponds to clockwise when not mirror.
|
boolean |
isDrawPolarAxes() |
boolean |
isMirror() |
boolean |
isOriginNorth() |
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.
|
void |
setClockwise(boolean clockwise)
true if increasing angle corresponds to clockwise when not mirror.
|
void |
setColorBar(DasColorBar colorBar)
set a colorbar for the renderer.
|
void |
setControl(java.lang.String s)
set the control string which contains a number of properties.
|
void |
setDrawPolarAxes(boolean drawPolarAxes) |
void |
setMirror(boolean mirror) |
void |
setOrigin(java.lang.String origin) |
void |
setOriginNorth(boolean originNorth) |
protected void |
uninstallRenderer() |
acceptContext, acceptsDataSet, 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, getListLabel, getParent, getRenderCount, getStatsFile, getTopDecorator, getUpdateCount, getXmemento, getYmemento, hasControl, incrementRenderCount, incrementUpdateCount, invalidateParentCacheImage, isActive, isDrawLegendLabel, isDumpDataSet, isTableDataSet, parseControl, parseLayoutString, postException, postMessage, postMessage, refresh, refreshImage, removePropertyChangeListener, removePropertyChangeListener, renderException, resetCounters, setActive, setBottomDecorator, 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_ORIGINNORTH
protected boolean originNorth
public static final java.lang.String PROP_CLOCKWISE
public static final java.lang.String PROP_ORIGIN
protected java.lang.String origin
public static final java.lang.String PROP_DRAWPOLARAXES
protected boolean mirror
public static final java.lang.String PROP_MIRROR
public PitchAngleDistributionRenderer(DasColorBar cb)
public static boolean acceptsData(QDataSet ds)
ds
- public javax.swing.Icon getListIcon()
Displayable
null
if there
is no icon available, or a roughly 16x16 pixel icon.getListIcon
in interface Displayable
getListIcon
in class Renderer
public final void setColorBar(DasColorBar colorBar)
Renderer
setColorBar
in class Renderer
colorBar
- a colorbarpublic void render(java.awt.Graphics2D g1, DasAxis xAxis, DasAxis yAxis)
Renderer
protected void installRenderer()
installRenderer
in class Renderer
protected void uninstallRenderer()
uninstallRenderer
in class Renderer
public java.lang.String getControl()
Renderer
getControl
in class Renderer
public void setControl(java.lang.String s)
Renderer
setControl
in class Renderer
s
- the controletc
public boolean isOriginNorth()
public void setOriginNorth(boolean originNorth)
public boolean isClockwise()
public void setClockwise(boolean clockwise)
clockwise
- true if increasing angle corresponds to clockwisepublic java.lang.String getOrigin()
public void setOrigin(java.lang.String origin)
public boolean isDrawPolarAxes()
public void setDrawPolarAxes(boolean drawPolarAxes)
public boolean isMirror()
public void setMirror(boolean mirror)