Interface IDefinition

All Superinterfaces:
IComponentFactory
All Known Subinterfaces:
IContainerDefinition, IDtGranularEditorManagingDefinition, IExtendedFieldDefinition, IFieldDefinition, ILabeledDefinition, IManagingDefinition, IOperationFieldDefinition
All Known Implementing Classes:
AbstractDefinition, ContainerDefinition, DtGranularEditorManagingDefinition, ExtendedFieldDefinition, FieldDefinition, LabeledDefinition, ManagingDefinition, OperationFieldDefinition, SectionDefinition, SeparatorDefinition, StringFieldDefinition

public interface IDefinition extends IComponentFactory
An object capable of creating AEF2 components and returning specific information for using these components in the infrastructure of AEF2 scenes (including layout data and component search identifiers). Definitions support hierarchy.
See Also:
Restriction:
Restriction:
  • Method Details

    • getComponentClass

      Class<? extends IComponent<?>> getComponentClass()
      Returns the class of the component that was created using this definition last time.
      Returns:
      the class of the AEF component created by this definition last time, may be null if the component was never created.
    • getLayoutData

      IAefLayoutData getLayoutData()
      Returns the layout data object that is expected to be applied to the component created by this definition.
      Returns:
      the layout data, may be null.
    • getParent

      IDefinition getParent()
      Returns the parent definition.
      Returns:
      the parent definition, may be null if the definition has no parent.
    • getParametrization

      IParameterization getParametrization()
      Returns parameterization for component.
      Returns:
      the parameterization, may be null.
    • getId

      Returns the identifier of this definition.
      Returns:
      the identifier of the definition, may be null.