uk.ac.man.bioinf.gui.viewer
Class CursorLessFastAlignmentViewerCellRenderer
java.lang.Object
|
+--uk.ac.man.bioinf.gui.viewer.MultiplexerFastAlignmentViewerCellRenderer
|
+--uk.ac.man.bioinf.gui.viewer.CursorLessFastAlignmentViewerCellRenderer
- All Implemented Interfaces:
- EventListener, FastAlignmentViewerCellRenderer, PropertyChangeListener
- public class CursorLessFastAlignmentViewerCellRenderer
- extends MultiplexerFastAlignmentViewerCellRenderer
CursorLessFastAlignmentViewerCellRenderer.java
Created: Thu Jul 13 17:59:36 2000
- Version:
- $Id: CursorLessFastAlignmentViewerCellRenderer.java,v 1.4 2001/04/11 17:04:42 lord Exp $
- Author:
- Phillip Lord
Method Summary |
void |
renderAlignmentViewerCell(Graphics g,
int x,
int y,
int width,
int height,
JAlignmentViewer viewer,
Element element,
SequenceAlignmentPoint location,
Color bgColor,
boolean isSelected,
boolean hasFocus,
boolean isAtPoint)
This method renders the cell at the given location in a graphics
object, with reference to the JAlignmentViewer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CursorLessFastAlignmentViewerCellRenderer
public CursorLessFastAlignmentViewerCellRenderer(JAlignmentViewer viewer)
renderAlignmentViewerCell
public void renderAlignmentViewerCell(Graphics g,
int x,
int y,
int width,
int height,
JAlignmentViewer viewer,
Element element,
SequenceAlignmentPoint location,
Color bgColor,
boolean isSelected,
boolean hasFocus,
boolean isAtPoint)
- Description copied from interface:
FastAlignmentViewerCellRenderer
- This method renders the cell at the given location in a graphics
object, with reference to the JAlignmentViewer. It makes use of
certain parameters, such as the color of the element being
drawn.
- Specified by:
renderAlignmentViewerCell
in interface FastAlignmentViewerCellRenderer
- Overrides:
renderAlignmentViewerCell
in class MultiplexerFastAlignmentViewerCellRenderer
- Parameters:
g
- the graphics object in usex
- the 'x' location in the graphical displayy
- the 'y' location in the graphical displaywidth
- the width of the cellheight
- the height of the cellviewer
- the JAlignmentViewer objectelement
- the element being drawnlocation
- the sequence alignment location of the elementbgColor
- the background color of the elementisSelected
- whether the element is selectedhasFocus
- whether the element has focusisAtPoint
- whether the cursor is at the elements point