Package net.sourceforge.plantuml.svek
Class PortGeometry
java.lang.Object
net.sourceforge.plantuml.svek.PortGeometry
- All Implemented Interfaces:
java.lang.Comparable<PortGeometry>
public final class PortGeometry
extends java.lang.Object
implements java.lang.Comparable<PortGeometry>
-
Constructor Summary
ConstructorsConstructorDescriptionPortGeometry
(java.lang.String id, double position, double height, int score) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(PortGeometry other) double
java.lang.String
getId()
double
getLastY()
double
int
getScore()
java.lang.String
toString()
translateY
(double deltaY) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
PortGeometry
public PortGeometry(java.lang.String id, double position, double height, int score)
-
-
Method Details
-
translateY
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getHeight
public double getHeight() -
getPosition
public double getPosition() -
getLastY
public double getLastY() -
getScore
public int getScore() -
getId
public java.lang.String getId() -
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<PortGeometry>
-