Documentation of 'org.jzy3d.plot3d.rendering.legends.AWTLegend' Java class
AWTLegend
org.jzy3d.plot3d.rendering.legends

Class AWTLegend

    • Method Detail

      • dispose

        public void dispose()
      • toImage

        public abstract java.awt.image.BufferedImage toImage(int width,
                                                             int height)
      • setViewPort

        public void setViewPort(int width,
                                int height,
                                float left,
                                float right)
        Defines viewport dimensions, and precompute an image if required (i.e. if the viewport dimension have changed
        Specified by:
        setViewPort in interface IImageViewport
        Overrides:
        setViewPort in class AbstractViewportManager
        Parameters:
        width - the width of the target window.
        height - the height of the target window.
        left - the width's ratio where this subscreen starts in the target window.
        right - the width's ratio where this subscreen stops in the target window.
      • updateImage

        public void updateImage()
        Description copied from interface: ILegend
        Recompute the picture, using last used dimensions.
        Specified by:
        updateImage in interface ILegend
      • saveImage

        public void saveImage(java.lang.String filename)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • setMinimumSize

        public void setMinimumSize(Dimension dimension)
      • setGeneratorColors

        public void setGeneratorColors()
      • getForeground

        public Color getForeground()
      • setForeground

        public void setForeground(Color foreground)
      • getBackground

        public Color getBackground()
      • setBackground

        public void setBackground(Color background)
      • getMinimumDimension

        public Dimension getMinimumDimension()
      • setMinimumDimension

        public void setMinimumDimension(Dimension minimumDimension)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.