Nuxeo Enterprise Platform 5.1

org.nuxeo.theme.models
Class MenuItem

java.lang.Object
  extended by org.nuxeo.theme.nodes.AbstractNode
      extended by org.nuxeo.theme.models.AbstractModel
          extended by org.nuxeo.theme.models.MenuItem
All Implemented Interfaces:
Model, Node

public class MenuItem
extends AbstractModel


Constructor Summary
MenuItem(String title, String description, String url, boolean selected, String icon)
           
 
Method Summary
 String getDescription()
           
 String getIcon()
           
 String getModelTypeName()
           
 NodeTypeFamily getNodeTypeFamily()
           
 String getTitle()
           
 String getUrl()
           
 boolean isSelected()
           
 void setDescription(String description)
           
 void setIcon(String icon)
           
 void setSelected(boolean selected)
           
 void setTitle(String title)
           
 void setUrl(String url)
           
 
Methods inherited from class org.nuxeo.theme.models.AbstractModel
getModelType
 
Methods inherited from class org.nuxeo.theme.nodes.AbstractNode
addChild, clearParent, collectDescendants, getChildren, getDescendants, getNextNode, getOrder, getParent, getPreviousNode, hasChildren, hasSiblings, insertAfter, isChildOf, isLeaf, moveTo, removeChild, removeDescendants, setChildren, setOrder, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuItem

public MenuItem(String title,
                String description,
                String url,
                boolean selected,
                String icon)
Method Detail

getModelTypeName

public String getModelTypeName()
Specified by:
getModelTypeName in class AbstractModel

getNodeTypeFamily

public NodeTypeFamily getNodeTypeFamily()
Specified by:
getNodeTypeFamily in interface Node
Specified by:
getNodeTypeFamily in class AbstractNode

getIcon

public String getIcon()

setIcon

public void setIcon(String icon)

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean selected)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.