| java.lang.Object org.openi.menu.MenuItem
MenuItem | public class MenuItem implements Serializable(Code) | | author: plucas author: Revision: author: Ver 1.1 Uddhab Pant - Feb 18,2005 author: Renamed MenuNode class to MenuItem as followed Java convention author: for Menu and MenuItem. Removed childNodes since Menu Item author: doesn't have childs. Only Menu contains childs. |
MenuItem | public MenuItem()(Code) | | Default constuctor
|
MenuItem | public MenuItem(String idItem, String displayName, String url)(Code) | | Constructs menu item with display name.
Parameters: displayName - Stringpublic MenuItem(String displayName) {this.displayName = displayName;} |
getDisplayName | public String getDisplayName()(Code) | | Returns the displayName. If is empty, returns the id |
getPermissions | public String getPermissions()(Code) | | returns list of rights that are allowed to access this menu item
|
getRawDisplayName | public String getRawDisplayName()(Code) | | Returns the displayName. |
getTarget | public String getTarget()(Code) | | Returns the target. |
setDisplayName | public void setDisplayName(String displayName)(Code) | | Parameters: displayName - The displayName to set. |
setPermissions | public void setPermissions(String permissions)(Code) | | sets list of rights that are allowed to access this menu item
|
setTarget | public void setTarget(String target)(Code) | | Parameters: target - The target to set. |
setUrl | public void setUrl(String url)(Code) | | Parameters: url - The url to set. |
|
|