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,
VerticalAlignment verticalAlignment) |
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 Instructionpublic static InstructionList empty()
public boolean isEmpty()
public boolean isOnlySingleStopOrSpot()
public CommandExecutionResult add(Instruction ins)
add in interface Instructionpublic Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder)
createGtile in interface Instructionpublic Ftile createFtile(FtileFactory factory)
createFtile in interface Instructionpublic final boolean kill()
kill in interface Instructionpublic LinkRendering getInLinkRendering()
getInLinkRendering in interface Instructionpublic Instruction getLast()
getLast in interface InstructionCollectionpublic boolean addNote(Display note, NotePosition position, NoteType type, Colors colors, Swimlane swimlaneNote)
addNote in interface Instructionpublic java.util.Set<Swimlane> getSwimlanes()
getSwimlanes in interface Swimablepublic Swimlane getSwimlaneIn()
getSwimlaneIn in interface Swimablepublic Swimlane getSwimlaneOut()
getSwimlaneOut in interface Swimablepublic 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, VerticalAlignment verticalAlignment)
public java.util.Collection<PositionedNote> getPositionedNotes()
public boolean hasNotes()