Class TimeSlice.TimeSliceAcrossTimeLayout

  • Enclosing class:
    TimeSlice

    private static class TimeSlice.TimeSliceAcrossTimeLayout
    extends org.eclipse.swt.widgets.Layout
    The 0th control in the layout may have a java.lang.Integer LayoutData indicating its preferred width. Otherwise, DaysLayout will ask the control to compute its preferred size and will use the width returned by that computation. All other controls will be equally allotted horizontal width in the parent control.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.eclipse.swt.graphics.Point preferredSize  
    • 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 wHint, int hHint, boolean flushCache)  
      protected void layout​(org.eclipse.swt.widgets.Composite composite, boolean flushCache)  
      • 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

      • preferredSize

        org.eclipse.swt.graphics.Point preferredSize
    • Constructor Detail

      • TimeSliceAcrossTimeLayout

        private TimeSliceAcrossTimeLayout()
    • Method Detail

      • computeSize

        protected org.eclipse.swt.graphics.Point computeSize​(org.eclipse.swt.widgets.Composite composite,
                                                             int wHint,
                                                             int hHint,
                                                             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