Helper class for interfacing to the VisAD Display when
the user drags the mouse around with both buttons
pressed (which causes a cursor to appear and the domain
readout values to be shown). When the mouse buttons
are released, the applications handler will be called.
Methods
|
|
__init__
displayChanged
|
|
__init__
|
__init__ (
self,
display,
handler,
)
The display is the display. The handler is the
method in the caller's program that will be called
when the user releases the buttons. It must have
two parameters: x,y that will get the values of
the domain values for the x- and y-axis, respectively.
|
|
displayChanged
|
displayChanged ( self, event )
Handle event
|
|