Documentation of 'sgtplot.CartesianRenderer' Java class
CartesianRenderer
sgtplot

Class CartesianRenderer

    • Constructor Detail

      • CartesianRenderer

        public CartesianRenderer()
    • Method Detail

      • getRenderer

        public static CartesianRenderer getRenderer(CartesianGraph cg,
                                                    SGTData dmo,
                                                    Attribute attr)
        Factory method to create a new Renderer instance given the SGTData object and Attribute. For example, a LineCartesianRenderer is created if SGTData object is a SGTLine.

        A renderer is constucted based on the two arguements.

        SGTData

        Attribute

        CartesianRenderer

        SGTPoint PointAttribute PointCartesianRenderer
        SGTLine LineAttribute LineCartesianRenderer
        SGTGrid GridAttribute GridCartesianRenderer
        SGTVector VectorAttribute VectorCartesianRenderer
        Collection PointAttribute PointCartesianRenderer
        Collection LineAttribute LineCartesianRenderer
        Collection VectorAttribute VectorCartesianRenderer
        Annotation n/a AnnotationCartesianRenderer

        Parameters:
        dmo - DataModel object
      • getAttribute

        public abstract Attribute getAttribute()
        Get the Attribute associated with the renderer.
        Returns:
        the Attribute
      • getCartesianGraph

        public abstract CartesianGraph getCartesianGraph()
        Get the CartesianGraph associated with the renderer.
        Returns:
        the CartesianGraph
        Since:
        2.0
      • getPane

        public AbstractPane getPane()
        Get parent pane.
        Since:
        2.0
      • modified

        public void modified(java.lang.String mess)
        For internal sgtplot use.
        Since:
        2.0
      • getDataAt

        public SGTData getDataAt(int x,
                                 int y)
        Find data object.
        Since:
        3.0
      • getDataAt

        public abstract SGTData getDataAt(java.awt.Point pt)
        Find data object.
        Since:
        3.0

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.