kieker.webgui.service.impl.utility.model
Class Port
java.lang.Object
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 . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 belongsnode
- the Node
to which the Port
belongsindex
- an integer used for distinguishing ports of a Node
x
- the x-position of the port, relative to the left border of the nodey
- the y-position of the port, relative to the top border of the node
getKielerPort
public de.cau.cs.kieler.core.kgraph.KPort getKielerPort()
getIndex
public int getIndex()
Copyright © 2015. All rights reserved.