kieker.webgui.service.impl.utility.model
Class Port

java.lang.Object
  extended by kieker.webgui.service.impl.utility.model.Port

public class Port
extends Object

Objects of this class represent a single Port of a Node. A KPort is referenced and is used for the Kieler layout algorithm.

Author:
Robin Weiss, Florian Fittkau

Constructor Summary
Port(Graph graph, Node node, int index, int x, int y)
          Constructor for Port.
 
Method Summary
 int getIndex()
           
 de.cau.cs.kieler.core.kgraph.KPort getKielerPort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Port

public Port(Graph graph,
            Node node,
            int index,
            int x,
            int y)
Constructor for Port. Assigns the Port to a Node and creates a KPort out of the given information.

Parameters:
graph - the Graph to which the node belongs
node - the Node to which the Port belongs
index - an integer used for distinguishing ports of a Node
x - the x-position of the port, relative to the left border of the node
y - the y-position of the port, relative to the top border of the node
Method Detail

getKielerPort

public de.cau.cs.kieler.core.kgraph.KPort getKielerPort()

getIndex

public int getIndex()


Copyright © 2015. All rights reserved.