ptolemy.vergil.actor
Class ActorController.EntityLayout
java.lang.Object
diva.graph.layout.AbstractGlobalLayout
ptolemy.vergil.actor.ActorController.EntityLayout
- All Implemented Interfaces:
- GlobalLayout
- Enclosing class:
- ActorController
public class ActorController.EntityLayout
- extends AbstractGlobalLayout
This layout algorithm is responsible for laying out the ports within an
entity.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActorController.EntityLayout
public ActorController.EntityLayout()
- Create a new layout manager.
layout
public void layout(java.lang.Object node)
- Layout the ports of the specified node.
- Specified by:
layout
in interface GlobalLayout
- Specified by:
layout
in class AbstractGlobalLayout
- Parameters:
node
- The node, which is assumed to be an entity.
_reOrderPorts
private void _reOrderPorts(java.util.Vector ports)
_placePortFigures
private void _placePortFigures(CompositeFigure figure,
java.util.List portList,
int direction)