public class InstructionList extends java.lang.Object implements Instruction, InstructionCollection
Constructor and Description |
---|
InstructionList(Swimlane defaultSwimlane) |
Modifier and Type | Method and 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) |
LinkRendering |
getInLinkRendering() |
Instruction |
getLast() |
java.util.Collection<PositionedNote> |
getPositionedNotes() |
Swimlane |
getSwimlaneIn() |
Swimlane |
getSwimlaneOut() |
java.util.Set<Swimlane> |
getSwimlanes() |
static java.util.Set<Swimlane> |
getSwimlanes2(java.util.List<? extends Instruction> list) |
boolean |
hasNotes() |
boolean |
isEmpty() |
boolean |
isOnlySingleStopOrSpot() |
boolean |
kill() |
void |
setOutRendering(LinkRendering outlinkRendering) |
public InstructionList(Swimlane defaultSwimlane)
public boolean containsBreak()
containsBreak
in interface Instruction
public static InstructionList empty()
public boolean isEmpty()
public boolean isOnlySingleStopOrSpot()
public CommandExecutionResult add(Instruction ins)
add
in interface Instruction
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder)
createGtile
in interface Instruction
public Ftile createFtile(FtileFactory factory)
createFtile
in interface Instruction
public final boolean kill()
kill
in interface Instruction
public LinkRendering getInLinkRendering()
getInLinkRendering
in interface Instruction
public Instruction getLast()
getLast
in interface InstructionCollection
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
addNote
in interface Instruction
public java.util.Set<Swimlane> getSwimlanes()
getSwimlanes
in interface Swimable
public Swimlane getSwimlaneIn()
getSwimlaneIn
in interface Swimable
public Swimlane getSwimlaneOut()
getSwimlaneOut
in interface Swimable
public static java.util.Set<Swimlane> getSwimlanes2(java.util.List<? extends Instruction> list)
public void setOutRendering(LinkRendering outlinkRendering)
protected final Ftile eventuallyAddNote(FtileFactory factory, Ftile ftile, Swimlane swimlane)
public java.util.Collection<PositionedNote> getPositionedNotes()
public boolean hasNotes()