apollo.gui
Class ApolloJalviewEventBridge

java.lang.Object
  extended by apollo.gui.ApolloJalviewEventBridge
All Implemented Interfaces:
DataLoadListener, AnnotationChangeListener, ResultChangeListener, BaseFocusListener, FeatureSelectionListener, NamedFeatureSelectionListener, jalview.gui.event.AlignViewportListener, jalview.gui.event.ColumnSelectionListener, jalview.gui.event.SequenceSelectionListener, java.util.EventListener

public class ApolloJalviewEventBridge
extends java.lang.Object
implements BaseFocusListener, AnnotationChangeListener, FeatureSelectionListener, NamedFeatureSelectionListener, DataLoadListener, ResultChangeListener, jalview.gui.event.ColumnSelectionListener, jalview.gui.event.AlignViewportListener, jalview.gui.event.SequenceSelectionListener

Converts events from apollo to jalview and vice versa


Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
ApolloJalviewEventBridge(Controller apolloController, jalview.gui.Controller jalviewController, jalview.gui.AlignFrame alignFrame)
           
 
Method Summary
 javax.swing.JFrame getAlignFrame()
           
 jalview.gui.Controller getJalviewController()
           
 boolean handleAlignViewportEvent(jalview.gui.event.AlignViewportEvent evt)
           
 boolean handleAnnotationChangeEvent(AnnotationChangeEvent evt)
           
 boolean handleBaseFocusEvent(BaseFocusEvent evt)
           
 boolean handleColumnSelectionEvent(jalview.gui.event.ColumnSelectionEvent evt)
           
 boolean handleDataLoadEvent(DataLoadEvent evt)
           
 boolean handleFeatureSelectionEvent(FeatureSelectionEvent evt)
           
 boolean handleNamedFeatureSelectionEvent(NamedFeatureSelectionEvent evt)
           
 boolean handleResultChangeEvent(ResultChangeEvent evt)
           
 boolean handleSequenceSelectionEvent(jalview.gui.event.SequenceSelectionEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

ApolloJalviewEventBridge

public ApolloJalviewEventBridge(Controller apolloController,
                                jalview.gui.Controller jalviewController,
                                jalview.gui.AlignFrame alignFrame)
Method Detail

getJalviewController

public jalview.gui.Controller getJalviewController()

getAlignFrame

public javax.swing.JFrame getAlignFrame()

handleAnnotationChangeEvent

public boolean handleAnnotationChangeEvent(AnnotationChangeEvent evt)
Specified by:
handleAnnotationChangeEvent in interface AnnotationChangeListener

handleNamedFeatureSelectionEvent

public boolean handleNamedFeatureSelectionEvent(NamedFeatureSelectionEvent evt)
Specified by:
handleNamedFeatureSelectionEvent in interface NamedFeatureSelectionListener

handleFeatureSelectionEvent

public boolean handleFeatureSelectionEvent(FeatureSelectionEvent evt)
Specified by:
handleFeatureSelectionEvent in interface FeatureSelectionListener

handleDataLoadEvent

public boolean handleDataLoadEvent(DataLoadEvent evt)
Specified by:
handleDataLoadEvent in interface DataLoadListener

handleResultChangeEvent

public boolean handleResultChangeEvent(ResultChangeEvent evt)
Specified by:
handleResultChangeEvent in interface ResultChangeListener

handleBaseFocusEvent

public boolean handleBaseFocusEvent(BaseFocusEvent evt)
Specified by:
handleBaseFocusEvent in interface BaseFocusListener

handleSequenceSelectionEvent

public boolean handleSequenceSelectionEvent(jalview.gui.event.SequenceSelectionEvent evt)
Specified by:
handleSequenceSelectionEvent in interface jalview.gui.event.SequenceSelectionListener

handleColumnSelectionEvent

public boolean handleColumnSelectionEvent(jalview.gui.event.ColumnSelectionEvent evt)
Specified by:
handleColumnSelectionEvent in interface jalview.gui.event.ColumnSelectionListener

handleAlignViewportEvent

public boolean handleAlignViewportEvent(jalview.gui.event.AlignViewportEvent evt)
Specified by:
handleAlignViewportEvent in interface jalview.gui.event.AlignViewportListener