Documentation of 'org.jplot2d.swing.interaction.SwingInteractiveComp' Java class
SwingInteractiveComp
org.jplot2d.swing.interaction

Class SwingInteractiveComp

    • Method Detail

      • drawLine

        public void drawLine(java.lang.Object g,
                             int rgb,
                             int x1,
                             int y1,
                             int x2,
                             int y2)
        Description copied from interface: InteractiveComp
        Draws a line with the given graphics object and rgb color.
        Specified by:
        drawLine in interface InteractiveComp
        Parameters:
        g - the graphics object
        rgb - the color value
      • drawRectangle

        public void drawRectangle(java.lang.Object g,
                                  int rgb,
                                  int x,
                                  int y,
                                  int width,
                                  int height)
        Description copied from interface: InteractiveComp
        Draws a rectangle with the given graphics object and rgb color.
        Specified by:
        drawRectangle in interface InteractiveComp
        Parameters:
        g - the graphics object
        rgb - the color value
      • drawShape

        public void drawShape(java.lang.Object g,
                              int rgb,
                              java.awt.Shape shape)
        Description copied from interface: InteractiveComp
        Draws a shape with the given graphics object and rgb color.
        Specified by:
        drawShape in interface InteractiveComp
        Parameters:
        g - the graphics object
        rgb - the color value
        shape - the shape to draw
      • drawTooltip

        public void drawTooltip(java.lang.Object g,
                                java.lang.String s,
                                int x,
                                int y)
        Description copied from interface: InteractiveComp
        Draws a tooltip on the given location.
        Specified by:
        drawTooltip in interface InteractiveComp
        Parameters:
        g - the graphics object
        s - the string

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.