org.das2.components.BatchMaster

BatchMaster is a object that runs through a batch file, controlling a time axis to produce a series of images.

BatchMaster( org.das2.graph.DasCanvas canvas )

Creates a new instance of BatchMaster


timer


addDataRangeSelectionListener

addDataRangeSelectionListener( org.das2.event.DataRangeSelectionListener listener ) → void

Registers DataRangeSelectionListener to receive events.

Parameters

listener - The listener to register.

Returns:

void (returns nothing)

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


createPngs

createPngs( org.das2.graph.DasCanvas canvas, java.io.File specFile, String pngFilenameTemplate ) → org.das2.components.BatchMaster

create the pngwalk using the class.

Parameters

canvas - the source for images
specFile - flat text file containing one parsable time range per line. (For example, "1990-01-01T00:00 1990-01-02T00:00" or "1990-01-01")
pngFilenameTemplate - (For example, "BEGIN_END.png")

Returns:

BatchMaster object.

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


createPngsTaskOutputDescriptor

createPngsTaskOutputDescriptor( String pngFilenameTemplate ) → org.das2.components.BatchMaster.TaskOutputDescriptor

Parameters

pngFilenameTemplate - BEGIN,END,RANGE substituted to form name

Returns:

TaskOutputDescriptor describing the task.

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


removeDataRangeSelectionListener

removeDataRangeSelectionListener( org.das2.event.DataRangeSelectionListener listener ) → void

Removes DataRangeSelectionListener from the list of listeners.

Parameters

listener - The listener to remove.

Returns:

void (returns nothing)

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


start

start( ) → void

Starts the batch process.

Returns:

void (returns nothing)

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