/** * Creates a new GridLayout, and initializes it with values from the factory. * * @return a new initialized GridLayout. * @see #applyTo */ public GridLayout create() { return copyLayout(l); }
/** * Creates a new GridLayout, and initializes it with values from the factory. * * @return a new initialized GridLayout. * @see #applyTo */ public GridLayout create() { return copyLayout(l); }
/** * Creates a new GridLayout, and initializes it with values from the factory. * * @return a new initialized GridLayout. * @see #applyTo */ public GridLayout create() { return copyLayout(l); }
/** * Creates a new GridLayout and attaches it to the given composite. * Does not create the GridData of any of the controls in the composite. * * @param c composite whose layout will be set * @see #generateLayout * @see #create * @see GridLayoutFactory */ public void applyTo(Composite c) { c.setLayout(copyLayout(l)); }
/** * Creates a new GridLayout and attaches it to the given composite. * Does not create the GridData of any of the controls in the composite. * * @param c composite whose layout will be set * @see #generateLayout * @see #create * @see GridLayoutFactory */ public void applyTo(Composite c) { c.setLayout(copyLayout(l)); }
/** * Creates a new GridLayout and attaches it to the given composite. * Does not create the GridData of any of the controls in the composite. * * @param c composite whose layout will be set * @see #generateLayout * @see #create * @see GridLayoutFactory */ public void applyTo(Composite c) { c.setLayout(copyLayout(l)); }
/** * Creates a factory that creates copies of the given layout. * * @param l layout to copy * @return a new GridLayoutFactory instance that creates copies of the given layout */ public static GridLayoutFactory createFrom(GridLayout l) { return new GridLayoutFactory(copyLayout(l)); }
/** * Creates a factory that creates copies of the given layout. * * @param l layout to copy * @return a new GridLayoutFactory instance that creates copies of the given layout */ public static GridLayoutFactory createFrom(GridLayout l) { return new GridLayoutFactory(copyLayout(l)); }
/** * Creates a factory that creates copies of the given layout. * * @param l layout to copy * @return a new GridLayoutFactory instance that creates copies of the given layout */ public static GridLayoutFactory createFrom(GridLayout l) { return new GridLayoutFactory(copyLayout(l)); }