Class TimeConstraint
- java.lang.Object
-
- net.sourceforge.plantuml.timingdiagram.TimeConstraint
-
public class TimeConstraint extends Object
-
-
Constructor Summary
Constructors Constructor Description TimeConstraint(double marginx, TimeTick tick1, TimeTick tick2, String label, ISkinParam skinParam, ArrowConfiguration config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsStrict(TimeTick other)
void
drawU(UGraphic ug, TimingRuler ruler)
double
getConstraintHeight(StringBounder stringBounder)
static double
getHeightForConstraints(StringBounder stringBounder, List<TimeConstraint> constraints)
Display
getLabel()
TimeTick
getTick1()
TimeTick
getTick2()
static double
getTopMargin()
-
-
-
Constructor Detail
-
TimeConstraint
public TimeConstraint(double marginx, TimeTick tick1, TimeTick tick2, String label, ISkinParam skinParam, ArrowConfiguration config)
-
-
Method Detail
-
containsStrict
public final boolean containsStrict(TimeTick other)
-
getTick1
public final TimeTick getTick1()
-
getTick2
public final TimeTick getTick2()
-
getLabel
public final Display getLabel()
-
drawU
public void drawU(UGraphic ug, TimingRuler ruler)
-
getConstraintHeight
public double getConstraintHeight(StringBounder stringBounder)
-
getTopMargin
public static double getTopMargin()
-
getHeightForConstraints
public static double getHeightForConstraints(StringBounder stringBounder, List<TimeConstraint> constraints)
-
-