ucar.unidata.idv.collab
Class CaptureManager

java.lang.Object
  extended by ucar.unidata.idv.collab.CaptureManager

public class CaptureManager
extends Object

This class manages both the IDV collaboration mechanism as well as the event capture mechanism.

Version:
$Revision: 1.16 $Date: 2005/10/20 20:46:39 $
Author:
IDV development team

Constructor Summary
CaptureManager(IntegratedDataViewer idv, CollabManager collabManager)
          Create the capture manager
 
Method Summary
protected  void addEvent(CaptureEvent event)
          Add the given event to the captureList
protected  boolean doingCapture()
          Are we currently capturing events.
 boolean loadCaptureFile(String filename)
          Load in the capture events held by the given file
 void runCaptureFile(String filename)
          Load the given capture file and then start running
 void showCaptureWindow()
          Popup the window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptureManager

public CaptureManager(IntegratedDataViewer idv,
                      CollabManager collabManager)
Create the capture manager

Parameters:
idv - The idv
collabManager - The Collaboration manager.
Method Detail

doingCapture

protected boolean doingCapture()
Are we currently capturing events.

Returns:
Are we capturing events

addEvent

protected void addEvent(CaptureEvent event)
Add the given event to the captureList

Parameters:
event - The event

loadCaptureFile

public boolean loadCaptureFile(String filename)
Load in the capture events held by the given file

Parameters:
filename - The file to load
Returns:
Was load successful

runCaptureFile

public void runCaptureFile(String filename)
Load the given capture file and then start running

Parameters:
filename - The file to load

showCaptureWindow

public void showCaptureWindow()
Popup the window.