## org.das2.components.VerticalSpectrogramSlicer

## addAction

addAction( javax.swing.Action a ) → void

add a button

### Parameters

a - the action for the button.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## clear

clear( QDataSet tds ) → void

clear the current dataset to avoid units errors. If the new dataset can be used, use it.

### Parameters

tds - the new dataset

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## createSlicer

createSlicer( org.das2.graph.DasPlot plot, org.das2.dataset.TableDataSetConsumer dataSetConsumer ) → org.das2.components.VerticalSpectrogramSlicer

### Parameters

plot - a DasPlot
dataSetConsumer - a TableDataSetConsumer

### Returns:

org.das2.components.VerticalSpectrogramSlicer
[search for examples] [view on GitHub] [view on old javadoc] [view source]
createSlicer( org.das2.graph.DasPlot plot, org.das2.graph.DasAxis xAxis, org.das2.dataset.TableDataSetConsumer dataSetConsumer ) → org.das2.components.VerticalSpectrogramSlicer [view source]

## dataPointSelected

dataPointSelected( org.das2.event.DataPointSelectionEvent e ) → void

show the slice at the data point selected.

### Parameters

e - the selection event containing the data point.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## dispose

dispose( ) → void

dispose of the popup slicer.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDataSet

getDataSet( ) → QDataSet

provide access to the dataset

### Returns:

the dataset.
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getMarkColor

getMarkColor( ) → java.awt.Color

the color for the mark (vertical bar) indicating slice position

### Returns:

the mark color
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setMarkColor

setMarkColor( java.awt.Color markColor ) → void

set the color for the mark (vertical bar) indicating slice position Color(230,230,230) is the default.

### Parameters

markColor - the color

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## showPopup

showPopup( ) → void

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]