comparison dwt/layout/GridData.d @ 259:c0d810de7093

Update SWT 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Sun, 29 Jun 2008 14:33:38 +0200
parents 380bad9f6852
children
comparison
equal deleted inserted replaced
257:cc1d3de0e80b 259:c0d810de7093
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2000, 2006 IBM Corporation and others. 2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
46 * a unique <code>GridData</code> object is created for it. 46 * a unique <code>GridData</code> object is created for it.
47 * </p> 47 * </p>
48 * 48 *
49 * @see GridLayout 49 * @see GridLayout
50 * @see Control#setLayoutData 50 * @see Control#setLayoutData
51 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
51 */ 52 */
52 public final class GridData { 53 public final class GridData {
53 /** 54 /**
54 * verticalAlignment specifies how controls will be positioned 55 * verticalAlignment specifies how controls will be positioned
55 * vertically within a cell. 56 * vertically within a cell.
423 } 424 }
424 425
425 /** 426 /**
426 * Constructs a new instance of GridData according to the parameters. 427 * Constructs a new instance of GridData according to the parameters.
427 * 428 *
428 * @param horizontalAlignment how control will be positioned horizontally within a cell 429 * @param horizontalAlignment how control will be positioned horizontally within a cell,
429 * @param verticalAlignment how control will be positioned vertically within a cell 430 * one of: DWT.BEGINNING (or DWT.LEFT), DWT.CENTER, DWT.END (or DWT.RIGHT), or DWT.FILL
431 * @param verticalAlignment how control will be positioned vertically within a cell,
432 * one of: DWT.BEGINNING (or DWT.TOP), DWT.CENTER, DWT.END (or DWT.BOTTOM), or DWT.FILL
430 * @param grabExcessHorizontalSpace whether cell will be made wide enough to fit the remaining horizontal space 433 * @param grabExcessHorizontalSpace whether cell will be made wide enough to fit the remaining horizontal space
431 * @param grabExcessVerticalSpace whether cell will be made high enough to fit the remaining vertical space 434 * @param grabExcessVerticalSpace whether cell will be made high enough to fit the remaining vertical space
432 * 435 *
433 * @since 3.0 436 * @since 3.0
434 */ 437 */
437 } 440 }
438 441
439 /** 442 /**
440 * Constructs a new instance of GridData according to the parameters. 443 * Constructs a new instance of GridData according to the parameters.
441 * 444 *
442 * @param horizontalAlignment how control will be positioned horizontally within a cell 445 * @param horizontalAlignment how control will be positioned horizontally within a cell,
443 * @param verticalAlignment how control will be positioned vertically within a cell 446 * one of: DWT.BEGINNING (or DWT.LEFT), DWT.CENTER, DWT.END (or DWT.RIGHT), or DWT.FILL
447 * @param verticalAlignment how control will be positioned vertically within a cell,
448 * one of: DWT.BEGINNING (or DWT.TOP), DWT.CENTER, DWT.END (or DWT.BOTTOM), or DWT.FILL
444 * @param grabExcessHorizontalSpace whether cell will be made wide enough to fit the remaining horizontal space 449 * @param grabExcessHorizontalSpace whether cell will be made wide enough to fit the remaining horizontal space
445 * @param grabExcessVerticalSpace whether cell will be made high enough to fit the remaining vertical space 450 * @param grabExcessVerticalSpace whether cell will be made high enough to fit the remaining vertical space
446 * @param horizontalSpan the number of column cells that the control will take up 451 * @param horizontalSpan the number of column cells that the control will take up
447 * @param verticalSpan the number of row cells that the control will take up 452 * @param verticalSpan the number of row cells that the control will take up
448 * 453 *