|
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.ColumnLayoutData
This class is used to store layout data for the ColumnLayout
class. You can control width and height hints, as well as horizontal
alignment using instances of this class. As with other layouts, they are not
required to get the default behaviour.
ColumnLayout
Field Summary | |
static int |
CENTER
Horizontal alignment constant - control will be aligned to the right. |
static int |
FILL
Horizontal alignment constant - control will fill the column. |
int |
heightHint
Height hint that will be used instead of the computed control height when used in conjunction with ColumnLayout class (default
is SWT.DEFAULT). |
int |
horizontalAlignment
Horizontal alignment variable (default is FILL). |
static int |
LEFT
Horizontal alignment constant - control will be aligned to the left. |
static int |
RIGHT
Horizontal alignment constant - control will be centered. |
int |
widthHint
Width hint that will be used instead of the computed control width when used in conjunction with ColumnLayout class (default is
SWT.DEFAULT). |
Constructor Summary | |
ColumnLayoutData()
The default constructor. |
|
ColumnLayoutData(int wHint)
Convinience constructor for the class. |
|
ColumnLayoutData(int wHint,
int hHint)
Convinience constructor for the class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int widthHint
ColumnLayout
class (default is
SWT.DEFAULT).
public int heightHint
ColumnLayout
class (default
is SWT.DEFAULT).
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int FILL
public int horizontalAlignment
Constructor Detail |
public ColumnLayoutData(int wHint, int hHint)
wHint
- width hint for the controlhHint
- height hint for the controlpublic ColumnLayoutData(int wHint)
wHint
- width hint for the controlpublic ColumnLayoutData()
|
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.