public class Separator extends BasicField
Separator
Dialog field describing a separator.
fLabelControl, fLabelText, fUseFormLayout, fWidgetFactory, MAX_WITDH| Constructor and Description |
|---|
Separator() |
Separator(int style) |
Separator(IWidgetFactory widgetFactory,
int style) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of the operating system resources associated with the field.
|
org.eclipse.swt.widgets.Control[] |
fillIntoGrid(org.eclipse.swt.widgets.Composite parent,
int columns,
int height)
Creates the separator and fills it in a
MGridLayout. |
protected int |
getNumberOfControls()
Returns the number of columns of the dialog field.
|
org.eclipse.swt.widgets.Control |
getSeparator(org.eclipse.swt.widgets.Composite parent)
Creates or returns the created separator.
|
addFieldListener, assertCompositeNotNull, createEmptySpace, createEmptySpace, createLabelControl, createSpecificComposite, dialogFieldChanged, doFillIntoGrid, fillIntoGrid, getLabelControl, getLabelControl, getLabelControl, isEnabled, isOkToUse, refresh, removeFieldListener, setEnabled, setFocus, setLabelText, setToolTipText, updateEnableStatepublic Separator()
public Separator(int style)
style - of the separator. See Label for possible styles.public Separator(IWidgetFactory widgetFactory, int style)
public org.eclipse.swt.widgets.Control[] fillIntoGrid(org.eclipse.swt.widgets.Composite parent,
int columns,
int height)
MGridLayout.parent - The parent composite on this separator.columns - The number of columns of this separator.height - The height of this separator.protected int getNumberOfControls()
BasicFieldgetNumberOfControls in class BasicFieldpublic org.eclipse.swt.widgets.Control getSeparator(org.eclipse.swt.widgets.Composite parent)
parent - The parent composite or null if the widget has already been created.public void dispose()
IFielddispose in interface IFielddispose in class BasicField