net.sourceforge.tapestry_jsmenu.api
Interface IStatusMessageProvider


public interface IStatusMessageProvider

This interface provides the status line message for a given menu item. An instance of this interface can be bound to the parameter statusLine of the JSCookMenu component. If there is no IStausMessageProvider bound, the link's url (if there is one) is displayed in the status bar.

Author:
Burkhard Eggers

Method Summary
 java.lang.String getStatusLine(IJSCookMenuItem item)
          provides the status line message that is displayed in the browsers status bar, whe the mouse is over the given item.
 

Method Detail

getStatusLine

java.lang.String getStatusLine(IJSCookMenuItem item)
provides the status line message that is displayed in the browsers status bar, whe the mouse is over the given item.

Parameters:
item - the given menu item
Returns:
the message to display or null if the items url is going to be displayed.