Public Member Functions | |
TracerPanel (VGBPanel dataDisplayPanel, DisplayPanel displayPanel, int line) | |
void | paintComponent (Graphics g) |
void | hideCursor () |
void | showCursor () |
void | defaultMouseCursor () |
void | crossMouseCursor () |
void | waitMouseCursor () |
void | invisibleMouseCursor () |
void | mouseMoved (MouseEvent e) |
void | mouseEntered (MouseEvent e) |
void | mouseExited (MouseEvent e) |
void | mousePressed (MouseEvent e) |
void | mouseReleased (MouseEvent e) |
void | mouseClicked (MouseEvent e) |
void | mouseDragged (MouseEvent e) |
long | getChromX (int displayX) |
long | getChromX (int displayX, int line) |
void | popupOff () |
boolean | isPopup () |
void | redispatchMouseEvent (MouseEvent e) |
void | visible () |
boolean | getEnabled () |
void | reset () |
void | drawGreenBar (long start, long end) |
void | createBarImage () |
void | createTracerImage () |
void | removeImage () |
void | removeBarImage () |
void | setDragged (boolean dr) |
Public Attributes | |
boolean | nomouse = false |
Protected Attributes | |
BufferedImage | tracerImage = null |
BufferedImage | barImage = null |
TracerPanel | parent = null |
Vector | children = null |
Description: Draw red cursor line or selection bar,read screen coordinates
Copyright: Copyright (c) 2003 Ernest Orlando Lawrence Berkeley National Laboratory
Company: LBNL
|
|
|
create a semi-transparent green bar image |
|
Create tracer image of correspondig size |
|
show crosshair mouse cursor |
|
show dafault mouse cursor |
|
draw semitransparent GreenBar
|
|
convert screen coordinate into the chromosome coordinate
|
|
convert screen coordinate into the chromosome coordinate
|
|
getEnabled
|
|
hide tracer |
|
Hide mouse cursor |
|
return true if ready to show a popup menu
|
|
Just do nothing
|
|
draw selected area whem mouse is dragged
|
|
mouseEntered
|
|
hide tracer
|
|
show tracer coordinates
|
|
Prepare to draw selection or to show a popup menu
|
|
process selected area and update position
|
|
draw tracer or green bar
Reimplemented from gov::lbl::genome::gui::panel::VistaPanel. |
|
switch popup off |
|
push mouse event inside the panel structure
|
|
set green bar image == null |
|
remove tracer image Reimplemented from gov::lbl::genome::gui::panel::VistaPanel. |
|
reset some variables and repaint |
|
Is called when mouse button is pressed and mouse moved
|
|
show tracer |
|
visible |
|
show wait mouse cursos |