Package org.dashbuilder.navigation.impl
Class NavGroupImpl
- java.lang.Object
-
- org.dashbuilder.navigation.impl.NavItemImpl
-
- org.dashbuilder.navigation.impl.NavGroupImpl
-
@Portable public class NavGroupImpl extends NavItemImpl implements NavGroup
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.dashbuilder.navigation.NavItem
NavItem.Type
-
-
Constructor Summary
Constructors Constructor Description NavGroupImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(NavItemVisitor visitor)Entry point for visitor interfacesNavItemcloneItem()Creates a brand new copy of this itemList<NavItem>getChildren()Get the children itemsvoidsetChildren(List<NavItem> children)Change the children listStringtoString()-
Methods inherited from class org.dashbuilder.navigation.impl.NavItemImpl
equals, getContext, getDescription, getId, getName, getParent, getType, isModifiable, setContext, setDescription, setId, setModifiable, setName, setParent, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.dashbuilder.navigation.NavItem
getContext, getDescription, getId, getName, getParent, getType, isModifiable, setContext, setDescription, setId, setModifiable, setName, setParent
-
-
-
-
Method Detail
-
getChildren
public List<NavItem> getChildren()
Description copied from interface:NavGroupGet the children items- Specified by:
getChildrenin interfaceNavGroup
-
setChildren
public void setChildren(List<NavItem> children)
Description copied from interface:NavGroupChange the children list- Specified by:
setChildrenin interfaceNavGroup
-
accept
public void accept(NavItemVisitor visitor)
Description copied from interface:NavItemEntry point for visitor interfaces- Specified by:
acceptin interfaceNavItem- Overrides:
acceptin classNavItemImpl
-
cloneItem
public NavItem cloneItem()
Description copied from interface:NavItemCreates a brand new copy of this item- Specified by:
cloneItemin interfaceNavItem- Overrides:
cloneItemin classNavItemImpl
-
toString
public String toString()
- Overrides:
toStringin classNavItemImpl
-
-