org.mentawai.tag.html.dyntag.menu
Class MenuElement

java.lang.Object
  extended by org.mentawai.tag.html.dyntag.menu.MenuElement

public class MenuElement
extends Object

Author:
Robert Willian

Field Summary
static String TARGET_BLANK
           
static String TARGET_PARENT
           
static String TARGET_SELF
           
static String TARGET_TOP
           
 
Constructor Summary
MenuElement()
           
MenuElement(String text, String href)
           
MenuElement(String text, String href, String target)
           
 
Method Summary
 void add(MenuElement menuElement)
           
 Set<MenuElement> getChilds()
           
 String getHref()
           
 String getTarget()
           
 String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET_BLANK

public static final String TARGET_BLANK
See Also:
Constant Field Values

TARGET_SELF

public static final String TARGET_SELF
See Also:
Constant Field Values

TARGET_PARENT

public static final String TARGET_PARENT
See Also:
Constant Field Values

TARGET_TOP

public static final String TARGET_TOP
See Also:
Constant Field Values
Constructor Detail

MenuElement

public MenuElement()

MenuElement

public MenuElement(String text,
                   String href)

MenuElement

public MenuElement(String text,
                   String href,
                   String target)
Method Detail

add

public void add(MenuElement menuElement)

getChilds

public Set<MenuElement> getChilds()
Returns:
the childs

getHref

public String getHref()
Returns:
the href

getText

public String getText()
Returns:
the text

getTarget

public String getTarget()


Copyright © 2012. All Rights Reserved.