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

Field Summary
 
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
 
Constructor Summary
ComponentQueryNode(ComponentRegistry componentRegistry, ComponentName query)
          Constructs a new object which will query a registry for components.
 
Method Summary
 boolean acceptsChildren()
           
 INode[] getChildren()
           
 NodeDescriptor getConfigDescriptor()
           
 java.lang.String getIconName()
           
 void setConfigDescriptor(NodeDescriptor configDescriptor)
          Sets the configDescriptor.
 void setIconName(java.lang.String iconName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentQueryNode

public ComponentQueryNode(ComponentRegistry componentRegistry,
                          ComponentName query)
Constructs a new object which will query a registry for components.

Parameters:
componentRegistry - the registry to query
query - the query
Method Detail

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.