Class TestDraw

    • Method Detail

      • paintComponent

        public void paintComponent​(Graphics g)
        This gets called automatically whenever the panel needs to be redrawn.
        Overrides:
        paintComponent in class JComponent
        Parameters:
        g - The Graphics instance
      • draw

        public static void draw​(double[][] data)
      • draw

        public static void draw​(double[] data,
                                int dim)
      • draw

        public static void draw​(double[] data,
                                int dim,
                                TestDraw.MODE mode)
      • draw

        public static void draw​(double[][] data,
                                int dim,
                                TestDraw.MODE mode)
      • draw

        public static void draw​(long[] data,
                                int dim,
                                int dx,
                                int dy)
        Parameters:
        data - Data
        dim - Total number of dimension in original data
        dx - Id of dimension that should be drawn as 'x'
        dy - Id of dimension that should be drawn as 'y'
      • draw

        public static void draw​(long[][] data,
                                int dim,
                                int dx,
                                int dy)
        Parameters:
        data - Data
        dim - Total number of dimension in original data
        dx - Id of dimension that should be drawn as 'x'
        dy - Id of dimension that should be drawn as 'y'