net.sourceforge.plantuml.sequencediagram.teoz.NewpageTile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.sequencediagram.teoz;
import net.sourceforge.plantuml.klimt.drawing.UGraphic;
import net.sourceforge.plantuml.real.Real;
import net.sourceforge.plantuml.sequencediagram.Event;
import net.sourceforge.plantuml.sequencediagram.Newpage;
public class NewpageTile extends AbstractTile {
private final Newpage newpage;
private final TileArguments tileArguments;
@Override
public double getContactPointRelative() {
return 0;
}
public NewpageTile(Newpage newpage, TileArguments tileArguments, YGauge currentY) {
super(tileArguments.getStringBounder(), currentY);
this.newpage = newpage;
this.tileArguments = tileArguments;
}
public void drawU(UGraphic ug) {
}
public double getPreferredHeight() {
return 0;
}
public void addConstraints() {
}
public Real getMinX() {
return tileArguments.getXOrigin();
}
public Real getMaxX() {
return tileArguments.getXOrigin();
}
public Event getEvent() {
return newpage;
}
}