Package org.biojava.bio.gui.sequence
Interface PairwiseSequenceRenderer
-
- All Known Implementing Classes:
CrosshairRenderer,PairwiseDiagonalRenderer,PairwiseFilteringRenderer,PairwiseOverlayRenderer
public interface PairwiseSequenceRenderer
PairwiseSequenceRenderers render information about the relationship between two sequences. Its function is analagous toSequenceRendererfor single sequences and is extensively based on that code.- Since:
- 1.2
- Author:
- Keith James
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPairwiseSequenceRenderer.PairwiseRendererForwarderPairwiseRendererForwarderforward events to other renderers.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpaint(Graphics2D g2, PairwiseRenderContext prc)paints some or all of the information about the sequence pair.SequenceViewerEventprocessMouseEvent(PairwiseRenderContext prc, MouseEvent me, List path)processMouseEventproduces aSequenceViewerEventin response to a mouse gesture.
-
-
-
Method Detail
-
paint
void paint(Graphics2D g2, PairwiseRenderContext prc)
paints some or all of the information about the sequence pair.- Parameters:
g2- aGraphics2D.prc- aPairwiseRenderContextencapsulating the information to be displayed.
-
processMouseEvent
SequenceViewerEvent processMouseEvent(PairwiseRenderContext prc, MouseEvent me, List path)
processMouseEventproduces aSequenceViewerEventin response to a mouse gesture.- Parameters:
prc- aPairwiseRenderContext.me- aMouseEventthat caused the request.path- aListofPairwiseSequenceRendererinstances passed through so far.- Returns:
- a
SequenceViewerEventencapsulating the mouse gesture.
-
-