Interface ShapeForm

    • Method Detail

      • getFormDescription

        java.lang.String getFormDescription()
        Returns a description of this mode as an XML string. The return value should be one or more <p> elements.
        Returns:
        XML description of form
      • getPositionCount

        int getPositionCount()
        Returns the number of data positions per tuple used by this form.
        Returns:
        number of sets of positional coordinates
      • getExtraCoords

        Coord[] getExtraCoords()
        Returns data coordinates additional to the basic position which are required to plot a point.
        Returns:
        additional plot coordinates
      • createOutliner

        Outliner createOutliner​(ConfigMap config)
        Returns an object which will do the work of drawing shapes when supplied with the appropriate style information and data. The significant keys in the supplied config map are those given by getConfigKeys().
        Parameters:
        config - configuration map from which values for this form's config keys will be extracted
        Returns:
        new outliner object
      • adjustGeom

        DataGeom adjustGeom​(DataGeom baseGeom)
        Provides a DataGeom to be used by the layer this form makes, given a DataGeom that characterises the plotting environment. The output should be similar to the input, for instance implementing the same plotType-specific DataGeom subtype.

        In most cases the supplied instance can be returned unchanged, but instances with special requirements may want to adjust how the data is interpreted.

        Parameters:
        baseGeom - context geom
        Returns:
        geom to use for data interpretation, the same or similar to the input