public class CursorReadoutWindow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JLabel |
label
The label
|
protected javax.swing.JWindow |
window
The window
|
protected int |
windowWidth
The window width
|
Constructor and Description |
---|
CursorReadoutWindow(NavigatedViewManager vm)
Instantiates a new cursor readout window.
|
CursorReadoutWindow(NavigatedViewManager vm,
boolean ignoreMissing)
Instantiates a new cursor readout window.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReadout(visad.georef.EarthLocation earthLocation,
boolean showDisplays,
boolean showAlt,
java.util.List<ReadoutInfo> samples)
Gets the readout.
|
void |
handleMousePressedOrDragged(java.awt.event.MouseEvent e)
Handle mouse pressed or dragged.
|
void |
handleMouseReleased(java.awt.event.MouseEvent e)
Handle mouse released.
|
void |
updateReadout()
Update readout.
|
protected javax.swing.JWindow window
protected javax.swing.JLabel label
protected int windowWidth
public CursorReadoutWindow(NavigatedViewManager vm)
vm
- the vmpublic CursorReadoutWindow(NavigatedViewManager vm, boolean ignoreMissing)
vm
- the vmignoreMissing
- the ignore missingpublic void handleMouseReleased(java.awt.event.MouseEvent e)
e
- the epublic void handleMousePressedOrDragged(java.awt.event.MouseEvent e) throws java.rmi.RemoteException, visad.VisADException
e
- the ejava.rmi.RemoteException
- the remote exceptionvisad.VisADException
- the VisAD exceptionpublic void updateReadout()
public java.lang.String getReadout(visad.georef.EarthLocation earthLocation, boolean showDisplays, boolean showAlt, java.util.List<ReadoutInfo> samples)
earthLocation
- the earth locationshowDisplays
- the show displaysshowAlt
- the show altsamples
- the samples