Documentation of 'org.jplot2d.interaction.InteractiveComp' Java class
InteractiveComp
org.jplot2d.interaction

Interface InteractiveComp

  • All Known Implementing Classes:
    SwingInteractiveComp


    public interface InteractiveComp
    A generic interface for awt component and swt composite, to provide visual feedback.
    • Method Detail

      • getCursorLocation

        java.awt.Point getCursorLocation()
      • repaint

        void repaint()
        Repaints this component.
      • drawLine

        void drawLine(java.lang.Object g,
                      int rgb,
                      int x1,
                      int y1,
                      int x2,
                      int y2)
        Draws a line with the given graphics object and rgb color.
        Parameters:
        g - the graphics object
        rgb - the color value
        x1 -
        y1 -
        x2 -
        y2 -
      • drawRectangle

        void drawRectangle(java.lang.Object g,
                           int rgb,
                           int x,
                           int y,
                           int width,
                           int height)
        Draws a rectangle with the given graphics object and rgb color.
        Parameters:
        g - the graphics object
        rgb - the color value
        x -
        y -
        width -
        height -
      • drawShape

        void drawShape(java.lang.Object g,
                       int rgb,
                       java.awt.Shape shape)
        Draws a shape with the given graphics object and rgb color.
        Parameters:
        g - the graphics object
        rgb - the color value
        shape - the shape to draw
      • drawTooltip

        void drawTooltip(java.lang.Object g,
                         java.lang.String s,
                         int x,
                         int y)
        Draws a tooltip on the given location.
        Parameters:
        g - the graphics object
        s - the string
        x -
        y -

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.