Package org.biojava.bio.gui.sequence
Class PairwiseSequenceRenderer.PairwiseRendererForwarder
- java.lang.Object
-
- org.biojava.utils.ChangeForwarder
-
- org.biojava.bio.gui.sequence.PairwiseSequenceRenderer.PairwiseRendererForwarder
-
- All Implemented Interfaces:
EventListener
,ChangeListener
- Enclosing interface:
- PairwiseSequenceRenderer
public static class PairwiseSequenceRenderer.PairwiseRendererForwarder extends ChangeForwarder
PairwiseRendererForwarder
forward events to other renderers. This is closely based on the regularRendererForwarder
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.biojava.utils.ChangeForwarder
ChangeForwarder.Retyper
-
Nested classes/interfaces inherited from interface org.biojava.utils.ChangeListener
ChangeListener.AlwaysVetoListener, ChangeListener.ChangeEventRecorder, ChangeListener.LoggingListener
-
-
Field Summary
-
Fields inherited from interface org.biojava.utils.ChangeListener
ALWAYS_VETO, LOG_TO_OUT
-
-
Constructor Summary
Constructors Constructor Description PairwiseRendererForwarder(PairwiseSequenceRenderer source, ChangeSupport cs)
Creates a newPairwiseRendererForwarder
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeEvent
generateEvent(ChangeEvent ce)
generateEvent
generates events in response to layout change and repaint requests.-
Methods inherited from class org.biojava.utils.ChangeForwarder
changeSupport, getSource, postChange, preChange
-
-
-
-
Constructor Detail
-
PairwiseRendererForwarder
public PairwiseRendererForwarder(PairwiseSequenceRenderer source, ChangeSupport cs)
Creates a newPairwiseRendererForwarder
.- Parameters:
source
- aPairwiseSequenceRenderer
.cs
- aChangeSupport
.
-
-
Method Detail
-
generateEvent
public ChangeEvent generateEvent(ChangeEvent ce)
generateEvent
generates events in response to layout change and repaint requests.- Overrides:
generateEvent
in classChangeForwarder
- Parameters:
ce
- aChangeEvent
.- Returns:
- a
ChangeEvent
.
-
-