public class InstructionIf extends WithNote implements Instruction, InstructionCollection
Constructor and Description |
---|
InstructionIf(Swimlane swimlane,
Instruction parent,
Display labelTest,
Display whenThen,
LinkRendering inlinkRendering,
HtmlColor color,
ISkinParam skinParam) |
Modifier and Type | Method and Description |
---|---|
void |
add(Instruction ins) |
boolean |
addNote(Display note,
NotePosition position,
NoteType type,
Colors colors) |
void |
afterEndwhile(LinkRendering linkRenderer) |
Ftile |
createFtile(FtileFactory factory) |
boolean |
elseIf(Display inlabel,
Display test,
Display whenThen,
LinkRendering nextLinkRenderer,
HtmlColor color) |
void |
endif(LinkRendering nextLinkRenderer) |
LinkRendering |
getInLinkRendering() |
Instruction |
getLast() |
Instruction |
getParent() |
Swimlane |
getSwimlaneIn() |
Swimlane |
getSwimlaneOut() |
Set<Swimlane> |
getSwimlanes() |
boolean |
kill() |
boolean |
swithToElse2(Display whenElse,
LinkRendering nextLinkRenderer) |
eventuallyAddNote, getPositionedNotes, hasNotes
public InstructionIf(Swimlane swimlane, Instruction parent, Display labelTest, Display whenThen, LinkRendering inlinkRendering, HtmlColor color, ISkinParam skinParam)
public void add(Instruction ins)
add
in interface Instruction
public Ftile createFtile(FtileFactory factory)
createFtile
in interface Instruction
public Instruction getParent()
public boolean swithToElse2(Display whenElse, LinkRendering nextLinkRenderer)
public boolean elseIf(Display inlabel, Display test, Display whenThen, LinkRendering nextLinkRenderer, HtmlColor color)
public void endif(LinkRendering nextLinkRenderer)
public final boolean kill()
kill
in interface Instruction
public LinkRendering getInLinkRendering()
getInLinkRendering
in interface Instruction
public boolean addNote(Display note, NotePosition position, NoteType type, Colors colors)
addNote
in interface Instruction
addNote
in class WithNote
public Set<Swimlane> getSwimlanes()
getSwimlanes
in interface Swimable
public Swimlane getSwimlaneIn()
getSwimlaneIn
in interface Swimable
public Swimlane getSwimlaneOut()
getSwimlaneOut
in interface Swimable
public Instruction getLast()
getLast
in interface InstructionCollection
public void afterEndwhile(LinkRendering linkRenderer)
Copyright © 2017. All Rights Reserved.