Class DataToolTab.DataToolPlotter.XYAxes

All Implemented Interfaces:
Serializable, Cloneable, Drawable, Interactive, Measurable, Trackable
Enclosing class:
DataToolTab.DataToolPlotter

protected class DataToolTab.DataToolPlotter.XYAxes extends TPoint
An inner class that draws coordinate axes on the plot.
See Also:
  • Constructor Details

    • XYAxes

      protected XYAxes()
  • Method Details

    • draw

      public void draw(DrawingPanel panel, Graphics g)
      Description copied from class: TPoint
      Empty draw method. This method should be overridden by subclasses.
      Specified by:
      draw in interface Drawable
      Overrides:
      draw in class TPoint
      Parameters:
      panel - the drawing panel requesting the drawing
      g - the graphics context on which to draw
    • findInteractive

      public Interactive findInteractive(DrawingPanel panel, int xpix, int ypix)
      Description copied from class: TPoint
      Returns null. This method should be overridden by subclasses.
      Specified by:
      findInteractive in interface Interactive
      Overrides:
      findInteractive in class TPoint
      Parameters:
      panel - the drawing panel
      xpix - the x pixel position on the panel
      ypix - the y pixel position on the panel
      Returns:
      null
    • isMeasured

      public boolean isMeasured()
      Description copied from class: TPoint
      Reports whether information is available to set min/max values.
      Specified by:
      isMeasured in interface Measurable
      Overrides:
      isMeasured in class TPoint
      Returns:
      false
    • setXY

      public void setXY(double x, double y)
      Description copied from class: TPoint
      Sets the x and y positions in imagespace.
      Specified by:
      setXY in interface Interactive
      Overrides:
      setXY in class TPoint
      Parameters:
      x - the x position
      y - the y position
    • getXMin

      public double getXMin()
      Description copied from class: TPoint
      Gets the minimum x needed to draw this object.
      Specified by:
      getXMin in interface Measurable
      Overrides:
      getXMin in class TPoint
      Returns:
      minimum x
    • getXMax

      public double getXMax()
      Description copied from class: TPoint
      Gets the maximum x needed to draw this object.
      Specified by:
      getXMax in interface Measurable
      Overrides:
      getXMax in class TPoint
      Returns:
      maximum x
    • getYMin

      public double getYMin()
      Description copied from class: TPoint
      Gets the minimum y needed to draw this object.
      Specified by:
      getYMin in interface Measurable
      Overrides:
      getYMin in class TPoint
      Returns:
      minimum y
    • getYMax

      public double getYMax()
      Description copied from class: TPoint
      Gets the maximum y needed to draw this object.
      Specified by:
      getYMax in interface Measurable
      Overrides:
      getYMax in class TPoint
      Returns:
      maximum y