|
||||||||||
| 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
|
+--uk.ac.man.bioinf.apps.cinema.CinemaGuiModule
|
+--uk.ac.man.bioinf.apps.cinema.core.CinemaCoreView
CinemaCoreView.java This class provides an easy interface to many of the display functions of Cinema. (PENDING:- PL) In time this should actually be turned into an interface. The idea is that all modules should use this class rather than the CinemaCoreGui class, because there is nothing here which refers to swing which means that we could replace the gui implementation with an entirely different gui, and still reuse many of the modules. Created: Wed Apr 19 22:00:36 2000
| Constructor Summary | |
CinemaCoreView()
|
|
| Method Summary | |
void |
addAlignmentListener(AlignmentListener listener)
Add a listener specifically interested in events connected with the MSA. |
void |
addVetoableAlignmentListener(VetoableAlignmentListener listener)
Adds a listener interested in vetoing multiple sequence alignment specific events. |
void |
changeOccurred(AlignmentEvent event)
method signalled after a change has occured to a multiple alignment |
void |
clearSequenceTitleColor(GappedSequence seq)
|
void |
destroy()
The method called, from an external source, to remove this module and prepare it for garbage collection. |
AlignmentSelectionModel |
getAlignmentSelectionModel()
|
ColorMap |
getColorMap()
|
ModuleIdentifierList |
getRequiredIdentifiers()
Returns the module identifiers for the required modules. |
SequenceAlignment |
getSequenceAlignment()
|
String |
getVersion()
Returns the version of this module. |
void |
removeAlignmentListener(AlignmentListener listener)
Removes a multiple sequence alignment listener. |
void |
removeVetoableAlignmentListener(VetoableAlignmentListener listener)
Removes a vetoable multiple sequence alignment listener. |
void |
sendStatusMessage(String message)
Send a message to the status bar. |
void |
setAlignmentSelectionModel(AlignmentSelectionModel model)
|
void |
setColorMap(ColorMap map)
|
void |
setSequenceAlignment(SequenceAlignment alignment)
Set the Sequence Alignment. |
void |
setSequenceTitleColor(GappedSequence seq,
Color colour)
This sets the colour that is used to display the sequence title. |
void |
start()
The method called externally to initiate the modules function. |
| Methods inherited from class uk.ac.man.bioinf.apps.cinema.CinemaGuiModule |
getAlignmentFrame, getFrame, getJMenuBar, getRowHeaders, getRuler, getRulerPanel, getScrollPane, getStatusBar, getViewer, setFrameTitle |
| Methods inherited from class uk.ac.man.bioinf.apps.cinema.CinemaModule |
addCinemaPropertyChangeListener, addCinemaPropertyChangeListener, fireCinemaPropertyChange, removeCinemaPropertyChangeListener, removeCinemaPropertyChangeListener |
| 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, load, removePropertyChangeListener, removePropertyChangeListener, runStart, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CinemaCoreView()
| Method Detail |
public void start()
Module
start in class Modulepublic void destroy()
Module
destroy in class CinemaGuiModulepublic void setSequenceAlignment(SequenceAlignment alignment)
CinemaModule
setSequenceAlignment in class CinemaModulealignment - public SequenceAlignment getSequenceAlignment()
getSequenceAlignment in class CinemaModulepublic void setAlignmentSelectionModel(AlignmentSelectionModel model)
setAlignmentSelectionModel in class CinemaModulepublic AlignmentSelectionModel getAlignmentSelectionModel()
getAlignmentSelectionModel in class CinemaModulepublic void setColorMap(ColorMap map)
setColorMap in class CinemaModulepublic ColorMap getColorMap()
getColorMap in class CinemaModule
public void setSequenceTitleColor(GappedSequence seq,
Color colour)
CinemaModule
setSequenceTitleColor in class CinemaModuleseq - colour - public void clearSequenceTitleColor(GappedSequence seq)
clearSequenceTitleColor in class CinemaModulepublic void sendStatusMessage(String message)
sendStatusMessage in class CinemaModulemessage - public void changeOccurred(AlignmentEvent event)
AlignmentListener
changeOccurred in interface AlignmentListenerevent - the event typepublic void addAlignmentListener(AlignmentListener listener)
AlignmentEventProvider
addAlignmentListener in interface AlignmentEventProvideraddAlignmentListener in class CinemaModulelistener - a multiple sequence alignment listenerpublic void removeAlignmentListener(AlignmentListener listener)
AlignmentEventProvider
removeAlignmentListener in interface AlignmentEventProviderremoveAlignmentListener in class CinemaModulelistener - the listener to be removedpublic void addVetoableAlignmentListener(VetoableAlignmentListener listener)
AlignmentEventProvider
addVetoableAlignmentListener in interface AlignmentEventProvideraddVetoableAlignmentListener in class CinemaModulelistener - a vetoable multiple sequence alignment listenerpublic void removeVetoableAlignmentListener(VetoableAlignmentListener listener)
AlignmentEventProvider
removeVetoableAlignmentListener in interface AlignmentEventProviderremoveVetoableAlignmentListener in class CinemaModulelistener - the listener to be removedpublic ModuleIdentifierList getRequiredIdentifiers()
Module
getRequiredIdentifiers in class CinemaGuiModulepublic String getVersion()
Module
getVersion in class Module
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||