org.wicketstuff.yui.markup.html.menu2.contextMenu
Class AbstractMenuItem

java.lang.Object
  extended by org.wicketstuff.yui.markup.html.menu2.contextMenu.AbstractMenuItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Menu, MenuItem

public abstract class AbstractMenuItem
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
protected AbstractMenuItem(String id)
           
protected AbstractMenuItem(String id, String text)
           
 
Method Summary
abstract  String getItemData(YuiContextMenuBehavior behavior)
           
protected  String getMenuId()
           
 String getPathToRoot()
           
 String getText()
           
 boolean isDisabled()
           
 void setDisabled(boolean disabled)
           
 void setText(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMenuItem

protected AbstractMenuItem(String id)

AbstractMenuItem

protected AbstractMenuItem(String id,
                           String text)
Method Detail

getPathToRoot

public String getPathToRoot()

getMenuId

protected String getMenuId()

getText

public String getText()

setText

public void setText(String text)

isDisabled

public boolean isDisabled()

setDisabled

public void setDisabled(boolean disabled)

getItemData

public abstract String getItemData(YuiContextMenuBehavior behavior)


Copyright © 2006-2012 Wicket developers. All Rights Reserved.