Class InstructionList
- java.lang.Object
-
- net.sourceforge.plantuml.activitydiagram3.InstructionList
-
- All Implemented Interfaces:
Swimable
,Instruction
,InstructionCollection
public class InstructionList extends Object implements Instruction, InstructionCollection
-
-
Constructor Summary
Constructors Constructor Description InstructionList(Swimlane defaultSwimlane)
-
Method Summary
All Methods Static 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)
static InstructionList
empty()
protected Ftile
eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)
LinkRendering
getInLinkRendering()
Instruction
getLast()
Collection<PositionedNote>
getPositionedNotes()
Swimlane
getSwimlaneIn()
Swimlane
getSwimlaneOut()
Set<Swimlane>
getSwimlanes()
static Set<Swimlane>
getSwimlanes2(List<? extends Instruction> list)
boolean
hasNotes()
boolean
isEmpty()
boolean
isOnlySingleStopOrSpot()
boolean
kill()
void
setOutRendering(LinkRendering outlinkRendering)
-
-
-
Constructor Detail
-
InstructionList
public InstructionList(Swimlane defaultSwimlane)
-
-
Method Detail
-
containsBreak
public boolean containsBreak()
- Specified by:
containsBreak
in interfaceInstruction
-
empty
public static InstructionList empty()
-
isEmpty
public boolean isEmpty()
-
isOnlySingleStopOrSpot
public boolean isOnlySingleStopOrSpot()
-
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
-
kill
public final boolean kill()
- Specified by:
kill
in interfaceInstruction
-
getInLinkRendering
public LinkRendering getInLinkRendering()
- Specified by:
getInLinkRendering
in interfaceInstruction
-
getLast
public Instruction getLast()
- Specified by:
getLast
in interfaceInstructionCollection
-
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
-
getSwimlanes2
public static Set<Swimlane> getSwimlanes2(List<? extends Instruction> list)
-
setOutRendering
public void setOutRendering(LinkRendering outlinkRendering)
-
eventuallyAddNote
protected final Ftile eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)
-
getPositionedNotes
public Collection<PositionedNote> getPositionedNotes()
-
hasNotes
public boolean hasNotes()
-
-