org.zeroexchange.web.navigation.menu.model
Class MenuItem

java.lang.Object
  extended by org.zeroexchange.web.navigation.menu.model.MenuItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Leaf, Submenu

public abstract class MenuItem
extends Object
implements Serializable

Author:
black
See Also:
Serialized Form

Constructor Summary
MenuItem()
           
 
Method Summary
 String getDecorator()
           
 Leaf getFirstLeaf()
          Returns first leaf for the item.
 String getImage()
           
 String getKey()
           
 String getRenderer()
           
 void setDecorator(String decorator)
           
 void setImage(String image)
           
 void setKey(String key)
           
 void setRenderer(String renderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuItem

public MenuItem()
Method Detail

getKey

public String getKey()
Returns:
the key

setKey

public void setKey(String key)
Parameters:
key - the key to set

getImage

public String getImage()
Returns:
the image

setImage

public void setImage(String image)
Parameters:
image - the image to set

getRenderer

public String getRenderer()
Returns:
the renderer

setRenderer

public void setRenderer(String renderer)
Parameters:
renderer - the renderer to set

getDecorator

public String getDecorator()
Returns:
the decorator

setDecorator

public void setDecorator(String decorator)
Parameters:
decorator - the decorator to set

getFirstLeaf

public Leaf getFirstLeaf()
Returns first leaf for the item.



Copyright © 2013. All Rights Reserved.