public class BlankField extends TemplateOption
Constructor and Description |
---|
BlankField(BaseOptionTemplateSection section)
The default constructor.
|
BlankField(BaseOptionTemplateSection section,
int height)
Overloaded constructor to specify the height of the blank field.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(Composite parent,
int span)
Creates a blank field using a label widget.
|
getMessageLabel, getName, getValue, isEmpty, isEnabled, isRequired, setEnabled, setName, setRequired, setValue
createLabel, getLabel, getSection, setLabel
public BlankField(BaseOptionTemplateSection section)
section
- the parent sectionpublic BlankField(BaseOptionTemplateSection section, int height)
section
- the parent sectionheight
- specifies the height of the blank field in pixelspublic void createControl(Composite parent, int span)
createControl
in class TemplateField
parent
- parent composite of the blank labelspan
- the number of columns that the widget should span
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.