Class ContainerDefinition
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.AbstractDefinition
- 
- com._1c.g5.aef2.standard.definitions.ContainerDefinition
 
 
- 
- All Implemented Interfaces:
- IComponentFactory,- IContainerDefinition,- IDefinition
 - Direct Known Subclasses:
- ManagingDefinition,- SectionDefinition
 
 public class ContainerDefinition extends AbstractDefinition implements IContainerDefinition The container definition that keeps other definitions.
- 
- 
Constructor SummaryConstructors Constructor Description ContainerDefinition(Class<? extends ContainerComponent<?,?>> componentClass, IParameterization parameterization)Creates a new instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDefinition(int index, IDefinition definition)Inserts the specified definition at the specified position.voidaddDefinition(IDefinition definition)Adds the specified definition at the end of the container.List<IDefinition>getChildren()Returns children of the container.IAefLayoutgetLayout()Returns the layout object.voidremoveDefinition(int index)Removes the definition from the container.voidremoveDefinition(IDefinition definition)Removes the specified definition from the container.voidsetLayout(IAefLayout layout)Sets the layout object.- 
Methods inherited from class com._1c.g5.aef2.standard.definitions.AbstractDefinitioncreateComponent, equals, getComponentClass, getConstructor, getId, getLayoutData, getParametrization, getParent, hashCode, setComponentClass, setComponentFactory, setLayoutData, setModelFactory, setParameterization, setParent
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IComponentFactorycreateComponent
 - 
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IDefinitiongetComponentClass, getId, getLayoutData, getParametrization, getParent
 
- 
 
- 
- 
- 
Constructor Detail- 
ContainerDefinitionpublic ContainerDefinition(Class<? extends ContainerComponent<?,?>> componentClass, IParameterization parameterization) Creates a new instance.- Parameters:
- componentClass- the class of the container component.
- parameterization- the parameterization.
 
 
- 
 - 
Method Detail- 
addDefinitionpublic 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- IDefinitioninstance.
 
 - 
addDefinitionpublic void addDefinition(IDefinition definition) Adds the specified definition at the end of the container.- Parameters:
- definition- the- IDefinitioninstance.
 
 - 
removeDefinitionpublic void removeDefinition(int index) Removes the definition from the container.- Parameters:
- index- the index of the definition to be removed.
 
 - 
removeDefinitionpublic void removeDefinition(IDefinition definition) Removes the specified definition from the container.- Parameters:
- definition- the- IDefinitioninstance.
 
 - 
getChildrenpublic List<IDefinition> getChildren() Description copied from interface:IContainerDefinitionReturns children of the container.- Specified by:
- getChildrenin interface- IContainerDefinition
- Returns:
- child definitions.
 
 - 
setLayoutpublic void setLayout(IAefLayout layout) Sets the layout object.- Parameters:
- layout- the layout.
 
 - 
getLayoutpublic IAefLayout getLayout() Description copied from interface:IContainerDefinitionReturns the layout object.- Specified by:
- getLayoutin interface- IContainerDefinition
- Returns:
- the layout object.
 
 
- 
 
-