|
||||||||||
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.Heading
public static class Menu.Heading
Field Summary | |
---|---|
protected java.util.List |
children
|
Constructor Summary | |
---|---|
Menu.Heading(TopicIF topic)
|
Method Summary | |
---|---|
Menu.Heading |
createHeading(java.lang.String title)
Create new Heading as child of this Heading |
Menu.Item |
createItem(java.lang.String title)
Create new Item as child of this Heading. |
void |
delete()
Delete this Heading with all its descendants. |
java.util.List |
getChildren()
Get the children of this Heading. |
boolean |
getHasChildren()
Check if this Heading has children. |
boolean |
getIsHeading()
Check whether this is a Heading. |
boolean |
getIsItem()
Check whether this is an Item. |
java.lang.String |
getTitle()
The title of this Heading as a String. |
TopicIF |
getTopic()
Get the topic of this Heading. |
void |
moveOneDown()
Moves this Heading one step down the list of children on its parent. |
void |
moveOneUp()
Moves this Heading one step up the list of children on its parent. |
void |
setTitle(java.lang.String title)
Sets the title of this Heading. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List children
Constructor Detail |
---|
public Menu.Heading(TopicIF topic)
Method Detail |
---|
public boolean getIsHeading()
getIsHeading
in interface Menu.ChildIF
public boolean getIsItem()
getIsItem
in interface Menu.ChildIF
public java.lang.String getTitle()
getTitle
in interface Menu.MenuObjectIF
public TopicIF getTopic()
getTopic
in interface Menu.MenuObjectIF
public java.util.List getChildren()
getChildren
in interface Menu.ParentIF
public boolean getHasChildren()
getHasChildren
in interface Menu.MenuObjectIF
public void setTitle(java.lang.String title)
setTitle
in interface Menu.MenuObjectIF
public void moveOneUp()
moveOneUp
in interface Menu.ChildIF
public void moveOneDown()
moveOneDown
in interface Menu.ChildIF
public Menu.Heading createHeading(java.lang.String title)
createHeading
in interface Menu.ParentIF
public Menu.Item createItem(java.lang.String title)
createItem
in interface Menu.ParentIF
public void delete()
delete
in interface Menu.MenuObjectIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |