public class VerticalSpectrogramSlicer extends java.lang.Object implements DataPointSelectionListener
Modifier and Type | Field and Description |
---|---|
protected Datum |
xValue |
protected Datum |
ySlice |
protected Datum |
yValue |
Modifier | Constructor and Description |
---|---|
protected |
VerticalSpectrogramSlicer(DasPlot parent,
DasAxis sourceXAxis,
DasAxis sourceZAxis) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(javax.swing.Action a)
add a button
|
void |
clear(QDataSet tds)
clear the current dataset to avoid units errors.
|
static VerticalSpectrogramSlicer |
createSlicer(DasPlot plot,
DasAxis xAxis,
TableDataSetConsumer dataSetConsumer) |
static VerticalSpectrogramSlicer |
createSlicer(DasPlot plot,
TableDataSetConsumer dataSetConsumer) |
void |
dataPointSelected(DataPointSelectionEvent e)
show the slice at the data point selected.
|
void |
dispose()
dispose of the popup slicer.
|
QDataSet |
getDataSet()
provide access to the dataset
|
java.awt.Color |
getMarkColor()
the color for the mark (vertical bar) indicating slice position
|
protected boolean |
isPopupVisible() |
protected void |
setDataSet(QDataSet ds) |
void |
setMarkColor(java.awt.Color markColor)
set the color for the mark (vertical bar) indicating slice position
Color(230,230,230) is the default.
|
void |
showPopup() |
protected Datum xValue
protected Datum yValue
protected Datum ySlice
public void addAction(javax.swing.Action a)
a
- the action for the button.protected void setDataSet(QDataSet ds)
public QDataSet getDataSet()
public static VerticalSpectrogramSlicer createSlicer(DasPlot plot, TableDataSetConsumer dataSetConsumer)
public static VerticalSpectrogramSlicer createSlicer(DasPlot plot, DasAxis xAxis, TableDataSetConsumer dataSetConsumer)
public void showPopup()
public void dispose()
public void clear(QDataSet tds)
tds
- the new datasetprotected boolean isPopupVisible()
public void dataPointSelected(DataPointSelectionEvent e)
dataPointSelected
in interface DataPointSelectionListener
e
- the selection event containing the data point.public java.awt.Color getMarkColor()
public void setMarkColor(java.awt.Color markColor)
markColor
- the color