| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuTreeInfoCtrl
MenuTree providers choose to implement the MenuTreeInfoCtrl interface if they support to receive a copy of individual menu nodes from a different MenuTree implementation (ie if the tree is able to be the destination of a copy operation) and to modify MenuNode information. In order to support a per-node copy operation and modification of MenuNode information, the object returned by MenuProvider.getMenu(com.ibm.wps.portlet.menu.MenuContext) implements the MenuTreeInfoCtrl interface besides the MenuTree interface.
This interface is designed to be implemented by clients. |
Method Summary | |
---|---|
void | addActionParameter(java.lang.String name,
java.lang.String value,
MenuNode node)
Deprecated. Defines the action parameter name - value pair associated with the tree node. |
void | clearActionParameters(MenuNode node)
Deprecated. Deletes all action parameter name - value pairs associated with the tree node. |
void | setAction(java.lang.String name,
MenuNode node)
Deprecated. Defines the action associated with the tree node. |
void | setInformation(java.util.Locale locale,
java.lang.String title,
java.lang.String description,
MenuNode node)
Deprecated. Sets title and descriptionof a menu tree node in a specific locale. |
void | setURL(java.lang.String url,
MenuNode node)
Deprecated. Defines a custom URL address. |
Method Detail |
---|
void setInformation(java.util.Locale locale, java.lang.String title, java.lang.String description, MenuNode node)
Sets title and descriptionof a menu tree node in a specific locale.
The locale must comprise the locale of the request which is defined in the environment language settings of the browser. The locale of the request is returned from request.getLocale().
Example: If the locale of the request is en_US, the locale of the node can be en or en_US. If the locale of the request is en_US and the locale of the node is en_GB, the methods getTitle() and getDescription() return null values.
void setAction(java.lang.String name, MenuNode node)
void addActionParameter(java.lang.String name, java.lang.String value, MenuNode node)
void clearActionParameters(MenuNode node)
void setURL(java.lang.String url, MenuNode node)
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |