Class ScatterplotDrawingRowVisitor

java.lang.Object
com.google.refine.browsing.facets.ScatterplotDrawingRowVisitor
All Implemented Interfaces:
RecordVisitor, RowVisitor

public class ScatterplotDrawingRowVisitor extends Object implements RowVisitor, RecordVisitor
  • Constructor Details

    • ScatterplotDrawingRowVisitor

      public ScatterplotDrawingRowVisitor(int col_x, int col_y, double min_x, double max_x, double min_y, double max_y, int size, int dim_x, int dim_y, int rotation, double dot, Color color)
  • Method Details

    • setColor

      public void setColor(Color color)
    • start

      public void start(Project project)
      Description copied from interface: RowVisitor
      Called before any visit() call.
      Specified by:
      start in interface RecordVisitor
      Specified by:
      start in interface RowVisitor
    • end

      public void end(Project project)
      Description copied from interface: RowVisitor
      Called after all visit() calls.
      Specified by:
      end in interface RecordVisitor
      Specified by:
      end in interface RowVisitor
    • visit

      public boolean visit(Project project, int rowIndex, Row row)
      Specified by:
      visit in interface RowVisitor
      Parameters:
      project - project
      rowIndex - zero-based row index
      row - row
      Returns:
      true to abort visitation early - no further visit calls will be made
    • visit

      public boolean visit(Project project, Record record)
      Specified by:
      visit in interface RecordVisitor
    • getImage

      public RenderedImage getImage()