Class AbsoluteLayout


  • public class AbsoluteLayout
    extends org.eclipse.swt.widgets.Layout
    A layout manager that lays out child controls in absolute positions. Each control's bounds is specified by setting an SWT Rectangle object specifying the control's bounds into the control's layout data.

    Use this layout manager whenever you would have used a null layout previously.

    Since:
    3.3
    • Constructor Summary

      Constructors 
      Constructor Description
      AbsoluteLayout()  
    • 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 flush)  
      protected void layout​(org.eclipse.swt.widgets.Composite composite, boolean flush)  
      • 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
    • Constructor Detail

      • AbsoluteLayout

        public AbsoluteLayout()
    • Method Detail

      • computeSize

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

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