1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-05-31 07:30:48 +00:00
plantuml/src/net/sourceforge/plantuml/activitydiagram3/ftile/FtileFactory.java

99 lines
3.6 KiB
Java
Raw Normal View History

2013-12-10 19:36:50 +00:00
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
2019-01-16 18:34:41 +00:00
* (C) Copyright 2009-2020, Arnaud Roques
2013-12-10 19:36:50 +00:00
*
2016-03-06 16:47:34 +00:00
* Project Info: http://plantuml.com
2013-12-10 19:36:50 +00:00
*
2017-03-15 19:13:31 +00:00
* If you like this project or if you find it useful, you can support us at:
*
* http://plantuml.com/patreon (only 1$ per month!)
* http://plantuml.com/paypal
*
2013-12-10 19:36:50 +00:00
* This file is part of PlantUML.
*
* PlantUML is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PlantUML distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
* License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA.
*
*
* Original Author: Arnaud Roques
*
*
*/
package net.sourceforge.plantuml.activitydiagram3.ftile;
2016-07-04 19:06:50 +00:00
import java.util.Collection;
2013-12-10 19:36:50 +00:00
import java.util.List;
2016-06-19 14:16:41 +00:00
import net.sourceforge.plantuml.ISkinParam;
2015-04-07 18:18:37 +00:00
import net.sourceforge.plantuml.Url;
2013-12-10 19:36:50 +00:00
import net.sourceforge.plantuml.activitydiagram3.Branch;
2017-01-21 22:25:28 +00:00
import net.sourceforge.plantuml.activitydiagram3.ForkStyle;
2017-03-12 17:22:02 +00:00
import net.sourceforge.plantuml.activitydiagram3.Instruction;
2013-12-10 19:36:50 +00:00
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
2016-07-04 19:06:50 +00:00
import net.sourceforge.plantuml.activitydiagram3.PositionedNote;
2013-12-10 19:36:50 +00:00
import net.sourceforge.plantuml.cucadiagram.Display;
import net.sourceforge.plantuml.graphic.HtmlColor;
import net.sourceforge.plantuml.graphic.StringBounder;
2018-08-26 12:09:50 +00:00
import net.sourceforge.plantuml.graphic.USymbol;
2015-09-28 20:42:17 +00:00
import net.sourceforge.plantuml.graphic.color.Colors;
2013-12-10 19:36:50 +00:00
2016-06-19 14:16:41 +00:00
public interface FtileFactory {
2013-12-10 19:36:50 +00:00
public StringBounder getStringBounder();
2016-06-19 14:16:41 +00:00
public ISkinParam skinParam();
2013-12-10 19:36:50 +00:00
public Ftile start(Swimlane swimlane);
public Ftile stop(Swimlane swimlane);
2015-06-07 10:23:10 +00:00
public Ftile end(Swimlane swimlane);
2013-12-10 19:36:50 +00:00
2018-01-04 22:32:45 +00:00
public Ftile spot(Swimlane swimlane, String spot);
2015-09-28 20:42:17 +00:00
public Ftile activity(Display label, Swimlane swimlane, BoxStyle style, Colors colors);
2013-12-10 19:36:50 +00:00
2016-07-04 19:06:50 +00:00
public Ftile addNote(Ftile ftile, Swimlane swimlane, Collection<PositionedNote> notes);
2013-12-10 19:36:50 +00:00
2015-04-07 18:18:37 +00:00
public Ftile addUrl(Ftile ftile, Url url);
2013-12-10 19:36:50 +00:00
public Ftile decorateIn(Ftile ftile, LinkRendering linkRendering);
public Ftile decorateOut(Ftile ftile, LinkRendering linkRendering);
public Ftile assembly(Ftile tile1, Ftile tile2);
2018-01-04 22:32:45 +00:00
public Ftile repeat(Swimlane swimlane, Swimlane swimlaneOut, Display startLabel, Ftile repeat, Display test,
Display yes, Display out, HtmlColor color, LinkRendering backRepeatLinkRendering, Ftile backward,
boolean noOut);
2013-12-10 19:36:50 +00:00
public Ftile createWhile(Swimlane swimlane, Ftile whileBlock, Display test, Display yes, Display out,
2017-03-12 17:22:02 +00:00
LinkRendering afterEndwhile, HtmlColor color, Instruction specialOut);
2013-12-10 19:36:50 +00:00
2015-09-28 20:42:17 +00:00
public Ftile createIf(Swimlane swimlane, List<Branch> thens, Branch elseBranch, LinkRendering afterEndwhile,
2019-06-26 19:24:49 +00:00
LinkRendering topInlinkRendering, Url url);
2013-12-10 19:36:50 +00:00
2019-04-21 20:40:01 +00:00
public Ftile createSwitch(Swimlane swimlane, List<Branch> branches, LinkRendering afterEndwhile,
LinkRendering topInlinkRendering, Display labelTest);
2019-08-26 17:07:21 +00:00
public Ftile createParallel(List<Ftile> all, ForkStyle style, String label);
2013-12-10 19:36:50 +00:00
2016-12-01 20:29:25 +00:00
public Ftile createGroup(Ftile list, Display name, HtmlColor backColor, HtmlColor titleColor, PositionedNote note,
2018-11-26 18:46:22 +00:00
HtmlColor borderColor, USymbol type, double roundCorner);
2013-12-10 19:36:50 +00:00
}