org.rhq.enterprise.server.perspective
Class MenuItem

java.lang.Object
  extended by org.rhq.enterprise.server.perspective.Extension
      extended by org.rhq.enterprise.server.perspective.RenderedExtension
          extended by 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

Field Summary
 
Fields inherited from class org.rhq.enterprise.server.perspective.Extension
debugMode, name, perspectiveName, url
 
Constructor Summary
MenuItem(MenuItemType rawMenuItem, String perspectiveName)
           
 
Method Summary
protected  Object clone()
          Note that this will clone the children list but not the child MenuItem objects themselves.
 List<MenuItem> getChildren()
           
 MenuItemFeatureType getFeature()
           
 boolean isAddBreak()
           
 boolean isGraphic()
           
 boolean isMenuGroup()
           
 boolean isNewWindow()
           
 void setChildren(List<MenuItem> children)
           
 
Methods inherited from class org.rhq.enterprise.server.perspective.RenderedExtension
getDisplayName, getIconUrl, toString
 
Methods inherited from class org.rhq.enterprise.server.perspective.Extension
equals, getActivators, getName, getPerspectiveName, getUrl, hashCode, isDebugMode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MenuItem

public MenuItem(MenuItemType rawMenuItem,
                String perspectiveName)
Method Detail

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.