Class DataToolTab.DataToolPlotter.PlotCoordinateStringBuilder

Enclosing class:
DataToolTab.DataToolPlotter

protected class DataToolTab.DataToolPlotter.PlotCoordinateStringBuilder extends CartesianCoordinateStringBuilder
An inner CoordinateStringBuilder class that uses datatable formats.
  • Method Details

    • getCoordinateString

      public String getCoordinateString(DrawingPanel panel, MouseEvent e)
      Description copied from class: CartesianCoordinateStringBuilder
      Converts a the pixel coordinates in a mouse event into world coordinates and return these coordinates in a string.
      Overrides:
      getCoordinateString in class CartesianCoordinateStringBuilder
      e - the mouse event
      Returns:
      the coordinate string
    • getFormattedValue

      public Object getFormattedValue(Object value, String colName)
      Gets a value formatted for a given table column.
      Parameters:
      value - the value
      colNamae - the column name
      Returns:
      the value formatted as it would be displayed in the table