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 to
SequenceRenderer for single sequences and is
extensively based on that code.- Since:
- 1.2
- Author:
- Keith James
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classPairwiseRendererForwarderforward events to other renderers. -
Method Summary
Modifier and TypeMethodDescriptionvoidpaint(Graphics2D g2, PairwiseRenderContext prc) paints some or all of the information about the sequence pair.processMouseEvent(PairwiseRenderContext prc, MouseEvent me, List path) processMouseEventproduces aSequenceViewerEventin response to a mouse gesture.
-
Method Details
-
paint
paints some or all of the information about the sequence pair.- Parameters:
g2- aGraphics2D.prc- aPairwiseRenderContextencapsulating the information to be displayed.
-
processMouseEvent
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.
-