edu.ucsb.nceas.morpho.util
Interface StoreStateChangeEvent

All Known Implementing Classes:
ResultPanel, DataViewContainerPanel, DataViewer

public interface StoreStateChangeEvent

In order to handle local event, we need to compare the parent of event's source and GUIAction'parent. But if an event happened before the source added to a container, this will cause the parent of event' source is null. So we need this mechanism to store the event, then broadcast late.


Method Summary
 void broadcastStoredStateChangeEvent()
          Broadcast the stored StateChangeEvent
 java.util.Vector getStoredStateChangeEvent()
          Get the stored state change event.
 void storingStateChangeEvent(StateChangeEvent event)
          This method is called if a StateChangeEvent need to be stored
 

Method Detail

storingStateChangeEvent

public void storingStateChangeEvent(StateChangeEvent event)
This method is called if a StateChangeEvent need to be stored
Parameters:
event - the StateChangeEvent needed to be stored

getStoredStateChangeEvent

public java.util.Vector getStoredStateChangeEvent()
Get the stored state change event.

broadcastStoredStateChangeEvent

public void broadcastStoredStateChangeEvent()
Broadcast the stored StateChangeEvent


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.