Package org.eclipse.swt.layout
Class BorderData
- java.lang.Object
-
- org.eclipse.swt.layout.BorderData
-
public final class BorderData extends java.lang.Object
Controls the several aspects of aBorderLayout
.- Since:
- 3.119
-
-
Constructor Summary
Constructors Constructor Description BorderData()
creates aBorderData
with default optionsBorderData(int region)
creates aBorderData
initialized with the given region, valid values areSWT.TOP
,SWT.CENTER
,SWT.LEFT
,SWT.RIGHT
,SWT.BOTTOM
BorderData(int region, int widthHint, int heightHint)
creates aBorderData
initialized with the given region and width and height hints
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Constructor Detail
-
BorderData
public BorderData()
creates aBorderData
with default options
-
BorderData
public BorderData(int region)
creates aBorderData
initialized with the given region, valid values areSWT.TOP
,SWT.CENTER
,SWT.LEFT
,SWT.RIGHT
,SWT.BOTTOM
- Parameters:
region
- the region valid values areSWT.TOP
,SWT.CENTER
,SWT.LEFT
,SWT.RIGHT
,SWT.BOTTOM
-
BorderData
public BorderData(int region, int widthHint, int heightHint)
creates aBorderData
initialized with the given region and width and height hints- Parameters:
region
- the region valid values areSWT.TOP
,SWT.CENTER
,SWT.LEFT
,SWT.RIGHT
,SWT.BOTTOM
widthHint
- the default hint for the widthheightHint
- he default hint for the height
-
-