Class ScatterplotFacet.ScatterplotFacetConfig

java.lang.Object
com.google.refine.browsing.facets.ScatterplotFacet.ScatterplotFacetConfig
All Implemented Interfaces:
FacetConfig
Enclosing class:
ScatterplotFacet

public static class ScatterplotFacet.ScatterplotFacetConfig extends Object implements FacetConfig
  • Field Details

    • name

      protected String name
    • expression_x

      protected String expression_x
    • expression_y

      protected String expression_y
    • columnName_x

      protected String columnName_x
    • columnName_y

      protected String columnName_y
    • size

      protected int size
    • dim_x

      protected int dim_x
    • dim_y

      protected int dim_y
    • rotation_str

      protected String rotation_str
    • rotation

      protected int rotation
    • l

      protected double l
    • dot

      protected double dot
    • color_str

      protected String color_str
    • from_x

      protected double from_x
    • to_x

      protected double to_x
    • from_y

      protected double from_y
    • to_y

      protected double to_y
  • Constructor Details

    • ScatterplotFacetConfig

      public ScatterplotFacetConfig()
  • Method Details

    • getColor

      protected Color getColor()
    • isSelected

      protected boolean isSelected()
    • getDimX

      public String getDimX()
    • getDimY

      public String getDimY()
    • apply

      public ScatterplotFacet apply(Project project)
      Description copied from interface: FacetConfig
      Instantiates the given facet on a particular project.
      Specified by:
      apply in interface FacetConfig
      Returns:
      a computed facet on the given project.
    • getRotation

      public static int getRotation(String rotation)
    • getJsonType

      public String getJsonType()
      Description copied from interface: FacetConfig
      The facet type as stored in json.
      Specified by:
      getJsonType in interface FacetConfig