cz.cuni.amis.nb.pogamut.base.server
Class ServerDefAgents

Package class diagram package ServerDefAgents
java.lang.Object
  extended by org.openide.nodes.Children
      extended by org.openide.nodes.Children.Array
          extended by org.openide.nodes.Children.Keys<S>
              extended by cz.cuni.amis.nb.util.flag.FlagCollectionChildren<cz.cuni.amis.pogamut.base.server.IWorldServer,cz.cuni.amis.pogamut.base.agent.IAgent>
                  extended by cz.cuni.amis.nb.pogamut.base.server.ServerDefAgents
All Implemented Interfaces:
Cloneable

public abstract class ServerDefAgents
extends FlagCollectionChildren<cz.cuni.amis.pogamut.base.server.IWorldServer,cz.cuni.amis.pogamut.base.agent.IAgent>

Handles collection of agents of the server definition.

Author:
ik

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openide.nodes.Children
org.openide.nodes.Children.Array, org.openide.nodes.Children.Keys<T>, org.openide.nodes.Children.Map<T>, org.openide.nodes.Children.SortedArray, org.openide.nodes.Children.SortedMap<T>
 
Field Summary
 
Fields inherited from class org.openide.nodes.Children.Array
nodes
 
Fields inherited from class org.openide.nodes.Children
LEAF, MUTEX
 
Constructor Summary
ServerDefAgents(ServerDefinition serverDefinition)
           
 
Method Summary
protected  cz.cuni.amis.utils.collections.ObservableCollection<? extends cz.cuni.amis.pogamut.base.agent.IAgent> getCollection(cz.cuni.amis.pogamut.base.server.IWorldServer val)
          Called when the flag value has been changed.
 
Methods inherited from class org.openide.nodes.Children.Keys
add, clone, createNodes, destroyNodes, refreshKey, remove, setBefore, setKeys, setKeys
 
Methods inherited from class org.openide.nodes.Children.Array
initCollection, refresh
 
Methods inherited from class org.openide.nodes.Children
addNotify, create, createLazy, findChild, getNode, getNodeAt, getNodes, getNodes, getNodesCount, getNodesCount, isInitialized, nodes, removeNotify, snapshot
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerDefAgents

public ServerDefAgents(ServerDefinition serverDefinition)
Method Detail

getCollection

protected cz.cuni.amis.utils.collections.ObservableCollection<? extends cz.cuni.amis.pogamut.base.agent.IAgent> getCollection(cz.cuni.amis.pogamut.base.server.IWorldServer val)
Description copied from class: FlagCollectionChildren
Called when the flag value has been changed.

Specified by:
getCollection in class FlagCollectionChildren<cz.cuni.amis.pogamut.base.server.IWorldServer,cz.cuni.amis.pogamut.base.agent.IAgent>


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.