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

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

public class MenuElement
extends java.lang.Object

Author:
Robert Willian

Field Summary
static java.lang.String TARGET_BLANK
           
static java.lang.String TARGET_PARENT
           
static java.lang.String TARGET_SELF
           
static java.lang.String TARGET_TOP
           
 
Constructor Summary
MenuElement()
           
MenuElement(java.lang.String text, java.lang.String href)
           
MenuElement(java.lang.String text, java.lang.String href, java.lang.String target)
           
 
Method Summary
 void add(MenuElement menuElement)
           
 java.util.Set<MenuElement> getChilds()
           
 java.lang.String getHref()
           
 java.lang.String getTarget()
           
 java.lang.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 java.lang.String TARGET_BLANK
See Also:
Constant Field Values

TARGET_SELF

public static final java.lang.String TARGET_SELF
See Also:
Constant Field Values

TARGET_PARENT

public static final java.lang.String TARGET_PARENT
See Also:
Constant Field Values

TARGET_TOP

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

MenuElement

public MenuElement()

MenuElement

public MenuElement(java.lang.String text,
                   java.lang.String href)

MenuElement

public MenuElement(java.lang.String text,
                   java.lang.String href,
                   java.lang.String target)
Method Detail

add

public void add(MenuElement menuElement)

getChilds

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

getHref

public java.lang.String getHref()
Returns:
the href

getText

public java.lang.String getText()
Returns:
the text

getTarget

public java.lang.String getTarget()


Copyright © 2005 Mentawai Team. All Rights Reserved.