info.magnolia.module.admininterface
Class Navigation

java.lang.Object
  extended by info.magnolia.module.admininterface.Navigation

public class Navigation
extends Object

This class is used to create the menud

Version:
$Revision$ ($Author$)
Author:
Philipp Bracher

Constructor Summary
Navigation(String path, String jsName)
           
 
Method Summary
 String getFirstId()
          Get the first onclick in this menu.
 String getJavascript()
          Generate the code to initialize the js navigation
protected  Object getLabel(Content mp)
           
protected  boolean isMenuPointRendered(Content mp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Navigation

public Navigation(String path,
                  String jsName)
Parameters:
path - the path to the menu
Method Detail

getJavascript

public String getJavascript()
Generate the code to initialize the js navigation

Returns:
the javascript

getLabel

protected Object getLabel(Content mp)
Parameters:
mp -
Returns:

isMenuPointRendered

protected boolean isMenuPointRendered(Content mp)
Parameters:
mp -
Returns:

getFirstId

public String getFirstId()
Get the first onclick in this menu. Used as the default src in the content iframe

Returns:
the href


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.