edu.umd.cfar.lamp.viper.gui.core
Interface ViperMediatorChangeListener

All Superinterfaces:
java.util.EventListener

public interface ViperMediatorChangeListener
extends java.util.EventListener


Method Summary
 void currFileChanged(ViperMediatorChangeEvent e)
          The chosen file has changed.
 void dataChanged(ViperMediatorChangeEvent e)
          Wraps up any ViperChangeEvent that occur on the ViperData node beneath the sourcefiles level.
 void frameChanged(ViperMediatorChangeEvent e)
          The majorMoment - the frame the user wants to be focussed on - has changed.
 void mediaChanged(ViperMediatorChangeEvent e)
          The display of the media (ie the DataPlayer) has changed
 void schemaChanged(ViperMediatorChangeEvent e)
          The schema has changed, which can cause the data to change.
 

Method Detail

schemaChanged

public void schemaChanged(ViperMediatorChangeEvent e)
The schema has changed, which can cause the data to change. The sourcefiles haven't changed, though. Wait, if that's true, what event occurs when the user loads a new viper.xml file? In that case, you will get a schemaChanged followed by a currFileChanged.

Parameters:
e - the change event; will have an associated ViperChangeEvent

currFileChanged

public void currFileChanged(ViperMediatorChangeEvent e)
The chosen file has changed. What files exist changing will invoke a data change event. This event will be notified after the selection listeners are notified that the user's selection has changed.

Parameters:
e - the change event

mediaChanged

public void mediaChanged(ViperMediatorChangeEvent e)
The display of the media (ie the DataPlayer) has changed

Parameters:
e - the change event

frameChanged

public void frameChanged(ViperMediatorChangeEvent e)
The majorMoment - the frame the user wants to be focussed on - has changed.

Parameters:
e -

dataChanged

public void dataChanged(ViperMediatorChangeEvent e)
Wraps up any ViperChangeEvent that occur on the ViperData node beneath the sourcefiles level.

Parameters:
e - the change event; will have an associated ViperChangeEvent