|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.forms.widgets.TableWrapData
Layout data used in conjunction with HTMLTableLayout
.
Children in a composite that uses this layout should call
setLayoutData and pass an instance of this class to control
physical placement in the parent.
TableWrapLayout
Field Summary | |
int |
align
Horizontal alignment (LEFT, CENTER, RIGHT or FILL; default is LEFT). |
static int |
BOTTOM
The control will be aligned with the bottom of the cell. |
static int |
CENTER
The control will be centered horizontally. |
int |
colspan
Number of columns to span (default is 1). |
static int |
FILL
The control will have the same width as the column it occupies. |
static int |
FILL_GRAB
In addition to filling width or height, the control will take part in allocation of any excess space. |
boolean |
grabHorizontal
If true , take part in excess horizontal space
distribution. |
boolean |
grabVertical
If true , will grab any excess vertical space (default is
false ). |
int |
heightHint
Height hint of the control (default is SWT.DEFAULT). |
int |
indent
Horizontal indent (default is 0). |
static int |
LEFT
The control will be left-justified. |
int |
maxHeight
Maximum height of the control (default is SWT.DEFAULT). |
int |
maxWidth
Maximum width of the control (default is SWT.DEFAULT). |
static int |
MIDDLE
The control will be centered vertically. |
static int |
RIGHT
The control will be right-justified. |
int |
rowspan
Number of rows to span (default is 1). |
static int |
TOP
The control will be aligned with the top of the cell. |
int |
valign
Vertical alignment (TOP, MIDDLE, BOTTOM or FILL; default is TOP). |
Constructor Summary | |
TableWrapData()
The default constructor. |
|
TableWrapData(int align)
The convinience constructor - allows passing the horizontal alignment style. |
|
TableWrapData(int align,
int valign)
The convinience constructor - allows passing the alignment styles. |
|
TableWrapData(int align,
int valign,
int rowspan,
int colspan)
The convinience constructor - allows passing the alignment styles, column and row spans. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
public static final int FILL
public static final int FILL_GRAB
align
variable).
public int colspan
public int rowspan
public int align
public int valign
public int indent
public int maxWidth
public int maxHeight
public int heightHint
public boolean grabHorizontal
true
, take part in excess horizontal space
distribution. (default is false
).
public boolean grabVertical
true
, will grab any excess vertical space (default is
false
). Note that since TableWrapLayout works top-down
and does not grows to fill the parent, this only applies to local excess
space created by fixed-height children that span multiple rows.
Constructor Detail |
public TableWrapData()
public TableWrapData(int align)
align
- horizontal alignment (LEFT, MIDDLE, RIGHT, FILL or
FILL_GRAB).public TableWrapData(int align, int valign)
align
- horizontal alignment (LEFT, CENTER, RIGHT, FILL or
FILL_GRAB).valign
- vertical alignment (TOP, MIDDLE, BOTTOM, FILL or FILL_GRAB).public TableWrapData(int align, int valign, int rowspan, int colspan)
align
- horizontal alignment (LEFT, CENTER, RIGHT, FILL or
FILL_GRAB).valign
- vertical alignment (TOP, MIDDLE, BOTTOM, FILL or FILL_GRAB)rowspan
- row span (1 or more)colspan
- column span (1 or more)
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.