Class BorderLayout


  • public class BorderLayout
    extends AWTLayout
    Port of AWT BorderLayout to SWT.
    • Constructor Detail

      • BorderLayout

        public BorderLayout()
      • BorderLayout

        public BorderLayout​(int hgap,
                            int vgap)
    • Method Detail

      • computeSize

        protected Point computeSize​(Composite composite,
                                    int wHint,
                                    int hHint,
                                    boolean flushCache)
        Specified by:
        computeSize in class Layout
      • layout

        protected void layout​(Composite composite,
                              boolean flushCache)
        Specified by:
        layout in class Layout
      • getHgap

        public int getHgap()
        Returns:
        Returns the hgap.
      • setHgap

        public void setHgap​(int hgap)
        Parameters:
        hgap - The hgap to set.
      • getVgap

        public int getVgap()
        Returns:
        Returns the vgap.
      • setVgap

        public void setVgap​(int vgap)
        Parameters:
        vgap - The vgap to set.