info.magnolia.module.admininterface
Class Navigation
java.lang.Object
info.magnolia.module.admininterface.Navigation
public class Navigation
- extends java.lang.Object
This class is used to create the menud
- Version:
- $Revision: 41137 $ ($Author: gjoseph $)
- Author:
- Philipp Bracher
Constructor Summary |
Navigation(java.lang.String path,
java.lang.String jsName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Navigation
public Navigation(java.lang.String path,
java.lang.String jsName)
- Parameters:
path
- the path to the menu
getJavascript
public java.lang.String getJavascript()
- Generate the code to initialize the js navigation
- Returns:
- the javascript
getLabel
protected java.lang.Object getLabel(Content mp)
- Parameters:
mp
-
- Returns:
isMenuPointRendered
protected boolean isMenuPointRendered(Content mp)
- Parameters:
mp
-
- Returns:
getFirstId
public java.lang.String getFirstId()
- Get the first onclick in this menu. Used as the default src in the content iframe
- Returns:
- the href
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.