Class GanttHeaderSpacedLayout


  • public class GanttHeaderSpacedLayout
    extends org.eclipse.swt.widgets.Layout
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.swt.graphics.Point computeSize​(org.eclipse.swt.widgets.Composite composite, int hint, int hint2, boolean flushCache)  
      protected void layout​(org.eclipse.swt.widgets.Composite composite, boolean flushCache)  
      private void recalculate​(org.eclipse.swt.widgets.Composite composite)  
      void setGanttChart​(GanttChart chart)  
      • Methods inherited from class org.eclipse.swt.widgets.Layout

        flushCache
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _ganttHeaderSize

        private int _ganttHeaderSize
      • _calculated

        private boolean _calculated
      • _maxY

        private int _maxY
      • _maxX

        private int _maxX
    • Constructor Detail

      • GanttHeaderSpacedLayout

        public GanttHeaderSpacedLayout()
      • GanttHeaderSpacedLayout

        public GanttHeaderSpacedLayout​(GanttChart chart)
    • Method Detail

      • setGanttChart

        public void setGanttChart​(GanttChart chart)
      • recalculate

        private void recalculate​(org.eclipse.swt.widgets.Composite composite)
      • computeSize

        protected org.eclipse.swt.graphics.Point computeSize​(org.eclipse.swt.widgets.Composite composite,
                                                             int hint,
                                                             int hint2,
                                                             boolean flushCache)
        Specified by:
        computeSize in class org.eclipse.swt.widgets.Layout
      • layout

        protected void layout​(org.eclipse.swt.widgets.Composite composite,
                              boolean flushCache)
        Specified by:
        layout in class org.eclipse.swt.widgets.Layout