|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.nav2.portlets.pojos.Menu
public class Menu
INTERNAL: This component can produce a model representing a menu structure.
Nested Class Summary | |
---|---|
static interface |
Menu.ChildIF
|
static class |
Menu.Heading
|
static class |
Menu.Item
|
static interface |
Menu.MenuObjectIF
|
static interface |
Menu.ParentIF
|
Constructor Summary | |
---|---|
Menu(TopicIF topic)
|
Method Summary | |
---|---|
Menu.Heading |
createHeading(java.lang.String title)
Create new heading as child of this menu |
Menu.Item |
createItem(java.lang.String title)
Create new item as child of this menu |
void |
delete()
Delete this menu with all headings and items |
java.util.List |
getChildren()
Get the children of this Menu. |
boolean |
getHasChildren()
Check if this Menu has children. |
TopicIF |
getOwner()
Get the owner of this Menu. |
java.lang.String |
getTitle()
The title of this Menu as a String. |
TopicIF |
getTopic()
Get the topic of this Menu. |
void |
setOwner(TopicIF owner)
Set related owner topic. |
void |
setTitle(java.lang.String title)
Sets the title of this Menu. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Menu(TopicIF topic)
Method Detail |
---|
public java.lang.String getTitle()
public TopicIF getTopic()
public TopicIF getOwner()
public java.util.List getChildren()
public boolean getHasChildren()
public void setTitle(java.lang.String title)
public void setOwner(TopicIF owner)
public Menu.Heading createHeading(java.lang.String title)
public Menu.Item createItem(java.lang.String title)
public void delete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |