org.pzgui.layout
Interface Vertex<E extends Edge>

Type Parameters:
E - Edge object type
All Superinterfaces:
Drawable, Layoutable
All Known Implementing Classes:
Host, LayoutableIcon, Node, NodeWithPorts, OpenFlowSwitch, SimpleNode, SimpleNodeWithPorts, VirtualOpenFlowSwitch

public interface Vertex<E extends Edge>
extends Drawable, Layoutable

Interface which Vertices must implement in order to be laid out.

Author:
David Underhill

Method Summary
 java.lang.Iterable<E> getEdges()
          Return an iterator over the edges in a Vertex
 
Methods inherited from interface org.pzgui.Drawable
contains, drag, drawBeforeObject, drawObject, isDrawn, isHovered, isSelected, setHovered, setSelected, unsetDrawn
 
Methods inherited from interface org.pzgui.layout.Layoutable
canPositionChange, getHeight, getID, getPos, getWidth, getX, getY, hasPositionChanged, setCanPositionChange, setPos, setXPos, setYPos, unsetPositionChanged
 

Method Detail

getEdges

java.lang.Iterable<E> getEdges()
Return an iterator over the edges in a Vertex