Class ContainerDefinition

    • Constructor Detail

      • ContainerDefinition

        public ContainerDefinition​(Class<? extends ContainerComponent<?,​?>> componentClass,
                                   IParameterization parameterization)
        Creates a new instance.
        Parameters:
        componentClass - the class of the container component.
        parameterization - the parameterization.
    • Method Detail

      • addDefinition

        public void addDefinition​(int index,
                                  IDefinition definition)
        Inserts the specified definition at the specified position.
        Parameters:
        index - the index at which the specified definition is to be inserted.
        definition - the IDefinition instance.
      • addDefinition

        public void addDefinition​(IDefinition definition)
        Adds the specified definition at the end of the container.
        Parameters:
        definition - the IDefinition instance.
      • removeDefinition

        public void removeDefinition​(int index)
        Removes the definition from the container.
        Parameters:
        index - the index of the definition to be removed.
      • removeDefinition

        public void removeDefinition​(IDefinition definition)
        Removes the specified definition from the container.
        Parameters:
        definition - the IDefinition instance.
      • setLayout

        public void setLayout​(IAefLayout layout)
        Sets the layout object.
        Parameters:
        layout - the layout.