Liferay 6.0.5

com.liferay.portal.theme
Class NavItem

java.lang.Object
  extended by com.liferay.portal.theme.NavItem
All Implemented Interfaces:
Serializable

public class NavItem
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
NavItem(RequestVars vars, Layout layout)
           
 
Method Summary
static NavItem fromLayout(RequestVars vars, Layout layout)
           
static List<NavItem> fromLayouts(RequestVars vars, List<Layout> layouts)
           
 List<NavItem> getChildren()
           
 Layout getLayout()
           
 String getName()
           
 String getRegularURL()
           
 String getResetLayoutURL()
           
 String getResetMaxStateURL()
           
 String getTarget()
           
 String getTitle()
           
 String getURL()
           
 boolean hasChildren()
           
 void icon()
           
 boolean isChildSelected()
           
 boolean isSelected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavItem

public NavItem(RequestVars vars,
               Layout layout)
Method Detail

fromLayout

public static NavItem fromLayout(RequestVars vars,
                                 Layout layout)

fromLayouts

public static List<NavItem> fromLayouts(RequestVars vars,
                                        List<Layout> layouts)

getLayout

public Layout getLayout()

isChildSelected

public boolean isChildSelected()
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

isSelected

public boolean isSelected()

getName

public String getName()

getTarget

public String getTarget()

getTitle

public String getTitle()

getURL

public String getURL()
              throws Exception
Throws:
Exception

getRegularURL

public String getRegularURL()
                     throws Exception
Throws:
Exception

getResetMaxStateURL

public String getResetMaxStateURL()
                           throws Exception
Throws:
Exception

getResetLayoutURL

public String getResetLayoutURL()
                         throws Exception
Throws:
Exception

getChildren

public List<NavItem> getChildren()
                          throws Exception
Throws:
Exception

hasChildren

public boolean hasChildren()
                    throws Exception
Throws:
Exception

icon

public void icon()
          throws Exception
Throws:
Exception

Liferay 6.0.5