apollo.gui
Class MultiController
java.lang.Object
apollo.gui.Controller
apollo.gui.MultiController
- All Implemented Interfaces:
- PropSchemeChangeListener, DataLoadListener, AnnotationChangeListener, ResultChangeListener, BaseFocusListener, FeatureSelectionListener, LazyLoadListener, NamedFeatureSelectionListener, OrientationListener, ReverseComplementListener, ScrollListener, SetActiveCurStateListener, ZoomListener, java.awt.event.WindowListener, java.util.EventListener
public class MultiController
- extends Controller
An event controller forwarding multiple types of event to registered listeners.
The MultiController is all the species controllers "master controller". It receives all
events from the species controllers, but it does not propigate the events back to the
species. So the master controller sees all events from all species, the individual
species controllers only see events that occur with that species. This is set up with
CompositeApolloFrame.getSpeciesController(i) and MultiController.getSpeciesController(i)
Im trying out making the "master" controller just another controller, with the clear flag
set to false. If that works then this class is pase and should probably be deleted.
| Methods inherited from class apollo.gui.Controller |
addListener, clear, curationSetIsLoaded, getListeners, getMasterController, getWindowList, handleAnnotationChangeEvent, handleBaseFocusEvent, handleChainedRepaintEvent, handleFeatureSelectionEvent, handleLazyLoadEvent, handleNamedFeatureSelectionEvent, handleOrientationEvent, handlePropSchemeChangeEvent, handleResultChangeEvent, handleReverseComplementEvent, handleScrollEvent, handleSetActiveCurStateEvent, handleZoomEvent, hasListener, isAnnotationChanged, isCurationSetLoaded, removeListener, setAnnotationChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiController
public MultiController()
addController
public void addController(Controller c)
removeController
public void removeController(Controller c)
handleDataLoadEvent
public boolean handleDataLoadEvent(DataLoadEvent evt)
- Specified by:
handleDataLoadEvent in interface DataLoadListener- Overrides:
handleDataLoadEvent in class Controller
getSpeciesController
public Controller getSpeciesController(int i)
getWindowList
public java.util.Vector getWindowList(java.awt.Window skipMe)
- Overrides:
getWindowList in class Controller