com.tonbeller.wcf.popup
Class ItemSupport

java.lang.Object
  extended bycom.tonbeller.wcf.popup.ItemSupport
All Implemented Interfaces:
Item
Direct Known Subclasses:
GroupItemSupport, MenuItemSupport

public abstract class ItemSupport
extends java.lang.Object
implements Item


Constructor Summary
ItemSupport()
           
ItemSupport(java.lang.String label)
           
ItemSupport(java.lang.String label, java.lang.String image)
           
 
Method Summary
 java.lang.String getImage()
           
 java.lang.String getLabel()
           
 void setImage(java.lang.String image)
           
 void setLabel(java.lang.String label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemSupport

public ItemSupport()

ItemSupport

public ItemSupport(java.lang.String label)

ItemSupport

public ItemSupport(java.lang.String label,
                   java.lang.String image)
Method Detail

getImage

public java.lang.String getImage()
Specified by:
getImage in interface Item
Returns:
image of the menu entry or null. If image starts with "/" then the context will be prepended.

setImage

public void setImage(java.lang.String image)

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface Item
Returns:
visible text of the menuitem text or null

setLabel

public void setLabel(java.lang.String label)