public class InstructionList extends WithNote implements Instruction, InstructionCollection
Constructor and Description |
---|
InstructionList() |
InstructionList(Swimlane defaultSwimlane) |
Modifier and Type | Method and Description |
---|---|
void |
add(Instruction ins) |
boolean |
addNote(Display note,
NotePosition position,
NoteType type,
Colors colors,
Swimlane swimlaneNote) |
Ftile |
createFtile(FtileFactory factory) |
LinkRendering |
getInLinkRendering() |
Instruction |
getLast() |
Swimlane |
getSwimlaneIn() |
Swimlane |
getSwimlaneOut() |
java.util.Set<Swimlane> |
getSwimlanes() |
static java.util.Set<Swimlane> |
getSwimlanes2(java.util.List<? extends Instruction> list) |
boolean |
isEmpty() |
boolean |
isOnlySingleStopOrSpot() |
boolean |
kill() |
void |
setOutRendering(LinkRendering outlinkRendering) |
eventuallyAddNote, getPositionedNotes, hasNotes
public InstructionList()
public InstructionList(Swimlane defaultSwimlane)
public boolean isEmpty()
public boolean isOnlySingleStopOrSpot()
public void add(Instruction ins)
add
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
addNote
in class WithNote
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)