Class ChartImageProvider.ChartImagePart

  • Enclosing class:
    ChartImageProvider

    public static class ChartImageProvider.ChartImagePart
    extends Object
    Special class contains three image parts of diagram: main part, legend part and title part
    • Constructor Detail

      • ChartImagePart

        public ChartImagePart​(org.eclipse.swt.graphics.ImageData mainPartImage,
                              org.eclipse.swt.graphics.ImageData titlePartImage,
                              org.eclipse.swt.graphics.ImageData legendPartImage)
        Constructor
        Parameters:
        mainPartImage - main part of diagram image, can't be null
        titlePartImage - title part of diagram image, can't be null
        legendPartImage - legend part pf diagram image, can't be null
    • Method Detail

      • getMainPartImage

        public org.eclipse.swt.graphics.ImageData getMainPartImage()
        Gets main part of diagram image
        Returns:
        main part of diagram image, never null
      • getTitlePartImage

        public org.eclipse.swt.graphics.ImageData getTitlePartImage()
        Gets title part of diagram image
        Returns:
        title part of diagram image, never null
      • getLegendPartImage

        public org.eclipse.swt.graphics.ImageData getLegendPartImage()
        Gets legend part of diagram image
        Returns:
        legend part of diagram image, never null