public class StatusLineLayoutData extends Object
Control
within the status line.
To set a StatusLineLayoutData
object into a Control
, use
the setLayoutData()
method.
NOTE: Do not reuse StatusLineLayoutData
objects. Every control in the
status line must have a unique StatusLineLayoutData
instance or
null
.
Modifier and Type | Field and Description |
---|---|
int |
heightHint
The
heightHint specifies a minimum height for
the Control . |
int |
widthHint
The
widthHint specifies a minimum width for
the Control . |
Constructor and Description |
---|
StatusLineLayoutData()
Creates an initial status line layout data object.
|
public int widthHint
widthHint
specifies a minimum width for
the Control
. A value of SWT.DEFAULT
indicates that no minimum width is specified.
The default value is SWT.DEFAULT
.public int heightHint
heightHint
specifies a minimum height for
the Control
. A value of SWT.DEFAULT
indicates that no minimum height is specified.
The default value is SWT.DEFAULT
.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.