org.fusesource.web.console.client.jmx
Class TreeItemHelper
java.lang.Object
org.fusesource.web.console.client.jmx.TreeItemHelper
public class TreeItemHelper
- extends java.lang.Object
- Version:
- $Revision: 1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeItemHelper
public TreeItemHelper()
getMBeans
public static java.util.List getMBeans(com.google.gwt.user.client.ui.TreeItem node)
toMBeanArray
public static MBeanName[] toMBeanArray(java.util.List mbeanNames)
getObjectNames
public static java.lang.String[] getObjectNames(java.util.List mbeanNames)
toArray
public static MBeanAttribute[] toArray(java.util.List<MBeanAttribute> list)
addMBeansFromTree
public static void addMBeansFromTree(java.util.List mbeans,
com.google.gwt.user.client.ui.TreeItem node)
getMBeanTreeItem
public static MBeanName getMBeanTreeItem(com.google.gwt.user.client.ui.TreeItem treeTreeItem)
getChildFolders
public static java.util.List getChildFolders(com.google.gwt.user.client.ui.TreeItem node)
getChildMBeanNames
public static java.util.List<MBeanName> getChildMBeanNames(com.google.gwt.user.client.ui.TreeItem treeItem)
hasChildTreeItem
public static boolean hasChildTreeItem(com.google.gwt.user.client.ui.TreeItem node)
isChildNode
public static boolean isChildNode(com.google.gwt.user.client.ui.TreeItem root,
java.lang.String parentNode)
isBroker
public static boolean isBroker(MBeanName name)
isQueue
public static boolean isQueue(MBeanName name)
isTopic
public static boolean isTopic(MBeanName name)
getBrokerName
public static MBeanName getBrokerName(com.google.gwt.user.client.ui.TreeItem item)
toString
public static java.lang.String toString(com.google.gwt.user.client.ui.TreeItem item)
getMBeanData
public static MBeanData getMBeanData(com.google.gwt.user.client.ui.TreeItem item)
- Returns the user object of the given type or null if its not of that type
containsQueues
public static boolean containsQueues(com.google.gwt.user.client.ui.TreeItem item)
containsTopics
public static boolean containsTopics(com.google.gwt.user.client.ui.TreeItem item)
Copyright © 2009 FuseSource. All Rights Reserved.