|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.bioinf.module.Module | +--uk.ac.man.bioinf.apps.xml.XMLModule | +--uk.ac.man.bioinf.apps.cinema.CinemaModule
CinemaModule.java Most modules for Cinema should extend this interface. It provides access to most of the functions of Cinema without being to tied to the main GUI components, which should insulate these modules from any changes which are made to it. I intend to include a few other methods here. I think that the CinemaModule should provide access to listeners for the cursor for instance, as this is a concept relatively divorced from that of the GUI. Created: Fri May 26 16:04:49 2000
Constructor Summary | |
CinemaModule()
|
Method Summary | |
void |
addAlignmentListener(AlignmentListener listener)
Add a listener specifically interested in events connected with the MSA. |
void |
addCinemaPropertyChangeListener(PropertyChangeListener listener)
|
void |
addCinemaPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
void |
addVetoableAlignmentListener(VetoableAlignmentListener listener)
Adds a listener interested in vetoing multiple sequence alignment specific events. |
void |
clearSequenceTitleColor(GappedSequence seq)
|
void |
destroy()
The method called, from an external source, to remove this module and prepare it for garbage collection. |
void |
fireCinemaPropertyChange(String name,
Object old,
Object newV)
|
AlignmentSelectionModel |
getAlignmentSelectionModel()
|
ColorMap |
getColorMap()
|
ModuleIdentifierList |
getRequiredIdentifiers()
Returns the module identifiers for the required modules. |
SequenceAlignment |
getSequenceAlignment()
|
void |
removeAlignmentListener(AlignmentListener listener)
Removes a multiple sequence alignment listener. |
void |
removeCinemaPropertyChangeListener(PropertyChangeListener listener)
|
void |
removeCinemaPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
void |
removeVetoableAlignmentListener(VetoableAlignmentListener listener)
Removes a vetoable multiple sequence alignment listener. |
void |
sendStatusMessage(String message)
|
void |
setAlignmentSelectionModel(AlignmentSelectionModel model)
|
void |
setColorMap(ColorMap map)
|
void |
setSequenceAlignment(SequenceAlignment seq)
Set the Sequence Alignment. |
void |
setSequenceTitleColor(GappedSequence seq,
Color colour)
This sets the colour that is used to display the sequence title. |
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, getVersion, hasListeners, isDestroyed, isStarted, load, removePropertyChangeListener, removePropertyChangeListener, runStart, setContext, start |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CinemaModule()
Method Detail |
public SequenceAlignment getSequenceAlignment()
public void setSequenceAlignment(SequenceAlignment seq)
seq
- public ColorMap getColorMap()
public void setColorMap(ColorMap map)
public AlignmentSelectionModel getAlignmentSelectionModel()
public void setAlignmentSelectionModel(AlignmentSelectionModel model)
public void setSequenceTitleColor(GappedSequence seq, Color colour)
seq
- colour
- public void clearSequenceTitleColor(GappedSequence seq)
public void sendStatusMessage(String message)
public void fireCinemaPropertyChange(String name, Object old, Object newV)
public void addCinemaPropertyChangeListener(PropertyChangeListener listener)
public void removeCinemaPropertyChangeListener(PropertyChangeListener listener)
public void addCinemaPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void removeCinemaPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void addAlignmentListener(AlignmentListener listener)
AlignmentEventProvider
addAlignmentListener
in interface AlignmentEventProvider
listener
- a multiple sequence alignment listenerpublic void removeAlignmentListener(AlignmentListener listener)
AlignmentEventProvider
removeAlignmentListener
in interface AlignmentEventProvider
listener
- the listener to be removedpublic void addVetoableAlignmentListener(VetoableAlignmentListener listener)
AlignmentEventProvider
addVetoableAlignmentListener
in interface AlignmentEventProvider
listener
- a vetoable multiple sequence alignment listenerpublic void removeVetoableAlignmentListener(VetoableAlignmentListener listener)
AlignmentEventProvider
removeVetoableAlignmentListener
in interface AlignmentEventProvider
listener
- the listener to be removedpublic void destroy()
Module
destroy
in class Module
public ModuleIdentifierList getRequiredIdentifiers()
Module
getRequiredIdentifiers
in class Module
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |