Interface DisplayableData.DragAdapter

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

public static interface DisplayableData.DragAdapter
DragAdapter
Author:
IDV Development Team
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • 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