Interface IComponentFactory

All Known Subinterfaces:
IContainerDefinition, IDefinition, IDtGranularEditorManagingDefinition, IExtendedFieldDefinition, IFieldDefinition, ILabeledDefinition, IManagingDefinition, IOperationFieldDefinition
All Known Implementing Classes:
AbstractDefinition, CommandActionComponentFactory, ContainerDefinition, DtGranularEditorManagingDefinition, EventHandlerCollectionComponentFactory, ExtendedFieldDefinition, FieldDefinition, GraphicalSchemeFigureDescriptor.GraphicalSchemePictureComponentFactory, GraphicalSchemeItemDescriptor.GraphicalSchemeLineComponentFactory, LabeledDefinition, ManagingDefinition, OperationFieldDefinition, SectionDefinition, SeparatorDefinition, StringFieldDefinition
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IComponentFactory
A factory for creation of components with one or more Objects as input.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a component with the specified EObjects as input.
  • Method Details

    • createComponent

      IComponent<?> createComponent(Object[] objects)
      Creates a component with the specified EObjects as input.
      Parameters:
      objects - the EObjects comprising the input of the definition, may be null
      Returns:
      a component, never null