net.sourceforge.jconsole.plugins
Class NodeInformation

java.lang.Object
  |
  +--net.sourceforge.jconsole.plugins.NodeInformation
Direct Known Subclasses:
Configuration, ConfigurationFile, DatabaseInformation, PluginInformation, QueryInformation, ServerInformation, XMLDisplay, XMLNodeInformation

public abstract class NodeInformation
extends java.lang.Object
implements com.walding.swing.TreeViewHandlerInterface

Description of the Class


Constructor Summary
NodeInformation()
           
 
Method Summary
protected  void addChild(com.walding.swing.TreeViewHandlerInterface obj)
          Constructor for the addChild object
protected abstract  com.walding.swing.TreeViewHandler createTreeViewHandler(com.walding.swing.TreeViewHandlerInterface obj)
          Description of the Method
 java.util.Iterator getChildren()
          Gets the Children attribute of the DatabaseInformation object
 java.util.Observable getObservable()
           
 java.util.HashMap getProperties()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
          Retrieves a property for the server
 com.walding.swing.TreeViewHandler getTreeViewHandler()
          Gets the TreeViewHandle attribute of the ServerInformation object
 java.lang.String getType()
           
protected  void removeChild(com.walding.swing.TreeViewHandlerInterface obj)
           
 void setProperties(java.util.HashMap properties)
           
 void setProperty(java.lang.String key, java.lang.String value)
          Sets the Property attribute of the NodeInformation object
 void setType(java.lang.String value)
           
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeInformation

public NodeInformation()
Method Detail

addChild

protected void addChild(com.walding.swing.TreeViewHandlerInterface obj)
Constructor for the addChild object
Parameters:
obj - Description of Parameter

removeChild

protected void removeChild(com.walding.swing.TreeViewHandlerInterface obj)

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)
Sets the Property attribute of the NodeInformation object
Parameters:
key - The key to set the value for
value - The new property value

getProperty

public java.lang.String getProperty(java.lang.String key)

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String defaultValue)
Retrieves a property for the server
Parameters:
key - The key to lookup
defaultValue - The default value to return if no key is found.
Returns:
the associated value for the key, or defaultValue if no key exists

getTreeViewHandler

public com.walding.swing.TreeViewHandler getTreeViewHandler()
Gets the TreeViewHandle attribute of the ServerInformation object
Specified by:
getTreeViewHandler in interface com.walding.swing.TreeViewHandlerInterface
Returns:
A specific tree view handler

getChildren

public java.util.Iterator getChildren()
Gets the Children attribute of the DatabaseInformation object
Specified by:
getChildren in interface com.walding.swing.TreeViewHandlerInterface
Returns:
The Children value

createTreeViewHandler

protected abstract com.walding.swing.TreeViewHandler createTreeViewHandler(com.walding.swing.TreeViewHandlerInterface obj)
Description of the Method
Parameters:
obj - Description of Parameter
Returns:
Description of the Returned Value

setType

public void setType(java.lang.String value)

getType

public java.lang.String getType()
Specified by:
getType in interface com.walding.swing.TreeViewHandlerInterface

setProperties

public void setProperties(java.util.HashMap properties)

getProperties

public java.util.HashMap getProperties()
Specified by:
getProperties in interface com.walding.swing.TreeViewHandlerInterface

getObservable

public java.util.Observable getObservable()
Specified by:
getObservable in interface com.walding.swing.TreeViewHandlerInterface

update

public void update(java.util.Observable o,
                   java.lang.Object arg)