Class InstructionList
- java.lang.Object
-
- net.sourceforge.plantuml.activitydiagram3.InstructionList
-
- All Implemented Interfaces:
Swimable,Instruction,InstructionCollection
public class InstructionList extends java.lang.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 CommandExecutionResultadd(Instruction ins)booleanaddNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)booleancontainsBreak()FtilecreateFtile(FtileFactory factory)GtilecreateGtile(ISkinParam skinParam, StringBounder stringBounder)static InstructionListempty()protected FtileeventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane, VerticalAlignment verticalAlignment)LinkRenderinggetInLinkRendering()InstructiongetLast()java.util.Collection<PositionedNote>getPositionedNotes()SwimlanegetSwimlaneIn()SwimlanegetSwimlaneOut()java.util.Set<Swimlane>getSwimlanes()static java.util.Set<Swimlane>getSwimlanes2(java.util.List<? extends Instruction> list)booleanhasNotes()booleanisEmpty()booleanisOnlySingleStopOrSpot()booleankill()voidsetOutRendering(LinkRendering outlinkRendering)
-
-
-
Constructor Detail
-
InstructionList
public InstructionList(Swimlane defaultSwimlane)
-
-
Method Detail
-
containsBreak
public boolean containsBreak()
- Specified by:
containsBreakin interfaceInstruction
-
empty
public static InstructionList empty()
-
isEmpty
public boolean isEmpty()
-
isOnlySingleStopOrSpot
public boolean isOnlySingleStopOrSpot()
-
add
public CommandExecutionResult add(Instruction ins)
- Specified by:
addin interfaceInstruction
-
createGtile
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder)
- Specified by:
createGtilein interfaceInstruction
-
createFtile
public Ftile createFtile(FtileFactory factory)
- Specified by:
createFtilein interfaceInstruction
-
kill
public final boolean kill()
- Specified by:
killin interfaceInstruction
-
getInLinkRendering
public LinkRendering getInLinkRendering()
- Specified by:
getInLinkRenderingin interfaceInstruction
-
getLast
public Instruction getLast()
- Specified by:
getLastin interfaceInstructionCollection
-
addNote
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
- Specified by:
addNotein interfaceInstruction
-
getSwimlanes
public java.util.Set<Swimlane> getSwimlanes()
- Specified by:
getSwimlanesin interfaceSwimable
-
getSwimlaneIn
public Swimlane getSwimlaneIn()
- Specified by:
getSwimlaneInin interfaceSwimable
-
getSwimlaneOut
public Swimlane getSwimlaneOut()
- Specified by:
getSwimlaneOutin interfaceSwimable
-
getSwimlanes2
public static java.util.Set<Swimlane> getSwimlanes2(java.util.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 java.util.Collection<PositionedNote> getPositionedNotes()
-
hasNotes
public boolean hasNotes()
-
-