Package org.eclipse.jface.widgets
Class AbstractCompositeFactory<F extends AbstractCompositeFactory<?,?>,C extends Composite>
java.lang.Object
org.eclipse.jface.widgets.AbstractWidgetFactory<F,C,Composite>
org.eclipse.jface.widgets.AbstractControlFactory<F,C>
org.eclipse.jface.widgets.AbstractCompositeFactory<F,C>
- Type Parameters:
F
- factoryC
- control
- Direct Known Subclasses:
BrowserFactory
,CompositeFactory
,GroupFactory
,SectionFactory
,ShellFactory
@NoExtend
public abstract class AbstractCompositeFactory<F extends AbstractCompositeFactory<?,?>,C extends Composite>
extends AbstractControlFactory<F,C>
Abstract factory for composites. Factories for widgets that inherit from
Composite should extend this factory to handle the properties of Composite
itself, like layout.
- Since:
- 3.18
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractCompositeFactory
(Class<F> factoryClass, WidgetSupplier<C, Composite> controlCreator) -
Method Summary
Methods inherited from class org.eclipse.jface.widgets.AbstractControlFactory
background, enabled, font, foreground, layoutData, orientation, supplyLayoutData, tooltip
Methods inherited from class org.eclipse.jface.widgets.AbstractWidgetFactory
addProperty, cast, create, data, data
-
Constructor Details
-
AbstractCompositeFactory
protected AbstractCompositeFactory(Class<F> factoryClass, WidgetSupplier<C, Composite> controlCreator)
-
-
Method Details
-
layout
Sets the layout which is associated with the receiver to be the argument which may be null.- Parameters:
layout
- the receiver's layout or null- Returns:
- this
- See Also:
-