Package net.officefloor.gef.ide.editor
Class AbstractItem.IdeChildrenGroup
- java.lang.Object
-
- net.officefloor.gef.ide.editor.AbstractItem.IdeChildrenGroup
-
- All Implemented Interfaces:
java.util.function.Function<M,java.util.List<? extends Model>>
- Enclosing class:
- AbstractItem<R extends Model,O,P extends Model,PE extends java.lang.Enum<PE>,M extends Model,E extends java.lang.Enum<E>>
public class AbstractItem.IdeChildrenGroup extends java.lang.Object implements java.util.function.Function<M,java.util.List<? extends Model>>
IDEChildrenGroup
.
-
-
Constructor Summary
Constructors Constructor Description IdeChildrenGroup(java.lang.String groupName, AbstractItem<R,O,M,E,?,?>... children)
Instantiate for multipleAbstractItem
instances.IdeChildrenGroup(AbstractItem<R,O,M,E,?,?> child)
Instantiate for a singleAbstractItem
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<? extends Model>
apply(M parent)
java.lang.Enum<?>[]
changeEvents()
Obtain the change events.AbstractItem<R,O,M,E,?,?>[]
getChildren()
Obtains theAbstractItem
instances for theChildrenGroup
.java.lang.String
getChildrenGroupName()
Obtains the name of theChildrenGroup
.
-
-
-
Constructor Detail
-
IdeChildrenGroup
public IdeChildrenGroup(AbstractItem<R,O,M,E,?,?> child)
Instantiate for a singleAbstractItem
.- Parameters:
child
-AbstractItem
.
-
IdeChildrenGroup
@SafeVarargs public IdeChildrenGroup(java.lang.String groupName, AbstractItem<R,O,M,E,?,?>... children)
Instantiate for multipleAbstractItem
instances.- Parameters:
groupName
- Name of the group.children
-AbstractItem
instances.
-
-
Method Detail
-
getChildrenGroupName
public java.lang.String getChildrenGroupName()
Obtains the name of theChildrenGroup
.- Returns:
- Name of the
ChildrenGroup
.
-
changeEvents
public java.lang.Enum<?>[] changeEvents()
Obtain the change events.- Returns:
- Change events.
-
getChildren
public AbstractItem<R,O,M,E,?,?>[] getChildren()
Obtains theAbstractItem
instances for theChildrenGroup
.- Returns:
AbstractItem
instances for theChildrenGroup
.
-
-