net.sf.panoptes.model.component
Class Component

java.lang.Object
  |
  +--net.sf.panoptes.model.node.Node
        |
        +--net.sf.panoptes.model.component.Component
Direct Known Subclasses:
ComponentGroup, ComponentQuery, JMXDiscoveryComponent, LoggerComponent, MBeanComponent

public abstract class Component
extends Node

Abstract class that must be subclassed by Components.

Version:
0.1
Author:
Dag Liodden
See Also:
Component

Field Summary
 
Fields inherited from class net.sf.panoptes.model.node.Node
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
Component()
           
 
Method Summary
 boolean acceptsChildren()
           
 Node[] getChildren()
           
 ComponentName getComponentName()
           
 ComponentRegistry getComponentRegistry()
           
 java.lang.String[] getConfiguratorScripts()
           
abstract  void init()
          Called when the Component has had all it's attributes set and should be ready for initialization.
 void setComponentName(ComponentName name)
          Called by the ComponentRegistry when it registers the component.
 void setComponentRegistry(ComponentRegistry registry)
           
 
Methods inherited from class net.sf.panoptes.model.node.Node
addUpdateListener, createImage, getConfigDescriptor, getIcon, notifyListeners, removeUpdateListener, setConfigDescriptor, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Component

public Component()
Method Detail

setComponentRegistry

public void setComponentRegistry(ComponentRegistry registry)

getComponentRegistry

public ComponentRegistry getComponentRegistry()

init

public abstract void init()
Called when the Component has had all it's attributes set and should be ready for initialization.


getChildren

public Node[] getChildren()
Specified by:
getChildren in class Node

acceptsChildren

public boolean acceptsChildren()
Specified by:
acceptsChildren in class Node

getConfiguratorScripts

public java.lang.String[] getConfiguratorScripts()
Specified by:
getConfiguratorScripts in class Node

setComponentName

public void setComponentName(ComponentName name)
Called by the ComponentRegistry when it registers the component.

Parameters:
name -

getComponentName

public ComponentName getComponentName()


Copyright © 2003 . All Rights Reserved.