All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.plantuml.abel.CucaNote Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
// 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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy