org.iids.aos.gui.structs
Class HostService

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
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
AgentServer

public class HostService
extends Struct

Author:
rjtimmer
See Also:
Serialized Form

Field Summary
static java.lang.Class<? extends Struct> 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
HostService(java.lang.String name, Host parent, ServiceWrapper sw)
           
 
Method Summary
 AgentScapeID getAgentScapeID()
           
 java.lang.Class<? extends Struct> getChildClass()
          Returns the allowed Class type for child nodes.
 boolean refreshImpl()
          Refresh implementation.
 
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, toString
 
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

CHILD_CLASS

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

HostService

public HostService(java.lang.String name,
                   Host parent,
                   ServiceWrapper sw)
Method Detail

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).

Specified by:
getChildClass in class Struct

getAgentScapeID

public AgentScapeID getAgentScapeID()

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).

Specified by:
refreshImpl in class Struct
Returns:
true if the tree structure was changed, false otherwise.


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