org.rhq.enterprise.server.perspective
Class MenuItem
java.lang.Object
org.rhq.enterprise.server.perspective.Extension
org.rhq.enterprise.server.perspective.RenderedExtension
org.rhq.enterprise.server.perspective.MenuItem
- All Implemented Interfaces:
- Serializable, Cloneable
public class MenuItem
- extends RenderedExtension
- implements Serializable, Cloneable
An item in the RHQ GUI's menu.
- See Also:
- Serialized Form
MenuItem
public MenuItem(MenuItemType rawMenuItem,
String perspectiveName)
getFeature
public MenuItemFeatureType getFeature()
isNewWindow
public boolean isNewWindow()
isAddBreak
public boolean isAddBreak()
getChildren
@NotNull
public List<MenuItem> getChildren()
setChildren
public void setChildren(List<MenuItem> children)
isMenuGroup
public boolean isMenuGroup()
isGraphic
public boolean isGraphic()
clone
protected Object clone()
throws CloneNotSupportedException
- Note that this will clone the children list but not the child MenuItem objects themselves.
- Overrides:
clone in class Object
- Throws:
CloneNotSupportedException- See Also:
Object.clone()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.