org.iids.aos.gui.structs
Class AgentServer

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.iids.aos.gui.structs.Struct
          extended by org.iids.aos.gui.structs.HostService
              extended by org.iids.aos.gui.structs.AgentServer
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class AgentServer
extends HostService

Author:
rjtimmer
See Also:
Serialized Form

Field Summary
static java.lang.Class<? extends Struct> AS_CHILD_CLASS
           
 
Fields inherited from class org.iids.aos.gui.structs.HostService
CHILD_CLASS
 
Fields inherited from class org.iids.aos.gui.structs.Struct
children, name, parent
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, EMPTY_ENUMERATION, userObject
 
Constructor Summary
AgentServer(java.lang.String name, Host parent, AgentServerWrapper asw)
          Creates a new instance of AgentServer
 
Method Summary
 java.lang.Class<? extends Struct> getChildClass()
          Returns the allowed Class type for child nodes.
 boolean refreshImpl()
          Refresh implementation.
 java.lang.String toString()
           
 
Methods inherited from class org.iids.aos.gui.structs.HostService
getAgentScapeID
 
Methods inherited from class org.iids.aos.gui.structs.Struct
addChild, allowsChildren, automaticChildShutdown, children, compareTo, contains, equals, find, find, findChild, findStructByPath, findStructByQueue, getAllowsChildren, getCanonicalPath, getChildAt, getChildCount, getChildren, getHost, getIndex, getLocation, getName, getParent, getRoot, getService, getSiblings, getTreePath, getWorld, hasLocalService, hasRemoteService, isExpanded, isLeaf, isShuttingDown, refresh, refresh, removeChild, setExpanded, setName, setParent, setReadOnly, setService, shutdown, subtreeHasLocalService, subtreeIsRefreshing
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, clone, depthFirstEnumeration, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AS_CHILD_CLASS

public static java.lang.Class<? extends Struct> AS_CHILD_CLASS
Constructor Detail

AgentServer

public AgentServer(java.lang.String name,
                   Host parent,
                   AgentServerWrapper asw)
Creates a new instance of AgentServer

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Struct

getChildClass

public java.lang.Class<? extends Struct> getChildClass()
Description copied from class: Struct
Returns the allowed Class type for child nodes. Atttempting to operate the tree with different child nodes may result in an exception (for example @link #addChild).

Overrides:
getChildClass in class HostService

refreshImpl

public boolean refreshImpl()
Description copied from class: Struct
Refresh implementation. Called from the recursive refresh implementation in Struct.refresh(). This makes sure that no duplicate refresh operations are performed (??? is this still needed ??? XXX).

Overrides:
refreshImpl in class HostService
Returns:
true if the tree structure was changed, false otherwise.


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.