Package org.biojava.bio.gui.sequence
Interface PairwiseSequenceRenderer
- All Known Implementing Classes:
CrosshairRenderer
,PairwiseDiagonalRenderer
,PairwiseFilteringRenderer
,PairwiseOverlayRenderer
public interface PairwiseSequenceRenderer
PairwiseSequenceRenderer
s 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 class
PairwiseRendererForwarder
forward events to other renderers. -
Method Summary
Modifier and TypeMethodDescriptionvoid
paint
(Graphics2D g2, PairwiseRenderContext prc) paint
s some or all of the information about the sequence pair.processMouseEvent
(PairwiseRenderContext prc, MouseEvent me, List path) processMouseEvent
produces aSequenceViewerEvent
in response to a mouse gesture.
-
Method Details
-
paint
paint
s some or all of the information about the sequence pair.- Parameters:
g2
- aGraphics2D
.prc
- aPairwiseRenderContext
encapsulating the information to be displayed.
-
processMouseEvent
processMouseEvent
produces aSequenceViewerEvent
in response to a mouse gesture.- Parameters:
prc
- aPairwiseRenderContext
.me
- aMouseEvent
that caused the request.path
- aList
ofPairwiseSequenceRenderer
instances passed through so far.- Returns:
- a
SequenceViewerEvent
encapsulating the mouse gesture.
-