Class ChartImageProvider.ChartImagePart

java.lang.Object
com._1c.g5.v8.dt.chart.common.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 Summary

    Constructors
    Constructor
    Description
    ChartImagePart(org.eclipse.swt.graphics.ImageData mainPartImage, org.eclipse.swt.graphics.ImageData titlePartImage, org.eclipse.swt.graphics.ImageData legendPartImage)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.swt.graphics.ImageData
    Gets legend part of diagram image
    org.eclipse.swt.graphics.ImageData
    Gets main part of diagram image
    org.eclipse.swt.graphics.ImageData
    Gets title part of diagram image

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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