uk.ac.man.bioinf.apps.cinema.group
Class CinemaGroupModule

java.lang.Object
  |
  +--uk.ac.man.bioinf.module.Module
        |
        +--uk.ac.man.bioinf.apps.xml.XMLModule
              |
              +--uk.ac.man.bioinf.apps.cinema.CinemaModule
                    |
                    +--uk.ac.man.bioinf.apps.cinema.group.CinemaGroupModule
All Implemented Interfaces:
ActionListener, AlignmentEventProvider, AlignmentListener, CinemaActionProvider, EventListener, PropertyChangeListener

public class CinemaGroupModule
extends CinemaModule
implements ActionListener, CinemaActionProvider, PropertyChangeListener, AlignmentListener

CinemaGroupModule.java Created: Tue May 23 15:42:48 2000

Version:
$Id: CinemaGroupModule.java,v 1.15 2001/04/11 17:04:42 lord Exp $
Author:
Phillip Lord

Constructor Summary
CinemaGroupModule()
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 void changeOccurred(AlignmentEvent event)
          method signalled after a change has occured to a multiple alignment
 Action[] getActions()
           
 CinemaAnchorManager getAnchorManager()
           
 CinemaGroupManager getGroupManager()
           
 GappedSequence getLastSequence()
           
 CinemaSequenceMenu getMenuSystem()
           
 ModuleIdentifierList getRequiredIdentifiers()
          Returns the module identifiers for the required modules.
 String getVersion()
          Returns the version of this module.
 void load()
          The method called for the load of this module.
 void propertyChange(PropertyChangeEvent event)
           
 void start()
          The method called externally to initiate the modules function.
 
Methods inherited from class uk.ac.man.bioinf.apps.cinema.CinemaModule
addAlignmentListener, addCinemaPropertyChangeListener, addCinemaPropertyChangeListener, addVetoableAlignmentListener, clearSequenceTitleColor, destroy, fireCinemaPropertyChange, getAlignmentSelectionModel, getColorMap, getSequenceAlignment, removeAlignmentListener, removeCinemaPropertyChangeListener, removeCinemaPropertyChangeListener, removeVetoableAlignmentListener, sendStatusMessage, setAlignmentSelectionModel, setColorMap, setSequenceAlignment, setSequenceTitleColor
 
Methods inherited from class uk.ac.man.bioinf.apps.xml.XMLModule
getConfigProperties, getConfigTree
 
Methods inherited from class uk.ac.man.bioinf.module.Module
addPropertyChangeListener, addPropertyChangeListener, finalize, firePropertyChange, firePropertyChange, firePropertyChange, getContext, getIdentifier, getRequiredModule, getRequiredModules, hasListeners, isDestroyed, isStarted, removePropertyChangeListener, removePropertyChangeListener, runStart, setContext
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CinemaGroupModule

public CinemaGroupModule()
Method Detail

load

public void load()
Description copied from class: Module
The method called for the load of this module.

Overrides:
load in class Module

start

public void start()
Description copied from class: Module
The method called externally to initiate the modules function.

Overrides:
start in class Module

getLastSequence

public GappedSequence getLastSequence()

getAnchorManager

public CinemaAnchorManager getAnchorManager()

getGroupManager

public CinemaGroupManager getGroupManager()

getMenuSystem

public CinemaSequenceMenu getMenuSystem()

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener

getVersion

public String getVersion()
Description copied from class: Module
Returns the version of this module.

Specified by:
getVersion in class Module
Returns:
the version

getRequiredIdentifiers

public ModuleIdentifierList getRequiredIdentifiers()
Description copied from class: Module
Returns the module identifiers for the required modules. This places a call on getRequiredModules, which is delegated to the module context. It may require over-riding inorder to improve the efficiency of the method.

Overrides:
getRequiredIdentifiers in class CinemaModule
Returns:
the required module identifiers

propertyChange

public void propertyChange(PropertyChangeEvent event)
Specified by:
propertyChange in interface PropertyChangeListener

changeOccurred

public void changeOccurred(AlignmentEvent event)
Description copied from interface: AlignmentListener
method signalled after a change has occured to a multiple alignment

Specified by:
changeOccurred in interface AlignmentListener
Parameters:
event - the event type

getActions

public Action[] getActions()
Specified by:
getActions in interface CinemaActionProvider