org.das2.graph.SpectrogramRenderer

Renderer for spectrograms. A setting for rebinning data controls how data is binned into pixel space, for example by nearest neighbor or interpolation.

SpectrogramRenderer( org.das2.dataset.DataSetDescriptor dsd, org.das2.graph.DasColorBar colorBar )


CONTROL_KEY_REBIN


PROP_SPECIALCOLORS


PROP_REBINNER


PROP_CADENCECHECK


acceptContext

acceptContext( int x, int y ) → boolean

Parameters

x - an int
y - an int

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getConsumedDataSet

getConsumedDataSet( ) → QDataSet

Returns:

org.das2.qds.QDataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getControl

getControl( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getFillColor

getFillColor( ) → java.awt.Color

Getter for property fillColor.

Returns:

Value of property fillColor.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getListIcon

getListIcon( ) → javax.swing.Icon

Returns:

javax.swing.Icon

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getListLabel

getListLabel( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getRebinner

getRebinner( ) → org.das2.graph.SpectrogramRenderer.RebinnerEnum

Getter for property rebinner.

Returns:

Value of property rebinner.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getSpecialColors

getSpecialColors( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getZAxis

getZAxis( ) → org.das2.graph.DasAxis

Returns:

org.das2.graph.DasAxis

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isCadenceCheck

isCadenceCheck( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isPrint300dpi

isPrint300dpi( ) → boolean

Getter for property draw300dpi.

Returns:

Value of property draw300dpi.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isSliceRebinnedData

isSliceRebinnedData( ) → boolean

Getter for property sliceRebinnedData.

Returns:

Value of property sliceRebinnedData.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


render

render( java.awt.Graphics2D g, org.das2.graph.DasAxis xAxis, org.das2.graph.DasAxis yAxis ) → void

Parameters

g - a Graphics2D
xAxis - a DasAxis
yAxis - a DasAxis

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


selectionArea

selectionArea( ) → java.awt.Shape

return the shape or null.

Returns:

a java.awt.Shape

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setCadenceCheck

setCadenceCheck( boolean cadenceCheck ) → void

If true, then use a cadence estimate to determine and indicate data gaps.

Parameters

cadenceCheck - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setColorBar

setColorBar( org.das2.graph.DasColorBar cb ) → void

Parameters

cb - a DasColorBar

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setControl

setControl( String s ) → void

Parameters

s - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setDataSet

setDataSet( QDataSet ds ) → void

Parameters

ds - a QDataSet

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setFillColor

setFillColor( java.awt.Color fillColor ) → void

Setter for property fillColor.

Parameters

fillColor - New value of property fillColor.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setPrint300dpi

setPrint300dpi( boolean print300dpi ) → void

Setter for property draw300dpi.

Parameters

print300dpi - New value of property draw300dpi.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setRebinner

setRebinner( org.das2.graph.SpectrogramRenderer.RebinnerEnum rebinnerEnum ) → void

Setter for property rebinner.

Parameters

rebinnerEnum - New value of property rebinner.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setSliceRebinnedData

setSliceRebinnedData( boolean sliceRebinnedData ) → void

Setter for property sliceRebinnedData.

Parameters

sliceRebinnedData - New value of property sliceRebinnedData.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setSpecialColors

setSpecialColors( String specialColors ) → void

set this to a comma-delineated list of name:value pairs,

Parameters

specialColors - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


updatePlotImage

updatePlotImage( org.das2.graph.DasAxis xAxis, org.das2.graph.DasAxis yAxis, ProgressMonitor monitor ) → void

Parameters

xAxis - a DasAxis
yAxis - a DasAxis
monitor - a ProgressMonitor

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]