public class ControlBuilderImpl extends Object implements ControlBuilder, ControlConstants
A ControlBuilder
implementation.
FIELD_ARCHITECTURE, FIELD_BREAKS, FIELD_BUGS, FIELD_BUILT_USING, FIELD_CONFLICTS, FIELD_DEPENDS, FIELD_DESCRIPTION, FIELD_ENHANCES, FIELD_ESSENTIAL, FIELD_HOMEPAGE, FIELD_INSTALLED_SIZE, FIELD_MAINTAINER, FIELD_MODALIASES, FIELD_MULTI_ARCH, FIELD_ORIG_MAINTAINER, FIELD_ORIGIN, FIELD_ORIGINAL_MAINTAINER, FIELD_PACKAGE, FIELD_PRE_DEPENDS, FIELD_PRIORITY, FIELD_PROVIDES, FIELD_PYTHON_VERSION, FIELD_RECOMMENDS, FIELD_REPLACES, FIELD_SECTION, FIELD_SOURCE, FIELD_SUGGESTS, FIELD_TAG, FIELD_VERSION
UTF_8, UTF_8_CHARSET
Constructor and Description |
---|
ControlBuilderImpl()
Creates a builder.
|
Modifier and Type | Method and Description |
---|---|
void |
buildControl(Control control,
DataTarget target,
Context context)
Builds the control into the specified target.
|
void |
buildControl(Control control,
Size installedSize,
DataTarget target,
Context context)
Builds the control into the specified target using the specified
installed size.
|
public void buildControl(Control control, DataTarget target, Context context) throws IOException, BuildException
ControlBuilder
Builds the control into the specified target.
buildControl
in interface ControlBuilder
control
- The control.target
- The target.context
- The context.IOException
- If an I/O error occurs.BuildException
- If an error occurs during the building.public void buildControl(Control control, Size installedSize, DataTarget target, Context context) throws IOException, BuildException
ControlBuilder
Builds the control into the specified target using the specified installed size.
buildControl
in interface ControlBuilder
control
- The control.installedSize
- The installed size.target
- The target.context
- The context.IOException
- If an I/O error occurs.BuildException
- If an error occurs during the building.Copyright © 2015–2019. All rights reserved.