net.sf.panoptes.model.node
Class ComponentQueryNode
java.lang.Object
|
+--net.sf.panoptes.model.node.ComponentQueryNode
- All Implemented Interfaces:
- INode
- public class ComponentQueryNode
- extends java.lang.Object
- implements INode
Represents a component query node which will list the query results
as it's children.
- Author:
- Dag Liodden
- See Also:
IComponent
,
ComponentName
,
INode
Fields inherited from interface net.sf.panoptes.model.node.INode |
ICON_BROKEN_LINK, ICON_CONNECTION, ICON_CONNECTIONS_FOLDER, ICON_DATASOURCE, ICON_DOMAIN, ICON_ERROR, ICON_FOLDER, ICON_INFO, ICON_LOG, ICON_LOG_FOLDER, ICON_MBEAN, ICON_QUERY_FOLDER, ICON_SERVER, ICON_SERVICE, ICON_SESSION, ICON_USER, ICON_WARNING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentQueryNode
public ComponentQueryNode(ComponentRegistry componentRegistry,
ComponentName query)
- Constructs a new object which will query a registry for components.
- Parameters:
componentRegistry
- the registry to queryquery
- the query
getConfigDescriptor
public NodeDescriptor getConfigDescriptor()
- Specified by:
getConfigDescriptor
in interface INode
getChildren
public INode[] getChildren()
- Specified by:
getChildren
in interface INode
getIconName
public java.lang.String getIconName()
- Specified by:
getIconName
in interface INode
setConfigDescriptor
public void setConfigDescriptor(NodeDescriptor configDescriptor)
- Sets the configDescriptor. If this is not set, the default will be used.
- Parameters:
configDescriptor
- The configDescriptor to set
acceptsChildren
public boolean acceptsChildren()
- Specified by:
acceptsChildren
in interface INode
setIconName
public void setIconName(java.lang.String iconName)
- Parameters:
iconName
-
Copyright © 2003 . All Rights Reserved.