org.eclipse.swt.layout
Class GridData

java.lang.Object
  |
  +--org.eclipse.swt.layout.GridData

public final class GridData
extends Object

Safe:


Field Summary
static int BEGINNING
          Enabled:
static int CENTER
          Enabled:
(package private)  int childIndex
           
static int END
          Enabled:
static int FILL
          Enabled:
static int FILL_BOTH
          Enabled: FILL_BOTH = FILL_VERTICAL | FILL_HORIZONTAL
static int FILL_HORIZONTAL
          Enabled: FILL_HORIZONTAL = HORIZONTAL_ALIGN_FILL | GRAB_HORIZONTAL
static int FILL_VERTICAL
          Enabled: FILL_VERTICAL = VERTICAL_ALIGN_FILL | GRAB_VERTICAL
static int GRAB_HORIZONTAL
          Enabled:
static int GRAB_VERTICAL
          Enabled:
 boolean grabExcessHorizontalSpace
          Enabled: grabExcessHorizontalSpace specifies whether the cell will be made wide enough to fit the remaining horizontal space.
 boolean grabExcessVerticalSpace
          Enabled: grabExcessVerticalSpace specifies whether the cell will be made tall enough to fit the remaining vertical space.
 int heightHint
          Enabled: heightHint specifies a minimum height for the row.
static int HORIZONTAL_ALIGN_BEGINNING
          Enabled:
static int HORIZONTAL_ALIGN_CENTER
          Enabled:
static int HORIZONTAL_ALIGN_END
          Enabled:
static int HORIZONTAL_ALIGN_FILL
          Enabled:
 int horizontalAlignment
          Enabled: horizontalAlignment specifies how controls will be positioned horizontally within a cell.
 int horizontalIndent
          Enabled: horizontalIndent specifies the number of pixels of indentation that will be placed along the left side of the cell.
 int horizontalSpan
          Enabled: horizontalSpan specifies the number of column cells that the control will take up.
(package private)  int hSpan
           
(package private)  boolean isItemData
           
static int VERTICAL_ALIGN_BEGINNING
          Enabled:
static int VERTICAL_ALIGN_CENTER
          Enabled:
static int VERTICAL_ALIGN_END
          Enabled:
static int VERTICAL_ALIGN_FILL
          Enabled:
 int verticalAlignment
          Enabled: verticalAlignment specifies how controls will be positioned vertically within a cell.
 int verticalSpan
          Enabled: verticalSpan specifies the number of row cells that the control will take up.
 int widthHint
          Enabled: widthHint specifies a minimum width for the column.
 
Constructor Summary
GridData()
          Enabled:
GridData(int style)
          Enabled:
 
Method Summary
(package private)  boolean isItemData()
           
(package private)  boolean isSpacerData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verticalAlignment

public int verticalAlignment
Enabled: verticalAlignment specifies how controls will be positioned vertically within a cell. The default value is CENTER. Possible values are: BEGINNING: Position the control at the top of the cell CENTER: Position the control in the vertical center of the cell END: Position the control at the bottom of the cell FILL: Resize the control to fill the cell vertically


horizontalAlignment

public int horizontalAlignment
Enabled: horizontalAlignment specifies how controls will be positioned horizontally within a cell. The default value is BEGINNING. Possible values are: BEGINNING: Position the control at the left of the cell CENTER: Position the control in the horizontal center of the cell END: Position the control at the right of the cell FILL: Resize the control to fill the cell horizontally


widthHint

public int widthHint
Enabled: widthHint specifies a minimum width for the column. A value of SWT.DEFAULT indicates that no minimum width is specified. The default value is SWT.DEFAULT.


heightHint

public int heightHint
Enabled: heightHint specifies a minimum height for the row. A value of SWT.DEFAULT indicates that no minimum height is specified. The default value is SWT.DEFAULT.


horizontalIndent

public int horizontalIndent
Enabled: horizontalIndent specifies the number of pixels of indentation that will be placed along the left side of the cell. The default value is 0.


horizontalSpan

public int horizontalSpan
Enabled: horizontalSpan specifies the number of column cells that the control will take up. The default value is 1.


verticalSpan

public int verticalSpan
Enabled: verticalSpan specifies the number of row cells that the control will take up. The default value is 1.


grabExcessHorizontalSpace

public boolean grabExcessHorizontalSpace
Enabled: grabExcessHorizontalSpace specifies whether the cell will be made wide enough to fit the remaining horizontal space. The default value is false.


grabExcessVerticalSpace

public boolean grabExcessVerticalSpace
Enabled: grabExcessVerticalSpace specifies whether the cell will be made tall enough to fit the remaining vertical space. The default value is false.


BEGINNING

public static final int BEGINNING
Enabled:


CENTER

public static final int CENTER
Enabled:


END

public static final int END
Enabled:


FILL

public static final int FILL
Enabled:


VERTICAL_ALIGN_BEGINNING

public static final int VERTICAL_ALIGN_BEGINNING
Enabled:


VERTICAL_ALIGN_CENTER

public static final int VERTICAL_ALIGN_CENTER
Enabled:


VERTICAL_ALIGN_END

public static final int VERTICAL_ALIGN_END
Enabled:


VERTICAL_ALIGN_FILL

public static final int VERTICAL_ALIGN_FILL
Enabled:


HORIZONTAL_ALIGN_BEGINNING

public static final int HORIZONTAL_ALIGN_BEGINNING
Enabled:


HORIZONTAL_ALIGN_CENTER

public static final int HORIZONTAL_ALIGN_CENTER
Enabled:


HORIZONTAL_ALIGN_END

public static final int HORIZONTAL_ALIGN_END
Enabled:


HORIZONTAL_ALIGN_FILL

public static final int HORIZONTAL_ALIGN_FILL
Enabled:


GRAB_HORIZONTAL

public static final int GRAB_HORIZONTAL
Enabled:


GRAB_VERTICAL

public static final int GRAB_VERTICAL
Enabled:


FILL_VERTICAL

public static final int FILL_VERTICAL
Enabled: FILL_VERTICAL = VERTICAL_ALIGN_FILL | GRAB_VERTICAL


FILL_HORIZONTAL

public static final int FILL_HORIZONTAL
Enabled: FILL_HORIZONTAL = HORIZONTAL_ALIGN_FILL | GRAB_HORIZONTAL


FILL_BOTH

public static final int FILL_BOTH
Enabled: FILL_BOTH = FILL_VERTICAL | FILL_HORIZONTAL


childIndex

int childIndex

isItemData

boolean isItemData

hSpan

int hSpan
Constructor Detail

GridData

public GridData()
Enabled:


GridData

public GridData(int style)
Enabled:

Method Detail

isItemData

boolean isItemData()

isSpacerData

boolean isSpacerData()


comments?