org.molwind.view
Class AbstractTopologyManager

java.lang.Object
  extended by org.molwind.view.AbstractTopologyManager
All Implemented Interfaces:
TopologyManager

public abstract class AbstractTopologyManager
extends java.lang.Object
implements TopologyManager

AbstractTopologyManager determines and places visible chemical structures.

Version:
1.0
Author:
Oliver Karch

Constructor Summary
protected AbstractTopologyManager()
          Creates a new topology manager to place chemical entities.
 
Method Summary
 java.util.Iterator getEntityIterator()
          Get the EntityIterator value.
 RelationshipResolver getRelationshipResolver()
          Get the RelationshipResolver value.
abstract  java.util.Iterator getVisibleEntities(LayeredPosition position)
          Determines the visible entities for the given position.
 void setEntityIterator(java.util.Iterator newEntityIterator)
          Set the EntityIterator value.
 void setRelationshipResolver(RelationshipResolver newRelationshipResolver)
          Set the RelationshipResolver value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTopologyManager

protected AbstractTopologyManager()
Creates a new topology manager to place chemical entities.

Method Detail

getEntityIterator

public java.util.Iterator getEntityIterator()
Get the EntityIterator value.

Returns:
the EntityIterator value

setEntityIterator

public void setEntityIterator(java.util.Iterator newEntityIterator)
Set the EntityIterator value.

Specified by:
setEntityIterator in interface TopologyManager
Parameters:
newEntityIterator - the new EntityIterator value

getRelationshipResolver

public RelationshipResolver getRelationshipResolver()
Get the RelationshipResolver value.

Returns:
the RelationshipResolver value

setRelationshipResolver

public void setRelationshipResolver(RelationshipResolver newRelationshipResolver)
Set the RelationshipResolver value.

Specified by:
setRelationshipResolver in interface TopologyManager
Parameters:
newRelationshipResolver - the new RelationshipResolver value

getVisibleEntities

public abstract java.util.Iterator getVisibleEntities(LayeredPosition position)
Determines the visible entities for the given position.

Specified by:
getVisibleEntities in interface TopologyManager
Parameters:
position - the position (longitude/latitude/level)
Returns:
an (possibly empty) iterator of entities


Copyright © 2008-2010. All Rights Reserved.