|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.nav2.portlets.pojos.Menu.Item
public static class Menu.Item
| Field Summary | |
|---|---|
protected TopicIF |
associatedTopic
|
protected boolean |
condition
|
protected java.lang.String |
conditionString
|
protected java.lang.String |
image
|
protected java.lang.String |
link
|
| Constructor Summary | |
|---|---|
Menu.Item(TopicIF topic)
Create a new Item, represented by the given topic. |
|
| Method Summary | |
|---|---|
void |
delete()
Delete this Item. |
TopicIF |
getAssociatedTopic()
Get the associated topic of this Item. |
java.lang.String |
getCondition()
Get the condition occurrence value as a String. |
boolean |
getConditionTrue()
Check the condition of this Item. |
boolean |
getHasChildren()
Check if this Item has children. |
java.lang.String |
getImage()
Get the image occurrence as a String. |
boolean |
getIsHeading()
Check whether this Item is a Heading. |
boolean |
getIsItem()
Check whether this is an Item. |
java.lang.String |
getLink()
The link occurrence as a String. |
java.lang.String |
getTitle()
Get the title of this Item as a String. |
TopicIF |
getTopic()
Get the topic of this Item. |
void |
moveOneDown()
Moves this item one step further down the list of children on its parent. |
void |
moveOneUp()
Moves this item one step higher up the list of children on its parent. |
void |
setAssociatedTopic(TopicIF topic)
Set the associated topic. |
void |
setCondition(java.lang.String condition)
Set the condition occurrence value. |
void |
setImage(java.lang.String image)
Set the image occurrence value. |
void |
setLink(java.lang.String link)
Set the link occurrence value. |
void |
setTitle(java.lang.String title)
Sets the title of the Item topic. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TopicIF associatedTopic
protected java.lang.String link
protected java.lang.String image
protected java.lang.String conditionString
protected boolean condition
| Constructor Detail |
|---|
public Menu.Item(TopicIF topic)
| Method Detail |
|---|
public boolean getIsHeading()
getIsHeading in interface Menu.ChildIFpublic boolean getIsItem()
getIsItem in interface Menu.ChildIFpublic java.lang.String getTitle()
getTitle in interface Menu.MenuObjectIFpublic TopicIF getAssociatedTopic()
public TopicIF getTopic()
getTopic in interface Menu.MenuObjectIFpublic java.lang.String getLink()
public java.lang.String getImage()
public boolean getHasChildren()
getHasChildren in interface Menu.MenuObjectIFpublic boolean getConditionTrue()
public void setTitle(java.lang.String title)
setTitle in interface Menu.MenuObjectIFpublic void setAssociatedTopic(TopicIF topic)
public void setLink(java.lang.String link)
public void setImage(java.lang.String image)
public java.lang.String getCondition()
public void setCondition(java.lang.String condition)
public void moveOneUp()
moveOneUp in interface Menu.ChildIFpublic void moveOneDown()
moveOneDown in interface Menu.ChildIFpublic void delete()
delete in interface Menu.MenuObjectIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||