ucar.visad.display
Interface DisplayableData.DragAdapter

All Known Implementing Classes:
ColorCrossSectionControl, ColorRhiControl, ContourCrossSectionControl, CrossSectionControl, DataTransectControl, FlowCrossSectionControl, Level2ColorCrossSectionControl, ProbeControl, RadarCrossSectionControl, RadarRhiControl, RangeAndBearingControl
Enclosing class:
DisplayableData

public static interface DisplayableData.DragAdapter

DragAdapter

Author:
IDV Development Team

Method Summary
 boolean constrainDragPoint(float[] x)
          Constraing the drag point
 boolean handleAddPoint(float[] x)
          Handle adding a point
 boolean handleDragDirect(VisADRay ray, boolean first, int mouseModifiers)
          Handle a mouse drag
 

Method Detail

handleDragDirect

boolean handleDragDirect(VisADRay ray,
                         boolean first,
                         int mouseModifiers)
Handle a mouse drag

Parameters:
ray - the ray
first - is this the first
mouseModifiers - mouse modifiers
Returns:
okay or not

handleAddPoint

boolean handleAddPoint(float[] x)
Handle adding a point

Parameters:
x - the points
Returns:
okay or not

constrainDragPoint

boolean constrainDragPoint(float[] x)
Constraing the drag point

Parameters:
x - the point
Returns:
true if constrained