net.sourceforge.plantuml.abel.CucaNote 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.abel;
import net.sourceforge.plantuml.klimt.color.Colors;
import net.sourceforge.plantuml.klimt.creole.Display;
import net.sourceforge.plantuml.utils.Position;
public class CucaNote {
private final Display display;
private final Position position;
private final Colors colors;
private final NoteLinkStrategy strategy;
private CucaNote(Display display, Position position, Colors colors, NoteLinkStrategy strategy) {
this.display = display;
this.position = position;
this.colors = colors;
this.strategy = strategy;
}
public static CucaNote build(Display display, Position position, Colors colors) {
return new CucaNote(display, position, colors, NoteLinkStrategy.NORMAL);
}
public CucaNote withStrategy(NoteLinkStrategy strategy) {
return new CucaNote(display, position, colors, strategy);
}
public final Display getDisplay() {
return display;
}
public final NoteLinkStrategy getStrategy() {
return strategy;
}
public final Colors getColors() {
return colors;
}
public final Position getPosition() {
return position;
}
}