Class VolumeProfileStudy.VPSummary

java.lang.Object
com.motivewave.platform.sdk.draw.Figure
com.motivewave.platform.sdk.profile.VolumeProfileStudy.VPSummary
Enclosing class:
VolumeProfileStudy

protected class VolumeProfileStudy.VPSummary extends Figure
  • Constructor Details

    • VPSummary

      protected VPSummary()
  • Method Details

    • contains

      public boolean contains(double x, double y, DrawContext ctx)
      Description copied from class: Figure
      This method is called by the study framework to determine if the figure contains the x and y coordinates.
      Overrides:
      contains in class Figure
      Returns:
      true if this figure contains the (x,y) coordinates.
    • getPopupMessage

      public String getPopupMessage(double x, double y, DrawContext ctx)
      Description copied from class: Figure
      Gets the popup message for the given (x,y) coordinate. By default, this will return the message that is set by calling the setPopupMessage(msg) method. Override to return different messages using the x,y coordinate.
      Overrides:
      getPopupMessage in class Figure
      Parameters:
      x - x coordinate
      y - y coordinate
      ctx - Draw Context
      Returns:
      popup message to display for the given (x,y) coordinate
    • layout

      public void layout(DrawContext ctx)
      Description copied from class: Figure
      This method is called to translate any real values in the figure to the graph (represented by the DrawContext).
      Overrides:
      layout in class Figure
      Parameters:
      ctx - draw context
    • draw

      public void draw(Graphics2D gc, DrawContext ctx)
      Description copied from class: Figure
      This method draws the figure on the graph (using the given Graphics2D). This method is called by the study framework to display the figure on the graph.
      Overrides:
      draw in class Figure
      Parameters:
      gc - graphics context
      ctx - draw context