public class WindStaffDisplayRenderer extends visad.java2d.DefaultDisplayRendererJ2D implements WindProfileDisplayRenderer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CURSOR_POSITION
The name of the cursor position property.
|
Constructor and Description |
---|
WindStaffDisplayRenderer()
Constructs from nothing.
|
Modifier and Type | Method and Description |
---|---|
void |
addCursorPositionListener(java.beans.PropertyChangeListener listener)
Adds a listener for changes to the cursor position.
|
protected double[] |
getCursorInDisplayCoords()
Returns the position of the cursor in RealType coordinates.
|
double[] |
getCursorPosition()
Returns the cursor position.
|
void |
removeCursorPositionListener(java.beans.PropertyChangeListener listener)
Removes a listener for changes to the cursor position.
|
void |
setCursorStringVector()
Sets the cursor string vector.
|
createSceneGraph, getMode2D, legalDisplayScalar, setBoxAspect, setLineWidth
addDirectManipulationSceneGraphComponent, addKeyboardBehavior, addSceneGraphComponent, anyCursorStringVector, anyDirects, clearScale, clearScales, clearScene, controlChanged, createBasicSceneGraph, createBasicSceneGraph, depth_cursor, drag_cursor, drag_depth, drawCursorStringVector, findDirect, getBoxOnBranch, getCanvas, getCursor, getCursorOnBranch, getDirect, getImage, getMouseBehavior, getNonDirect, getRoot, getTextureHeightMax, getTextureWidthMax, getTrans, initControl, legalDataRenderer, makeControl, makeDefaultRenderer, render_trigger, rendererDeleted, setClip, setCursorOn, setDirectOn, setDisplay, setScale, setScale, setScale, setScaleOn, setTransform2D, setWaitFlag, unsetClip
getAnimationString, getAnimationStringVisible, getBoxOn, getCursorColor, getCursorStringVector, getCursorStringVectorUnconditional, getDirectAxisValue, getDirectAxisValue, getDisplay, getPickThreshhold, getRendererControl, getRotateAboutCenter, getScaleRotation, getWaitFlag, getWaitMessageVisible, prepareAction, setAnimationString, setAnimationStringVisible, setBackgroundColor, setBackgroundColor, setBoxColor, setBoxColor, setBoxOn, setCursorColor, setCursorColor, setCursorStringOn, setCursorStringVector, setForegroundColor, setForegroundColor, setPickThreshhold, setRotateAboutCenter, setScaleRotation, setWaitMessageVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setBoxOn, setCursorStringOn
public static java.lang.String CURSOR_POSITION
public WindStaffDisplayRenderer()
public void setCursorStringVector()
setCursorStringVector
in interface WindProfileDisplayRenderer
setCursorStringVector
in class visad.DisplayRenderer
public double[] getCursorPosition()
getCursorPosition
in interface WindProfileDisplayRenderer
public void addCursorPositionListener(java.beans.PropertyChangeListener listener)
addCursorPositionListener
in interface WindProfileDisplayRenderer
listener
- The change listener.public void removeCursorPositionListener(java.beans.PropertyChangeListener listener)
removeCursorPositionListener
in interface WindProfileDisplayRenderer
listener
- The change listener.protected double[] getCursorInDisplayCoords()