uchicago.src.sim.gui
Interface DrawableNonGridNode

All Superinterfaces:
NonGridDrawable
All Known Implementing Classes:
AsynchAgent, Births, Boss, Boss, Boss, Competitor, Consultant, Consultant, Consultant, DeathMultiplier, Deaths, DefaultDrawableNode, Employee, Employee, Employee, HyperCell, JainNode, JiggleNode, JinGirNewNode, Judge, OvalNode, PopulationDensity, RabbitPopulation, RectNode, Stapler, TrainedEmployee

public interface DrawableNonGridNode
extends NonGridDrawable

Interface for a drawable 2 dimensional "node." This does not implement the Node interface so that network models can be visualized without using RePast's Node / Edge architecture.

Nodes to be displayed in a Network2DDisplay should implement this interface.

Version:
$Revision: 1.9 $ $Date: 2004/11/03 19:50:59 $
Author:
Nick Collier

Method Summary
 void calcSize(SimGraphics g)
           
 java.util.ArrayList getOutEdges()
          Gets the list of out-going edges from this node.
 void setX(double x)
          Sets the x coordinate for this node.
 void setY(double y)
          Sets the y coordinate for this node.
 
Methods inherited from interface uchicago.src.sim.gui.NonGridDrawable
contains, draw, getHeight, getWidth, getX, getY
 

Method Detail

getOutEdges

java.util.ArrayList getOutEdges()
Gets the list of out-going edges from this node.


calcSize

void calcSize(SimGraphics g)

setX

void setX(double x)
Sets the x coordinate for this node. Used by GraphLayouts.


setY

void setY(double y)
Sets the y coordinate for this node. Used by GraphLayouts.