Class Menu
java.lang.Object
net.ontopia.topicmaps.nav2.portlets.pojos.Menu
INTERNAL: This component can produce a model representing a menu
structure.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classstatic classstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateHeading(String title) Create new heading as child of this menucreateItem(String title) Create new item as child of this menuvoiddelete()Delete this menu with all headings and itemsGet the children of this Menu.booleanCheck if this Menu has children.getOwner()Get the owner of this Menu.getTitle()The title of this Menu as a String.getTopic()Get the topic of this Menu.voidSet related owner topic.voidSets the title of this Menu.
-
Constructor Details
-
Menu
-
-
Method Details
-
getTitle
The title of this Menu as a String. -
getTopic
Get the topic of this Menu. -
getOwner
Get the owner of this Menu. -
getChildren
Get the children of this Menu. -
getHasChildren
public boolean getHasChildren()Check if this Menu has children. -
setTitle
Sets the title of this Menu. -
setOwner
Set related owner topic. -
createHeading
Create new heading as child of this menu- Returns:
- The heading that was created.
-
createItem
Create new item as child of this menu- Returns:
- The item that was created.
-
delete
public void delete()Delete this menu with all headings and items
-