|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.gui.Controller
public class Controller
An event controller forwarding multiple types of event to registered listeners.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
Controller()
|
|
| Method Summary | |
|---|---|
void |
addListener(java.util.EventListener l)
|
void |
clear(boolean keepListenerToMaster)
Clear called by handleDataLoadEvent with clearOnDataLoadEvent set to true, for species controllers not master controllers also called by CurationState when removed |
void |
curationSetIsLoaded(boolean loaded)
|
java.util.Vector |
getListeners()
|
static Controller |
getMasterController()
static master controller - should be renamed master listener. |
java.util.Vector |
getWindowList()
|
java.util.Vector |
getWindowList(java.awt.Window skipMe)
|
boolean |
handleAnnotationChangeEvent(AnnotationChangeEvent evt)
|
boolean |
handleBaseFocusEvent(BaseFocusEvent evt)
|
boolean |
handleChainedRepaintEvent(ChainedRepaintEvent event)
|
boolean |
handleDataLoadEvent(DataLoadEvent evt)
|
boolean |
handleFeatureSelectionEvent(FeatureSelectionEvent evt)
|
boolean |
handleLazyLoadEvent(LazyLoadEvent evt)
|
boolean |
handleNamedFeatureSelectionEvent(NamedFeatureSelectionEvent evt)
A NamedFeatureSelectionEvent nominates only the name of the feature to be selected - the panel responds by (1) finding the feature of interest and rebouncing the event as a feature selection event. |
boolean |
handleOrientationEvent(OrientationEvent evt)
|
boolean |
handlePropSchemeChangeEvent(PropSchemeChangeEvent evt)
|
boolean |
handleResultChangeEvent(ResultChangeEvent evt)
|
boolean |
handleReverseComplementEvent(ReverseComplementEvent evt)
|
boolean |
handleScrollEvent(ScrollEvent event)
|
boolean |
handleSetActiveCurStateEvent(SetActiveCurStateEvent evt)
|
boolean |
handleZoomEvent(ZoomEvent evt)
|
boolean |
hasListener(java.util.EventListener l)
|
boolean |
isAnnotationChanged()
|
boolean |
isCurationSetLoaded()
|
void |
removeListener(java.util.EventListener l)
Remove from listeners vector. |
void |
setAnnotationChanged(boolean un_saved)
|
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent e)
windowClosed happens on dispose |
void |
windowClosing(java.awt.event.WindowEvent e)
WindowClosing happens when user closes a window, not dispose This removes ControlledWindow of event source as window listener unless needsAutoRemoval returns false It also removes all children of ControlledWindow as listeners. |
void |
windowDeactivated(java.awt.event.WindowEvent e)
|
void |
windowDeiconified(java.awt.event.WindowEvent e)
|
void |
windowIconified(java.awt.event.WindowEvent e)
|
void |
windowOpened(java.awt.event.WindowEvent e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public Controller()
| Method Detail |
|---|
public static Controller getMasterController()
public boolean hasListener(java.util.EventListener l)
public void addListener(java.util.EventListener l)
public java.util.Vector getWindowList()
public java.util.Vector getWindowList(java.awt.Window skipMe)
public void clear(boolean keepListenerToMaster)
public void removeListener(java.util.EventListener l)
public java.util.Vector getListeners()
public boolean isAnnotationChanged()
public boolean isCurationSetLoaded()
public void setAnnotationChanged(boolean un_saved)
public void curationSetIsLoaded(boolean loaded)
public boolean handleZoomEvent(ZoomEvent evt)
handleZoomEvent in interface ZoomListenerpublic boolean handleAnnotationChangeEvent(AnnotationChangeEvent evt)
handleAnnotationChangeEvent in interface AnnotationChangeListenerpublic boolean handleSetActiveCurStateEvent(SetActiveCurStateEvent evt)
handleSetActiveCurStateEvent in interface SetActiveCurStateListenerpublic boolean handleNamedFeatureSelectionEvent(NamedFeatureSelectionEvent evt)
A NamedFeatureSelectionEvent nominates only the name of the feature to be selected - the panel responds by (1) finding the feature of interest and rebouncing the event as a feature selection event. Note that we will preserve the source of the original event in the new events we throw.
This is being written to allow a SyntenyLinkPanel to throw feature selections at the linked StrandedZoomableApolloPanels, even though they don't actually have the features (genes) to select.
handleNamedFeatureSelectionEvent in interface NamedFeatureSelectionListenerpublic boolean handleFeatureSelectionEvent(FeatureSelectionEvent evt)
handleFeatureSelectionEvent in interface FeatureSelectionListenerpublic boolean handleDataLoadEvent(DataLoadEvent evt)
handleDataLoadEvent in interface DataLoadListenerpublic boolean handleReverseComplementEvent(ReverseComplementEvent evt)
handleReverseComplementEvent in interface ReverseComplementListenerpublic boolean handleOrientationEvent(OrientationEvent evt)
handleOrientationEvent in interface OrientationListenerpublic boolean handleLazyLoadEvent(LazyLoadEvent evt)
handleLazyLoadEvent in interface LazyLoadListenerpublic boolean handleResultChangeEvent(ResultChangeEvent evt)
handleResultChangeEvent in interface ResultChangeListenerpublic boolean handlePropSchemeChangeEvent(PropSchemeChangeEvent evt)
handlePropSchemeChangeEvent in interface PropSchemeChangeListenerpublic boolean handleBaseFocusEvent(BaseFocusEvent evt)
handleBaseFocusEvent in interface BaseFocusListenerpublic boolean handleChainedRepaintEvent(ChainedRepaintEvent event)
public boolean handleScrollEvent(ScrollEvent event)
handleScrollEvent in interface ScrollListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||