Documentation of 'kcl.waterloo.annotation.GJAnnotationInterface' Java class
GJAnnotationInterface
kcl.waterloo.annotation

Interface GJAnnotationInterface<T,U,V,W,X>

    • Method Detail

      • getPath

        T getPath()
        Returns:
        the Annotation
      • setPath

        void setPath(T annotation)
        Parameters:
        annotation -
      • getMarker

        GJMarker getMarker()
        Returns:
        the Marker
      • setMarker

        void setMarker(GJMarker Marker)
        Parameters:
        Marker - the Marker to set
      • getParentGraph

        U getParentGraph()
        Returns:
        the plot
      • setParentGraph

        void setParentGraph(U plot)
        Parameters:
        plot - the plot to set
      • getLineStroke

        V getLineStroke()
        Returns:
        the LineStroke
      • setLineStroke

        void setLineStroke(V LineStroke)
        Parameters:
        LineStroke - the LineStroke to set
      • getLineColor

        W getLineColor()
        Returns:
        the LineColor
      • setLineColor

        void setLineColor(W LineColor)
        Parameters:
        LineColor - the LineColor to set
      • getFill

        W getFill()
        Returns:
        the Fill
      • setFill

        void setFill(W Fill)
        Parameters:
        Fill - the Fill to set
      • getFont

        X getFont()
        Returns:
        the Font
      • setFont

        void setFont(X Font)
        Parameters:
        Font - the Font to set
      • getXData

        double getXData()
        Returns:
        the X
      • setXData

        void setXData(double X)
        Parameters:
        X - the X to set
      • getYData

        double getYData()
        Returns:
        the Y
      • setYData

        void setYData(double Y)
        Parameters:
        Y - the Y to set
      • getText

        java.lang.String getText()
        Returns:
        the Text
      • setText

        void setText(java.lang.String Text)
        Parameters:
        Text - the Text to set
      • getTextColor

        W getTextColor()
        Returns:
        the TextColor
      • setTextColor

        void setTextColor(W TextColor)
        Parameters:
        TextColor - the TextColor to set
      • getName

        java.lang.String getName()
        Returns:
        the Name
      • setName

        void setName(java.lang.String Name)
        Parameters:
        Name - the Name to set
      • setExtra

        void setExtra(GJMarker o)
        Sets an extra data object used internally by some annotations.
        Parameters:
        o -
      • getExtra

        GJMarker getExtra()
        Gets the extra data.
        Returns:
        the GJMarker
      • remove

        void remove()
        Removes the annotation
      • remove

        void remove(java.lang.String s)
        Removes annotation(s) named by the string
        Parameters:
        s - the name of the annotation(s) to remove
      • paintAnnotation

        void paintAnnotation(java.awt.Graphics2D g2,
                             java.awt.geom.AffineTransform af)
        Paints the annotation to the specified Graphics2D object. The AffineTransform should be set up to scale and translate the graphics from the GJGraphInterface space specified in the GJAnnotation instance.
        Parameters:
        g2 - Graphics2D instance
        af - AffineTransform

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.