Class HeaderArea


  • public class HeaderArea
    extends Object
    • Method Detail

      • getViewPort

        public ViewPort getViewPort()
        Returns:
        the viewPort
      • setPositionPixel

        public void setPositionPixel​(org.eclipse.swt.graphics.Point topLeftPointPixel,
                                     int sizePixel)
        Установить позицию.
        Parameters:
        topLeftPoint - - позиция верхнего левого угла области.
        size - - размер по горизонтали или вертикали.
      • getDevicePosition

        public org.eclipse.swt.graphics.Rectangle getDevicePosition()
        Получить позицию.
      • updateSize

        public void updateSize()
        Обновить размеры.
      • calcHeight

        public int calcHeight()
        Рассчитать высоту.
      • calcWidth

        public int calcWidth()
        Рассчитать ширину.
      • getNamedRowsWidthPixelForOneArea

        public int getNamedRowsWidthPixelForOneArea()
        Get amount of space required for one group
        Returns:
        amount of space required for one group.
      • getGroupSizePixel

        public int getGroupSizePixel()
        Получить, сколько место нужно выделить под каждую группировку.
      • getNamedColumnsHeightPixelForOneArea

        public int getNamedColumnsHeightPixelForOneArea()
      • getHeaderAreaPixel

        public org.eclipse.swt.graphics.Rectangle getHeaderAreaPixel()
        Получить позицию заголовков.
      • getGroupAreaPixel

        public org.eclipse.swt.graphics.Rectangle getGroupAreaPixel()
        Получить позицию группировок.
      • getNamesAreaPixel

        public org.eclipse.swt.graphics.Rectangle getNamesAreaPixel()
        Получить область именованных строк/колонок.