Class InstructionFork
- java.lang.Object
-
- net.sourceforge.plantuml.activitydiagram3.InstructionFork
-
- All Implemented Interfaces:
Swimable
,Instruction
public class InstructionFork extends Object implements Instruction
-
-
Constructor Summary
Constructors Constructor Description InstructionFork(Instruction parent, LinkRendering inlinkRendering, ISkinParam skinParam, Swimlane swimlane)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandExecutionResult
add(Instruction ins)
boolean
addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
boolean
containsBreak()
Ftile
createFtile(FtileFactory factory)
Gtile
createGtile(ISkinParam skinParam, StringBounder stringBounder)
protected Ftile
eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)
void
forkAgain(Swimlane swimlane)
LinkRendering
getInLinkRendering()
Instruction
getParent()
Collection<PositionedNote>
getPositionedNotes()
Swimlane
getSwimlaneIn()
Swimlane
getSwimlaneOut()
Set<Swimlane>
getSwimlanes()
boolean
hasNotes()
boolean
kill()
void
manageOutRendering(LinkRendering nextLinkRenderer, boolean endFork)
void
setStyle(ForkStyle style, String label, Swimlane swimlane)
-
-
-
Constructor Detail
-
InstructionFork
public InstructionFork(Instruction parent, LinkRendering inlinkRendering, ISkinParam skinParam, Swimlane swimlane)
-
-
Method Detail
-
containsBreak
public boolean containsBreak()
- Specified by:
containsBreak
in interfaceInstruction
-
add
public CommandExecutionResult add(Instruction ins)
- Specified by:
add
in interfaceInstruction
-
createGtile
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder)
- Specified by:
createGtile
in interfaceInstruction
-
createFtile
public Ftile createFtile(FtileFactory factory)
- Specified by:
createFtile
in interfaceInstruction
-
getParent
public Instruction getParent()
-
forkAgain
public void forkAgain(Swimlane swimlane)
-
kill
public final boolean kill()
- Specified by:
kill
in interfaceInstruction
-
getInLinkRendering
public LinkRendering getInLinkRendering()
- Specified by:
getInLinkRendering
in interfaceInstruction
-
addNote
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
- Specified by:
addNote
in interfaceInstruction
-
getSwimlanes
public Set<Swimlane> getSwimlanes()
- Specified by:
getSwimlanes
in interfaceSwimable
-
getSwimlaneIn
public Swimlane getSwimlaneIn()
- Specified by:
getSwimlaneIn
in interfaceSwimable
-
getSwimlaneOut
public Swimlane getSwimlaneOut()
- Specified by:
getSwimlaneOut
in interfaceSwimable
-
manageOutRendering
public void manageOutRendering(LinkRendering nextLinkRenderer, boolean endFork)
-
eventuallyAddNote
protected final Ftile eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)
-
getPositionedNotes
public Collection<PositionedNote> getPositionedNotes()
-
hasNotes
public boolean hasNotes()
-
-